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 2010.11.17 at 16:24 -0800, Doug Kwan (éæå) wrote:
> I tried your config file and I had also found the Radeon firmware
> before you sent me.  However, I could not reproduce the problem.  One
> thing I noticed is that my kernel is slighly different from yours.
> Mine does not have a __jump_table section and the .text section starts
> at 0x200000 in the file, where as yours has .text starting at 0x1000.

This is strange. Yes, I figured out that you have to use 
"-z max-page-size=0x200000O" to get the correct .text offset.

Are you doing a cross-compile from a 32-bit host?
(As you can see from my kernel config I'm running x86_64. My gcc version
is 4.5.1)

Sorry if this may sound offensive, but are you sure you're using gold?

Because what was at first irritating to me are the garbage alignment
values in the elf "program header" (I guess they are simply ignored).
And your "Align" values all look sane...

-- 
Markus


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