From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgKa8-0007sn-A3 for qemu-devel@nongnu.org; Thu, 18 Sep 2008 10:34:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgKa4-0007sG-Ry for qemu-devel@nongnu.org; Thu, 18 Sep 2008 10:34:07 -0400 Received: from [199.232.76.173] (port=56835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgKa4-0007sD-IG for qemu-devel@nongnu.org; Thu, 18 Sep 2008 10:34:04 -0400 Received: from wa-out-1112.google.com ([209.85.146.180]:63345) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KgKa4-0007wa-5Y for qemu-devel@nongnu.org; Thu, 18 Sep 2008 10:34:04 -0400 Received: by wa-out-1112.google.com with SMTP id j5so2687103wah.18 for ; Thu, 18 Sep 2008 07:34:02 -0700 (PDT) Message-ID: Date: Thu, 18 Sep 2008 10:34:02 -0400 From: "Ben Taylor" Subject: Re: [Qemu-devel] "Will it blend?" In-Reply-To: <48D17237.1030200@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D17237.1030200@codemonkey.ws> 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 On Wed, Sep 17, 2008 at 5:10 PM, Anthony Liguori wrote: > Ben Taylor wrote: >> >> On Wed, Sep 17, 2008 at 2:59 PM, Blue Swirl wrote: >> >>> >>> On 9/17/08, Jonathan Kalbfeld wrote: >>> >>>> >>>> Would it even work on Sparc64/Solaris 10 any more? >>>> >>> >>> Who knows? The only way is to try. >>> >> >> qemu no longer compiles on Solaris 10 due to C99 issues in >> nbd. It will compile on Solaris Express. >> >> adding c99 or gnuc99 also doesn't work because of >> anonymous unions not being supported. >> > > GCC on Solaris doesn't support anonymous unions? That seems bizarre. Or > are you using the Sun compiler? I don't remember. It's been a while since I tried to hack on it to get it working. > > Is it block-nbd or qemu-nbd that doesn't work? If it's the later, it's easy > enough to prevent it from building on Solaris. It's block-ndb. gcc -O2 -g -fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings -m64 -I. -I/tank/src/kde/Dude/QEMU/2008.09.18 -MMD -MP -MT block-nbd.o -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/tank/src/kde/Dude/QEMU/2008.09.18/slirp -c -o block-nbd.o block-nbd.c In file included from nbd.h:24, from block-nbd.c:30: /usr/include/stdbool.h:42:2: #error "Use of is valid only in a c99 compilation environment." In file included from block-nbd.c:30: nbd.h:47: error: syntax error before "bool" nbd.h:59: error: syntax error before "bool" gmake: *** [block-nbd.o] Error 1 Ben