Mail Archives: pgcc/1999/05/26/16:41:11
While trying to compile pgcc from current CVS on Linux 2.2/glibc 2.1.1, I
get
/usr/src/RPM/BUILD/pgcc/gcc/xgcc -B/usr/src/RPM/BUILD/pgcc/gcc/
-B/usr/i586-pc-linux-gnu/bin/ -DIN_GCC -DHAIFA -O2 -mpentium
-march=pentium -fomit-frame-pointer -ffast-math -fexpensive-optimizations
-I./include -O2 -I. -I. -I./config -I./../include \
-aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c
In file included from SYSCALLS.c:86:
include/stddef.h:40: machine/ansi.h: No such file or directory
make[1]: *** [SYSCALLS.c.X] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/pgcc/gcc'
make: *** [all-gcc] Error 2
Where I have modified stddef.h to trace the bug. The relevant lines of
the stddef.h generating this message are
27 #ifdef __BSD_NET2__
28 #error BSDNET2
29 #endif
30 #ifdef ____386BSD____
31 #error 386BSD
32 #endif
33 #ifdef __FreeBSD__
34 #error FreeBSD
35 #endif
36 #ifdef __NetBSD__
37 #error NetBSD
38 #endif
39 #if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined (__NetBSD__)
40 #include <machine/ansi.h>
41 #endif
So apparently 0 || 0 || 0 || 0 == 1
Seems the pentiumpro bug can occur in "normal" pentium mode under certain
circumstances.
LLaP
bero
- Raw text -