Subject: gcc3.3 for ppc -- testable?
To: None <tech-toolchain@NetBSD.org>
From: M L Riechers <mlr@rse.com>
List: tech-toolchain
Date: 08/21/2003 19:29:45
Well, I just tried to compile current (as of 16 Aug) tools for
powerpc, gcc 3.3, as in a force like:

export USE_TOOLS_TOOLCHAIN=no; build.sh

It seems that ppc-asm.h is not available in or about the
src/tools/gcc/obj.someppc/build/gcc include library, so that when
src/tools//gcc/obj.someppc/build/gcc/crtsavres.S is assembled, it
fails on the ppc-asm.h include:

/usr/local/src/usr/src/tools/gcc/obj.mpc823/build/gcc/xgcc
-B/usr/local/src/usr/src/tools/gcc/obj.mpc823/build/gcc/
-B/usr/local/src/1.5Wmpc823tools/powerpc--netbsd/bin/
-B/usr/local/src/1.5Wmpc823tools/powerpc--netbsd/lib/ -isystem
/usr/local/src/1.5Wmpc823tools/powerpc--netbsd/include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include
-I. -I. -I/usr/local/src/usr/src/tools/gcc/../../gnu/dist/gcc/gcc
-I/usr/local/src/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/.
-I/usr/local/src/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/config
-I/usr/local/src/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/../include
-g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fPIC -msdata=none -c crtsavres.S -o
crtsavres.o

crtsavres.S:42:29: ppc-asm.h: No such file or directory
*** Error code 1

Stop.


What can I do to help the gcc 3.3 integration into current for
powerpc, or to test?  A guide, maybe? Or is it not yet Prime Time for
powerpc?

(for the record, this was the actual command I used to generate that:)

nohup sh -c 'date; export USE_TOOLS_TOOLCHAIN=no; export NOGCCERROR=1;
export DESTDIR=/usr/local/src/dest-for-mpc823; export MKSOFTFLOAT=yes;
export LOCALTIME=US/Eastern;
./build.sh -m mpc823 -T /usr/local/src/1.5Wmpc823tools 
-R /usr/local/src/tar_files-1.6W-release-for-mpc823 release ; date' &

(after suitably hacking build.sh, of course.)

Best Regards,

-Mike