Date: Wed, 26 May 1999 21:57:00 +0000 (GMT) From: Bernhard Rosenkraenzer To: pgcc AT delorie DOT com Subject: Odd pgcc 19990517 parsing bug Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: pgcc AT delorie DOT com 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 41 #endif So apparently 0 || 0 || 0 || 0 == 1 Seems the pentiumpro bug can occur in "normal" pentium mode under certain circumstances. LLaP bero