[coreboot] Problem with objcopy: cannot generate coreboot.strip

Jeffrey C. Jacobs jacobs at itd.nrl.navy.mil
Mon Jul 27 15:18:24 CEST 2009


ron minnich wrote:
> The cause of a 2^32 file can be that gcc has been upgraded and is
> generating new section names that are not covered in our ldscripts. I
> fixed this problem recently in another context. The new sections will
> get linked at address 0.
>
> I think your accidental 0 idea is correct. Can you do a readelf on the
> various coreboot files and look for a section name that is not in the
> ldscripts?
>
> ron
>   
Actually, I solved this by just making the BIOS a little bigger.  Myles 
was right to be suspicious of the missing text sections as they were 
getting chopped off due to the BIOS not fitting in the space I alloted 
it in the Config.ld script.  I just upped it from like 48k to 64k and it 
linked just fine.  Thanks for your help though Ron!

Take care,

Jeffrey.





More information about the coreboot mailing list