From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8HwV-0002wr-2h for qemu-devel@nongnu.org; Tue, 10 Jul 2007 11:47:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8HwT-0002we-HR for qemu-devel@nongnu.org; Tue, 10 Jul 2007 11:47:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8HwT-0002wb-CE for qemu-devel@nongnu.org; Tue, 10 Jul 2007 11:47:57 -0400 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8HwS-0000Cq-U1 for qemu-devel@nongnu.org; Tue, 10 Jul 2007 11:47:57 -0400 From: Rob Landley Subject: Re: [Qemu-devel] [PATCH] qemu-i386 segfaults running "hello world". Date: Tue, 10 Jul 2007 11:47:39 -0400 References: <200706221715.16729.rob@landley.net> <200706240336.36647.rob@landley.net> <46891399.1050906@suse.de> In-Reply-To: <46891399.1050906@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <200707101147.40123.rob@landley.net> Content-Transfer-Encoding: quoted-printable 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: Alexander Graf On Monday 02 July 2007 11:02:49 Alexander Graf wrote: > Hi, > > this is the patch we are currently using to build qemu-0.9.0. Does this > work for you? > > Alex Let's see... > -/* ld script to make i386 Linux kernel > - * Written by Martin Mares ; > - */ > -OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") > +/* Default linker script, for normal executables */ > +OUTPUT_FORMAT("elf32-i386", "elf32-i386", > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0"elf32-= i386") That's just a whitespace change and removal of credit. > +SEARCH_DIR("/usr/i586-suse-linux/lib"); SEARCH_DIR("/usr/local/lib"); I haven't got SuSE. The next hunk is another huge multi-page whitespace change with code chan= ges=20 sprinkled in it. I have no idea what this patch does, but the second hunk is suse-specific= and=20 the second half of it is for qemu-ppc which builds runs for me. (Dunno i= f it=20 _works_, but it's not segfaulting immediately when I run it...) Rob --=20 "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson.