------- Additional Comments From sedat dot dilek at gmail dot com 2009-10-21 07:47 ------- Hi,
I have already reported that issue to LKML [1] and am still in conversion with Ian. Leaving out "--emit-relocs" or unsetting CONFIG_RELOCATABLE kernel-config variable let gold compile Linux-2.6.31-rc5-git3. This weekend I could track down the problem to (with binutils-cvs20091017): GOOD: 2.6.29-rc8 and 2.6.30 BAD: upstream (up-to 2.6.32-rc5-git1), 2.6.31, 2.6.31-{rc5..rc1} If you look at the kernel-sources the "incompatibility" arosed between 2.6.30 and the merge-window resulted in 2.6.31-rc1. With upstream kernel, (un)setting CONFIG_RELOCATABLE and binutils-2.20.51 snapshot tarball from 21-Oct-2009 gold still fails: ... LD drivers/built-in.o LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.devinit.text+0x387c): Section mismatch in reference from the function ezx_pcap_probe() to the function .init.text:set_irq_noprobe() The function __devinit ezx_pcap_probe() references a function __init set_irq_noprobe(). If set_irq_noprobe is only used by ezx_pcap_probe then annotate set_irq_noprobe with a matching annotation. GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 ld: internal error in convert_types, at ../../gold/gold.h:294 make[3]: *** [.tmp_vmlinux1] Error 1 ... Also the binutils-gold (2.20-1) package from Debian/sid fails. I prepared an archive with all involved input files, see [3]. Hope this get fixed, soon. IMHO, it would be a good idea to get in contact with the responsible maintainers in Linux-kernel. The bug is *NOT* fixed. - Sedat - [1] [binutils-gold][2.6.31-rc5-git3] ld error w/ LDFLAGS_vmlinux := --emit-reloc (CONFIG_RELOCATABLE=y) http://lkml.org/lkml/2009/8/5/288 [2] ftp://sourceware.org/pub/binutils/snapshots/binutils-2.20.51.tar.bz2 [3] http://files.iniza.org/for_iant/ -- http://sourceware.org/bugzilla/show_bug.cgi?id=10698 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils