Bootstrap 4.0 apple-ppc
Ed Smith-Rowland
3dw4rd@verizon.net
Mon Nov 29 13:45:00 GMT 2004
I tried to bootstrap the last two snapshots and cvs all with the same
result:
Making all in src
/bin/sh ../libtool --tag CXX --mode=link /Users/ed/obj-4.0.0/gcc/xgcc
-shared-libgcc -B/Users/ed/obj-4.0.0/gcc/ -nostdinc++
-L/Users/ed/obj-4.0.0/powerpc-apple-darwin7.6.0/libstdc++-v3/src
-L/Users/ed/obj-4.0.0/powerpc-apple-darwin7.6.0/libstdc++-v3/src/.libs
-B/Users/ed/gcc-4.0.0/powerpc-apple-darwin7.6.0/bin/
-B/Users/ed/gcc-4.0.0/powerpc-apple-darwin7.6.0/lib/ -isystem
/Users/ed/gcc-4.0.0/powerpc-apple-darwin7.6.0/include -isystem
/Users/ed/gcc-4.0.0/powerpc-apple-darwin7.6.0/sys-include -Wl,-single_module
...
...
...
ld: .libs/libstdc++.lax/libsupc++convenience.a/tinfo2.o malformed
object, illegal reference for -dynamic code (reference to a coalesced
section (__TEXT,__textcoal_nt) from section (__TEXT,__eh_frame)
relocation entry (12)) /usr/bin/libtool: internal link edit command
failed make[4]: *** [libstdc++.la] Error 1 make[3]: *** [all-recursive]
Error 1 make[2]: *** [all] Error 2 make[1]: ***
[all-target-libstdc++-v3] Error 2 make: *** [bootstrap] Error 2
I put in bug 18627 but this was judged a duplicate of 18142 and I was
referred to a patch:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01222.html
to cctools from Apple.
When I installed the dmg file not only did it not fix the 4.0 bootstrap
but I was not able to use my XCode-1.5 compiler either!
Then I downloaded the source and tried to build a new cctools and was
not able to build cctools:
cc -g -I.. -I../../include -I. -Wall -Wno-long-double -no-cpp-precomp
-DINTERIM_PPC64
-I/System/Library/Frameworks/System.framework/PrivateHeaders -DRLD -DKLD
-O -c -MD \
-dependency-file ./layout.d -o ./layout.o ../layout.c
In file included from ../layout.c:54:
../../include/mach-o/rld.h:30:29: streams/streams.h: No such file or
directory
In file included from ../layout.c:54:
../../include/mach-o/rld.h:34: error: parse error before '*' token
../../include/mach-o/rld.h:40: error: parse error before '*' token
../../include/mach-o/rld.h:48: error: parse error before '*' token
../../include/mach-o/rld.h:51: error: parse error before '*' token
../../include/mach-o/rld.h:56: error: parse error before '*' token
../../include/mach-o/rld.h:60: error: parse error before '*' token
../../include/mach-o/rld.h:64: error: parse error before '*' token
../../include/mach-o/rld.h:71: error: parse error before '*' token
../layout.c:55:29: streams/streams.h: No such file or directory
make[2]: *** [layout.o] Error 1
make[1]: *** [kld_build] Error 2
make: *** [all] Error 1
I'm going NUTS here!!!
Did I screw up my gcc? I did a reinstall of XCode-1.5 and got things
back to where they were.
Who owns cctools? Who should I talk to about these problems with
cctools? Apple?
I want to help with gcc-4.0.0.
Ed
More information about the Gcc-help
mailing list