public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Bootstrap 4.0 apple-ppc
@ 2004-11-29 13:45 Ed Smith-Rowland
  0 siblings, 0 replies; 3+ messages in thread
From: Ed Smith-Rowland @ 2004-11-29 13:45 UTC (permalink / raw)
  To: gcc-help

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bootstrap 4.0 apple-ppc
  2004-11-20  0:08 tegtmeye
@ 2004-11-20  2:36 ` Daniel Berlin
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Berlin @ 2004-11-20  2:36 UTC (permalink / raw)
  To: tegtmeye; +Cc: gcc-help

On Fri, 19 Nov 2004, tegtmeye wrote:

> Hello, been away from bleeding edge gcc lately-forgive me if this has been 
> answered n times before,
>
> Latest snapshot for 4.0 (gcc-4.0-20041114) fails bootstrap with linkage 
> errors for apple-ppc.
>
> (many more)
> 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


You need to install a new cctools, available from 
ftp://sources.redhat.com/pub/gcc/infrastructure (in both bz2 and dmg 
format)

This is explained in the install instructions.
--Dan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Bootstrap 4.0 apple-ppc
@ 2004-11-20  0:08 tegtmeye
  2004-11-20  2:36 ` Daniel Berlin
  0 siblings, 1 reply; 3+ messages in thread
From: tegtmeye @ 2004-11-20  0:08 UTC (permalink / raw)
  To: gcc-help

Hello, been away from bleeding edge gcc lately-forgive me if this has 
been answered n times before,

Latest snapshot for 4.0 (gcc-4.0-20041114) fails bootstrap with linkage 
errors for apple-ppc.

(many more)
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

Is this a know problem? If I try configuring with --disable-shared it 
fails with:

  /usr/bin/ld: can't locate file for: -lgcc_eh

Has anyone successfully built the latest version of 4 on PPC? (or any 
stable snapshot with tree-ssa)?

Thanks in advance,
Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-29 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-29 13:45 Bootstrap 4.0 apple-ppc Ed Smith-Rowland
  -- strict thread matches above, loose matches on Subject: below --
2004-11-20  0:08 tegtmeye
2004-11-20  2:36 ` Daniel Berlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).