From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnoAL-0003HC-NE for qemu-devel@nongnu.org; Sat, 06 Mar 2010 02:11:13 -0500 Received: from [199.232.76.173] (port=43733 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnoAJ-0003Gg-O1 for qemu-devel@nongnu.org; Sat, 06 Mar 2010 02:11:11 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NnoAI-0003ty-8K for qemu-devel@nongnu.org; Sat, 06 Mar 2010 02:11:11 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:35717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NnoAH-0003to-Uv for qemu-devel@nongnu.org; Sat, 06 Mar 2010 02:11:10 -0500 Received: by pwi4 with SMTP id 4so2574181pwi.4 for ; Fri, 05 Mar 2010 23:11:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 6 Mar 2010 09:11:08 +0200 Message-ID: Subject: Re: [Qemu-devel] qemu on Solaris From: Blue Swirl Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Seth G Cc: qemu-devel@nongnu.org On 3/4/10, Seth G wrote: > Hi, > > I just sent a fair amount of time trying to figure out problems > with the qemu build and resulting binary. The first problem (which > is no longer a problem due to the shell OpenSolaris uses) was that > `sh' was used in rules.mak to perform commands -- I had a /bin/sh > that was not bash-compatible. That's a minor problem. The Please report the errors so that we can fix the bashisms. > more-serious problem was that once qemu was built, it would die almost > immediately, complaining about smbus-eeprom not being an I2C device. > That problem appears to be due to an issue with gcc's use of the > Solaris native linker (/usr/ccs/bin/ld) -- the linker is not including > all .o's in the .a's, even though the --whole-archive switch was passed > to it. The linker team is looking into that problem right now, but in > the meantime, manually performing the link step by specifying all the > required .o's yields a usable qemu executable. --whole-archive is no longer used since 0e8c9214ba1d4128cf92442cd343bc3733478261.