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

Myles Watson mylesgw at gmail.com
Thu Jul 16 16:13:18 CEST 2009


On Thu, Jul 16, 2009 at 6:55 AM, Jeffrey C. Jacobs
<jacobs at itd.nrl.navy.mil>wrote:

> I was wondering if anyone could help me with a couple problems I'm having
> building Coreboot at the moment.  Foremost, since I upgraded to SVN revision
> 4426, I've been unable to generate the stripped form of my BIOS in this or a
> previously working very old edition (circa revision 2539 when things were
> still LinuxBIOS).  What happens is the build is dying at the objcopy step
> which is meant to strip the coreboot binary before appending the boot loader
> binary.  Specifically, here is what I see from the generation of the CRT0
> file to the end:
>
> --------
> gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
> /usr/bin/ld: warning: dot moved backwards before `.text'
> /usr/bin/ld: warning: dot moved backwards before `.id'
> /usr/bin/ld: warning: dot moved backwards before `.text'
> /usr/bin/ld: warning: dot moved backwards before `.id'
> /usr/bin/ld: warning: dot moved backwards before `.text'
> /usr/bin/ld: warning: dot moved backwards before `.id'

I haven't seen these warnings.  Are they the cause?


> nm -n linuxbios | sort > linuxbios.map
> objcopy --gap-fill 0xff -R .note.gnu.build-id -O binary linuxbios
> linuxbios.strip
> objcopy: linuxbios.strip: Bad value
> objcopy: linuxbios.strip: Bad value
> make[1]: *** [linuxbios.strip] Error 1
> make[1]: Leaving directory
> `/home/jacobs/LinuxBIOS-v2-GRUB-PTR/targets/arcom/apollo/apollo/image'
> make: *** [image/linuxbios.rom] Error 1


I haven't seen anything like this myself.  Do all boards fail for you, or is
it just this one?  Abuild still passes all the boards for me.

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090716/773af700/attachment.html>


More information about the coreboot mailing list