This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

process.i.bz2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]