This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-20000424 bootstrap fails under Linux with empty object-like macro
- To: gcc-bugs at gcc dot gnu dot org, william at nscs dot fast dot net
- Subject: egcs-20000424 bootstrap fails under Linux with empty object-like macro
- From: William Bader <william at nscs dot fast dot net>
- Date: Tue, 25 Apr 2000 14:32:53 EDT
Under SuSE 6.2 Linux (2.2.12 kernel, gcc is egcs-2.91.66), the egcs-20000424
bootstrap fails with the messages below about whitespace after #defines
and empty object-like macros.
mv -f cplib2.new cplib2.txt
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
echo ${name}; \
./xgcc -B/usr/local/i686-pc-linux-gnu/bin/ -B./ -isystem /usr/local/i686-pc-linux-gnu/include -O2 -DIN_GCC -g -W -Wall -Wtraditional -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/u/gnu/egcs-20000424/gcc -I/u/gnu/egcs-20000424/gcc/config -I/u/gnu/egcs-20000424/gcc/../include -c -DL${name} \
/u/gnu/egcs-20000424/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
` if [ -f /home/gnu/egcs-20000424/objdirLingcc/gcc/../binutils/ar ] ; then echo /home/gnu/egcs-20000424/objdirLingcc/gcc/../binutils/ar ; else if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ar; else t='s,^,i686-pc-linux-gnu-,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
<command line>: warning: The C standard requires whitespace after #define __GNUC__
...
<command line>: warning: The C standard requires whitespace after #define L_muldi3
In file included from tconfig.h:3,
from /u/gnu/egcs-20000424/gcc/libgcc2.c:34:
/u/gnu/egcs-20000424/gcc/gansidecl.h:26:23: warning: The C standard requires whitespace after #define __GANSIDECL_H__
/u/gnu/egcs-20000424/gcc/gansidecl.h:26:23: internal error: empty object-like macro went through full #define
In file included from /u/gnu/egcs-20000424/gcc/gansidecl.h:28,
from tconfig.h:3,
from /u/gnu/egcs-20000424/gcc/libgcc2.c:34:
/u/gnu/egcs-20000424/include/ansidecl.h:89:21: warning: The C standard requires whitespace after #define _ANSIDECL_H
...
/u/gnu/egcs-20000424/gcc/libgcc2.c:1039:25: warning: The C standard requires whitespace after #define DFtype
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/home/gnu/egcs-20000424/objdirLingcc/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/gnu/egcs-20000424/objdirLingcc/gcc'
make: *** [bootstrap] Error 2