[Bug gold/11490] gold: unbootable Linux kernel, wrong alignment for .rodata/.text ". = ALIGN((1 << 21)); "

2010-04-12 Thread edwintorok at gmail dot com
--- Additional Comments From edwintorok at gmail dot com 2010-04-12 18:35 --- head of eu-readelf -a diff of CVS gold vs BFD ld (- gold, + bfd): --- egold 2010-04-12 21:33:46.0 +0300 +++ ebfd2010-04-12 21:33:50.0 +0300 @@ -10,63 +10,63 @@ Version:

[Bug gold/11490] gold: unbootable Linux kernel, wrong alignment for .rodata/.text ". = ALIGN((1 << 21)); "

2010-04-12 Thread edwintorok at gmail dot com
--- Additional Comments From edwintorok at gmail dot com 2010-04-12 18:07 --- Created an attachment (id=4718) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4718&action=view) not working .config When built with this .config and gold, kernel fails to boot. With the usual LD it wo

[Bug gold/11490] gold: unbootable Linux kernel, wrong alignment for .rodata/.text ". = ALIGN((1 << 21)); "

2010-04-12 Thread edwintorok at gmail dot com
--- Additional Comments From edwintorok at gmail dot com 2010-04-12 18:06 --- Created an attachment (id=4717) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4717&action=view) working kernel .config This .config results in a working kernel. It doesn't need the 2MB alignment. --

[Bug gold/11490] New: gold: unbootable Linux kernel, wrong alignment for .rodata/.text ". = ALIGN((1 << 21)); "

2010-04-12 Thread edwintorok at gmail dot com
Tried to compile Linux 2.6.33, and 2.6.34-rc3 with gold. Linking succeeded, but it fails to boot, it just keeps on rebooting. To reproduce (you can also download just the tarball, but its easier if you just clone if you want to test multiple versions): 1. git clone git://git.kernel.org/pub/scm/lin