This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH INSTALLED]: Poison PARAMS in system.h
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 08 Apr 2005 01:45:14 -0400
- Subject: Re: [PATCH INSTALLED]: Poison PARAMS in system.h
- References: <200504080108.j3818cdX026559@caip.rutgers.edu>
This patch has broken bootstrap on AIX. Just because GCC does not
use PARAMS does not mean that system headers do not use it
David
gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -I. -I. -I/farm/dje/src/src/gcc -I/farm/dje/src/src/gcc/. -I/farm/dje/src/src/gcc/../include -I/farm/dje/src/src/gcc/../libcpp/include -I/farm/dje/include -I/farm/dje/include /farm/dje/src/src/gcc/pretty-print.c -o pretty-print.o
In file included from /farm/dje/src/src/gcc/intl.h:31,
from /farm/dje/src/src/gcc/pretty-print.c:27:
/usr/include/libintl.h:44:9: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:59:22: attempt to use poisoned "PARAMS"
In file included from /farm/dje/src/src/gcc/intl.h:31,
from /farm/dje/src/src/gcc/pretty-print.c:27:
/usr/include/libintl.h:59: parse error before "PARAMS"
/usr/include/libintl.h:63:23: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:63: parse error before "PARAMS"
/usr/include/libintl.h:67:24: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:67: parse error before "PARAMS"
/usr/include/libintl.h:73:23: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:73: parse error before "PARAMS"
/usr/include/libintl.h:78:24: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:78: parse error before "PARAMS"
/usr/include/libintl.h:83:25: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:83: parse error before "PARAMS"
/usr/include/libintl.h:91:25: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:91: parse error before "PARAMS"
/usr/include/libintl.h:95:29: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:95: parse error before "PARAMS"
/usr/include/libintl.h:100:38: attempt to use poisoned "PARAMS"
/usr/include/libintl.h:100: parse error before "PARAMS"
gcc -c -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/farm/dje/src/src/gcc -I/farm/dje/src/src/gcc/build -I/farm/dje/src/src/gcc/../include -I/farm/dje/src/src/gcc/../libcpp/include -I/farm/dje/include -I/farm/dje/include \
-o build/rtl.o /farm/dje/src/src/gcc/rtl.c
make[2]: *** [pretty-print.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm gfdl.pod gcov.pod cpp.pod gpl.pod gcc.pod fsf-funding.pod gfortran.pod
make[2]: Leaving directory `/tmp/powerpc-ibm-aix5.2.0.0-20050408/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/tmp/powerpc-ibm-aix5.2.0.0-20050408/gcc'
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler