This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Gold] problem building linux kernel


I cannot reproduce the problem with top of trunk gold and top of linux
kernel.  Can you do a

readelf -lSW vmlinux

and send me the output?

-Doug

On Tue, Nov 16, 2010 at 7:59 AM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
> On 2010.11.16 at 07:52 -0800, Ian Lance Taylor wrote:
>> Markus Trippelsdorf <markus@trippelsdorf.de> writes:
>>
>> > Gold produces a malformed vmlinux file with this command:
>>
>> In what way is the vmlinux file malformed?
>
> Insofar as the this command normaly succeeds, but fails with the vmlinux
> linked with gold:
>
> (good)
> % objcopy -v -R .comment -S vmlinux arch/x86/boot/compressed/vmlinux.bin
> copy from `vmlinux' [elf64-x86-64] to `arch/x86/boot/compressed/vmlinux.bin' [elf64-x86-64]
>
> (bad)
> % objcopy ?-R .comment -S vmlinux arch/x86/boot/compressed/vmlinux.bin
> BFD: arch/x86/boot/compressed/vmlinux.bin: warning: allocated section `.data..percpu' not in segment
> objcopy:arch/x86/boot/compressed/vmlinux.bin[.text]: File truncated
> objcopy:arch/x86/boot/compressed/vmlinux.bin: File truncated
>
> --
> Markus
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]