Subject: building -current fails on powerpc
To: None <>
From: Christian Groessler <>
List: current-users
Date: 01/28/2003 11:47:48

build aborts when configuring for groff. The following c++ test
program fails:

#ifdef __cplusplus
extern "C" void exit(int);

extern "C" {
  void _exit(int);
int i;
struct A {
  char dummy;
  A() { i = 1; }
  ~A() { if (i == 1) _exit(0); }
A a;
int main() { return 1; }

$ c++ x.C -o xxx
/usr/lib/ warning: reference to compatibility vfork(); include <unistd.h> for correct reference
$ ./xxx
$ echo $?

I've tried updating ld.elf_so and the startup files (libc itself is
already new from the aborted -current build), but it still fails.

This is on a macppc dual cpu machine.

How can I fix it?