Skip to contentSkip to conversation

building openbios-qemu.elf?

OpenBIOS Laurent Vivier 2 participants 2 messages Feb 24, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 23 lines · Laurent Vivier
Quoted 3 lines

Hi,

Do you use source from SVN head ?

Yes.

Quoted 1 line

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
Quoted 8 lines

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

Signature · 3 lines
--------------------- [email protected]  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard
#1 lore raw
Quoted 29 lines · Laurent Vivier
Quoted 29 lines · Laurent Vivier
Quoted 3 lines

Hi,

Do you use source from SVN head ?

Yes.

Quoted 1 line

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

Quoted 5 lines
Quoted 2 lines

So something goes wrong in the strip process.

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

2.16.1

Quoted 2 lines

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.

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center