Package: binutils Version: 2.17cvs20070713-1 Severity: important User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.2 Tags: patch
Thanks for fixing the previous gcc-4.2 compilation problem. However, with the new version, there's a new problem compiling with gcc-4.2: ... /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -DTRAD_CORE -I. -I../../bfd -I../../bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o coffgen.lo ../../bfd/coffgen.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -DTRAD_CORE -I. -I../../bfd -I../../bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../bfd/coffgen.c -fPIC -DPIC -o .libs/coffgen.o cc1: warnings being treated as errors ../../bfd/coffgen.c: In function 'coff_get_normalized_symtab': ../../bfd/coffgen.c:1690: warning: cast from pointer to integer of different size make[5]: *** [coffgen.lo] Error 1 make[5]: Leaving directory `/tmp/buildd/binutils-2.17cvs20070713/builddir-single/bfd' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/tmp/buildd/binutils-2.17cvs20070713/builddir-single/bfd' make[3]: *** [all] Error 2 make[3]: Leaving directory `/tmp/buildd/binutils-2.17cvs20070713/builddir-single/bfd' make[2]: *** [all-bfd] Error 2 make[2]: Leaving directory `/tmp/buildd/binutils-2.17cvs20070713/builddir-single' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/binutils-2.17cvs20070713/builddir-single' make: *** [build-single-stamp] Error 2 I've attached a patch which fixes this warning. (The present code looks suspicious to me, casting a pointer to a static string to a VMA; though I don't actually understand what the code is supposed to do.) -- Daniel Schepler
400_gcc42_fix.dpatch
Description: application/shellscript