qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [OpenBIOS] [Qemu-devel] Re:  building openbios-qemu.elf?
@ 2009-02-24 16:31 Laurent Vivier
  2009-02-24 16:44 ` Hollis Blanchard
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Vivier @ 2009-02-24 16:31 UTC (permalink / raw)
  To: openbios, qemu-devel

>On Tue, 2009-02-24 at 00:07 +0100, Laurent Vivier wrote:
>> Hi,
>> 
>> Do you use source from SVN head ?
>
>Yes.
>
>> Do you have any information in obj-ppc/build.log ?
>
>This is somewhat interesting:
>
>powerpc-440-linux-gnu-strip openbios-qemu.elf
>BFD: st4PszLi: warning: allocated section `.bss' not in segment
>BFD: st4PszLi: warning: allocated section `.sbss' not in segment
>
>The "nostrip" version of openbios-qemu.elf looks much better:
>
>Program Headers:
>  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
>  LOAD           0x000094 0xfff00000 0xfff00000 0x42044 0x4bcb4 RWE 0x4
>  LOAD           0x0420d8 0xfffffffc 0xfffffffc 0x00004 0x00004 R E 0x1
>  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4
>
> Section to Segment mapping:
>  Segment Sections...
>   00     .text.vectors .text .rodata .data .sdata 
>   01     .romentry 
>   02     
>
>So something goes wrong in the strip process.
>

What is the version of your binutils ?
(I use 2.18.0.20080103)

You can also try the native strip of your host if you have installed binutils-multiarch (for a debian system). 

Laurent
-- 
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [OpenBIOS] [Qemu-devel] Re:  building openbios-qemu.elf?
  2009-02-24 16:31 [OpenBIOS] [Qemu-devel] Re: building openbios-qemu.elf? Laurent Vivier
@ 2009-02-24 16:44 ` Hollis Blanchard
  0 siblings, 0 replies; 2+ messages in thread
From: Hollis Blanchard @ 2009-02-24 16:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: openbios

On Tue, 2009-02-24 at 17:31 +0100, Laurent Vivier wrote:
> >On Tue, 2009-02-24 at 00:07 +0100, Laurent Vivier wrote:
> >> Hi,
> >> 
> >> Do you use source from SVN head ?
> >
> >Yes.
> >
> >> Do you have any information in obj-ppc/build.log ?
> >
> >This is somewhat interesting:
> >
> >powerpc-440-linux-gnu-strip openbios-qemu.elf
> >BFD: st4PszLi: warning: allocated section `.bss' not in segment
> >BFD: st4PszLi: warning: allocated section `.sbss' not in segment
> >
> >The "nostrip" version of openbios-qemu.elf looks much better:
> >
> >Program Headers:
> >  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
> >  LOAD           0x000094 0xfff00000 0xfff00000 0x42044 0x4bcb4 RWE 0x4
> >  LOAD           0x0420d8 0xfffffffc 0xfffffffc 0x00004 0x00004 R E 0x1
> >  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4
> >
> > Section to Segment mapping:
> >  Segment Sections...
> >   00     .text.vectors .text .rodata .data .sdata 
> >   01     .romentry 
> >   02     
> >
> >So something goes wrong in the strip process.
> >
> 
> What is the version of your binutils ?
> (I use 2.18.0.20080103)

2.16.1

> You can also try the native strip of your host if you have installed
> binutils-multiarch (for a debian system). 

I don't know of anything like that for Fedora, and the native strip
supports only x86 variants.

-- 
Hollis Blanchard
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-24 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24 16:31 [OpenBIOS] [Qemu-devel] Re: building openbios-qemu.elf? Laurent Vivier
2009-02-24 16:44 ` Hollis Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).