From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nn0pG-0008P3-Bs for qemu-devel@nongnu.org; Wed, 03 Mar 2010 21:30:10 -0500 Received: from [199.232.76.173] (port=37575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nn0pF-0008O0-Nd for qemu-devel@nongnu.org; Wed, 03 Mar 2010 21:30:09 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nn0pD-0005yH-FW for qemu-devel@nongnu.org; Wed, 03 Mar 2010 21:30:09 -0500 Received: from lo.gmane.org ([80.91.229.12]:40282) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nn0pD-0005y5-4w for qemu-devel@nongnu.org; Wed, 03 Mar 2010 21:30:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nn0p9-00083w-R8 for qemu-devel@nongnu.org; Thu, 04 Mar 2010 03:30:03 +0100 Received: from sca-ea-fw-1.Sun.COM ([192.18.43.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Mar 2010 03:30:03 +0100 Received: from seth.goldberg by sca-ea-fw-1.Sun.COM with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Mar 2010 03:30:03 +0100 From: Seth G Date: Thu, 4 Mar 2010 02:24:34 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qemu on Solaris List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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. Thanks, --S