gcc 2.95.2 error building linux/ppc on a linux/ppc host

Cort Dougan cort@fsmlabs.com
Sat Feb 19 19:03:00 GMT 2000


A build of linux/ppc 64-bit (hosted on a 32-bit linux/ppc system, same
error with a 32-bit target, too) gives me an internal gcc error.  I've
attached the file process.i (compressed). 

The command line was in question was:

gcc -D__KERNEL__ -I/sys/linuxppc_2_3/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char
-msoft-float -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple
-mstring -Wa,-mppc64bridge    -c -o process.o process.c

The info on the system:

Reading specs from /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)
cort@medea<linuxppc_2_3>$ uname -a
Linux medea.fsmlabs.com 2.2.15pre4 #12 SMP Thu Jan 27 17:21:06 MST 2000 ppc unknown

The text of the error:

make[1]: Entering directory `/sys/linuxppc_2_3/arch/ppc/kernel'
gcc -D__KERNEL__ -I/sys/linuxppc_2_3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -msoft-float -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -Wa,-mppc64bridge    -c -o process.o process.c
In file included from /sys/linuxppc_2_3/include/linux/capability.h:13,
                 from /sys/linuxppc_2_3/include/linux/binfmts.h:5,
                 from /sys/linuxppc_2_3/include/linux/sched.h:8,
                 from process.c:24:
/sys/linuxppc_2_3/include/linux/fs.h: In function `locks_verify_truncate':
/sys/linuxppc_2_3/include/linux/fs.h:755: warning: implicit declaration of function `abs'
process.c: At top level:
process.c:57: Internal compiler error in `add_pending_init', at c-typeck.c:5867
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
cpp: output pipe has been closed
make[1]: *** [process.o] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: process.i.bz2
Type: application/x-bzip2
Size: 47611 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000219/84dbba3e/attachment.bz2>


More information about the Gcc-bugs mailing list