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


On Wed, 17 Nov 2010 08:10:10 +0100, Markus wrote:
> [-- text/plain, encoding 8bit, charset: utf-8, 100 lines --]
> 
> On 2010.11.16 at 16:39 -0800, Doug Kwan (?????????) wrote:
>> 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
>>
>> I cannot reproduce the problem with top of trunk gold and top of linux
>> kernel. 
>> 
> If you want to reproduce it locally it might be easier if you simply use
> my attached kernel config file. (Just copy it to .config in the kernel
> top directory and then run "make V=1").

Ah sorry, I forgot that you need to copy the Radeon ucode:
http://people.freedesktop.org/~agd5f/radeon_ucode/R600_rlc.bin
to firmware/radeon/ in my configuration. The build process will fail
otherwise.
-- 
Markus


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