This is the mail archive of the
mailing list for the binutils project.
Re: a few minor gold notes
Andi Kleen <firstname.lastname@example.org> writes:
> Tom Tromey <email@example.com> writes:
>> >>>>> "Ian" == Ian Lance Taylor <firstname.lastname@example.org> writes:
>> Ian> I committed this patch to fix this problem, with a test case.
>> With this I was able to build all of gcc (c/c++/java) with gold in my
>> path -- nice!
> x86-64 defconfig linux kernel unfortunately still doesn't work:
> gold -m elf_x86_64 -r -o drivers/net/built-in.o drivers/net/e1000/built-in.o drivers/net/3c59x.o drivers/net/e100.o drivers/net/tg3.o drivers/net/bnx2.o drivers/net/mii.o drivers/net/Space.o drivers/net/loopback.o drivers/net/b44.o drivers/net/forcedeth.o drivers/net/8139cp.o drivers/net/8139too.o drivers/net/tun.o drivers/net/amd8111e.o drivers/net/wireless/built-in.o drivers/net/tulip/built-in.o drivers/net/netconsole.o
> gold: internal error in set_info_section, at ../../src/gold/output.h:1775
Which version of the kernel? Different versions use different linker
features. I've successfully built 2.6.16 and 2.6.24.