Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nn4SX-0007T4-HI for qemu-devel@nongnu.org; Thu, 04 Mar 2010 01:22:57 -0500 Received: from [199.232.76.173] (port=47965 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nn4SW-0007SK-09 for qemu-devel@nongnu.org; Thu, 04 Mar 2010 01:22:56 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nn4SU-0006AP-AA for qemu-devel@nongnu.org; Thu, 04 Mar 2010 01:22:55 -0500 Received: from mail-pz0-f194.google.com ([209.85.222.194]:40809) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nn4ST-000667-Ne for qemu-devel@nongnu.org; Thu, 04 Mar 2010 01:22:54 -0500 Received: by pzk32 with SMTP id 32so458765pzk.4 for ; Wed, 03 Mar 2010 22:22:06 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 3 Mar 2010 22:22:04 -0800 Message-ID: Subject: Re: [Qemu-devel] qemu on Solaris From: Jonathan Kalbfeld Content-Type: multipart/alternative; boundary=00504502c5f51dc8520480f39e78 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Seth G Cc: qemu-devel@nongnu.org --00504502c5f51dc8520480f39e78 Content-Type: text/plain; charset=ISO-8859-1 Hey Seth, Do you know if it builds on Sparc at all? On Oracle Solaris ;) jonathan On Wed, Mar 3, 2010 at 6:24 PM, 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 > 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 > > > > -- -- Jonathan Kalbfeld ThoughtWave Technologies LLC www.thoughtwave.com LA: +1 818.306.5353 NY: +1 212.202.0698 Direct: +1 818 495 2139 FAX: +1 818 495 2140 Learn UNIX For Free at unixlessons.com --00504502c5f51dc8520480f39e78 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey Seth,

Do you know if it builds on Sparc at all?=A0 On Oracle Sol= aris ;)

jonathan


On Wed, Mar 3= , 2010 at 6:24 PM, Seth G <seth.goldberg@sun.com> wrote:
Hi,

=A0I just sent a fair amount of time trying to figure out problems
with the qemu build and resulting binary. =A0The 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. =A0That's a minor problem. =A0The
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 pa= ssed
to it. =A0The 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.

=A0Thanks,
=A0--S






--
--
Jonathan K= albfeld
ThoughtWave Technologies LLC
www.thoughtwave.com
LA: +1 818.306.5353 NY: +1 212.202.0698 Direct: +1 818 495 2139 FAX: +1 818 495 2140

Learn UNIX For Free at = unixlessons.com

--00504502c5f51dc8520480f39e78--