Re: Trying to make a working kernel with the gold linker

From: H. Peter Anvin
Date: Tue Apr 10 2012 - 23:59:57 EST


On 04/10/2012 07:23 PM, Theodore Ts'o wrote:
> So I was trying to see if I could make the kernel build with the gold
> linker (since until it can, I can't install it on my system).
>
> I saw a message from HJ indicating one of the problems was x86_64 gold
> used an incompatible max-page-size setting, so I tried changing it in
> hopes that would make a bootable kernel.
>
> No dice, it didn't work. (At least not with a 2.20 binutils-gold.)
>
> Does anybody know what the other issues with the gold linker? Is the
> 2.22 binutils-gold more likely to work?

It would also be kind of nice if the ELF image generated for the kernel
didn't contain several megabytes of zero that serve no purpose and have
to be decompressed at boot time...

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/