Subject: Re: f'up to: building -current fails on powerpc
To: Christian Groessler <>
From: Nathan J. Williams <>
List: current-users
Date: 01/28/2003 09:18:53
Christian Groessler <> writes:

> $ c++ -static x.C -o xxxs
> /usr/lib/crt0.o: In function `_start':
> /usr/lib/crt0.o(.text+0xd8): undefined reference to `_init'
> /usr/lib/crt0.o(.got2+0x10): undefined reference to `_fini'
> collect2: ld returned 1 exit status
> $ 

You need both of (1) new crt* files (from src/lib/csu) and (2) a new
toolchain to use them. It looks like you got one but not the
other. "make MKMAN=no" in src/gnu/usr.bin/gcc and the couple of gnu
libs that gcc needs should get you back on your feet, at least far
enough to kick off a without having the toolchain-built groff

        - Nathan