problem building 64-bit gcc

Chris Friesen cfriesen at nortelnetworks.com
Thu Apr 29 06:41:26 EST 2004


I built the 04/04/28 release of binutils for ppc64 using the recommended config options, installed
it, and used the suggested script to create the symlinks.

I then got the cvs hammer release of gcc as suggested on the 3.3 tree of the amodra ftp site.

When I tried to build gcc (using the recommended config options), it died with the following error:



make[2]: Entering directory `/ncgl/cfriesen/tools/gcc/gcc'
for d in libgcc; do \
   if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/ncgl/cfriesen/tools/gcc/gcc/xgcc -B/ncgl/cfriesen/tools/gcc/gcc/ -B/opt/ppc64/powerpc64-linux/bin/
-B/opt/ppc64/powerpc64-linux/lib/ -isystem /opt/ppc64/powerpc64-linux/include -O2  -DIN_GCC
-DCROSS_COMPILE -DNATIVE_CROSS   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include  -mno-minimal-toc -fPIC -mlong-double-128 -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include  -fPIC
-mstrict-align -DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:23,
                  from libgcc2.c:36:
config/rs6000/linux64.h:588:20: signal.h: No such file or directory
config/rs6000/linux64.h:590:26: sys/ucontext.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/ncgl/cfriesen/tools/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/ncgl/cfriesen/tools/gcc/gcc'
make: *** [all-gcc] Error 2




I'm suspicious about the "-isystem /opt/ppc64/powerpc64-linux/include" part.  That directory doesn't
actually exist, so why is it trying to use it?

Chris

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list