[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    cross compiling powerpc current fails in libgcc3 still
From:       Derek God3 <derek0godfrey () netscape ! net>
Date:       2003-08-29 3:49:30
[Download RAW message or body]

Build of gnu/lib/libgcc3 fails to "make depend" (Aug 27, Aug28) when
building on i386-netbsd for powerpc-netbsd.

nbmake: Graph cycles through tramp.S
CC=/usr/trpzdp/NetBSD/tools/bin/powerpc--netbsd-gcc 
/usr/trpzdp/NetBSD/tools/bin/nbmkdep -f unwind-c.d    
-I/usr/trpzdp/NetBSD/usr/src/gnu/lib/libgcc3 
-I/usr/trpzdp/NetBSD/usr/src/gnu/usr.bin/gcc3/arch/po ...
.... D/ppc/usr/include   
/usr/trpzdp/NetBSD/usr/src/gnu/dist/gcc/gcc/unwind-dw2-fde.c
In file included from 
/usr/trpzdp/NetBSD/usr/src/gnu/dist/gcc/gcc/unwind-dw2-fde.c:39:
/usr/trpzdp/NetBSD/usr/src/gnu/dist/gcc/gcc/gthr.h:98:26: 
gthr-default.h: No such file or directory
nbmkdep: compile failed.
*** Error code 1

apparently powerpc.mk includes:
G_LIB2ADD=tramp.S
and
-DHAVE_GTHR_DEFAULT
but the config in gnu/dist/gcc/gcc fails to build these.
(this all  in freshly cvs populated build tree)

removing both from powerpc.mk seems to make it happier.

-Derek


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic