From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lc0P4-0008IS-1V for qemu-devel@nongnu.org; Tue, 24 Feb 2009 11:45:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lc0P2-0008IA-Nr for qemu-devel@nongnu.org; Tue, 24 Feb 2009 11:45:05 -0500 Received: from [199.232.76.173] (port=40215 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc0P2-0008I7-EV for qemu-devel@nongnu.org; Tue, 24 Feb 2009 11:45:04 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:56228) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lc0P2-0002iT-0C for qemu-devel@nongnu.org; Tue, 24 Feb 2009 11:45:04 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e31.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1OGgV4X006851 for ; Tue, 24 Feb 2009 09:42:31 -0700 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n1OGitBr082174 for ; Tue, 24 Feb 2009 09:44:59 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1OGitFL018469 for ; Tue, 24 Feb 2009 09:44:55 -0700 Subject: Re: [OpenBIOS] [Qemu-devel] Re: building openbios-qemu.elf? From: Hollis Blanchard In-Reply-To: <5264924.442961235493077105.JavaMail.servlet@kundenserver> References: <5264924.442961235493077105.JavaMail.servlet@kundenserver> Content-Type: text/plain Date: Tue, 24 Feb 2009 10:44:54 -0600 Message-Id: <1235493894.6429.53.camel@slate.austin.ibm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: openbios@openbios.org 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