This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Place temporary generated stdint.h file under $tmp/


Hi Paolo,

this change:
	http://sourceware.org/ml/src-cvs/2009-q3/msg00037.html
		http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/config/stdint.m4.diff?cvsroot=src&r1=1.3&r2=1.4
	http://sourceware.org/ml/binutils-cvs/2009-09/msg00143.html
		http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/configure.diff?cvsroot=src&r1=1.314&r2=1.315

does cause a regression at least for:
	./configure --enable-targets=all; make
in
	cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co gdb
as:

make[4]: Entering directory `.../gdb-clean/opcodes'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../include -I./../bfd    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m64 -ggdb2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -MT m32c-asm.lo -MD -MP -MF .deps/m32c-asm.Tpo -c -o m32c-asm.lo m32c-asm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./../include -I./../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m64 -ggdb2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -MT m32c-asm.lo -MD -MP -MF .deps/m32c-asm.Tpo -c m32c-asm.c -o m32c-asm.o
In file included from ../bfd/bfd_stdint.h:4,
                 from cgen-types.h:24,
                 from m32c-opc.h:31,
                 from m32c-asm.c:36:
../bfd/config.h:239:1: error: "PACKAGE" redefined
In file included from sysdep.h:30,
                 from m32c-asm.c:30:
config.h:54:1: error: this is the location of the previous definition
make[4]: *** [m32c-asm.lo] Error 1


Please revert the change if the fix is not obvious.


Thanks,
Jan


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