Skip to contentSkip to conversation

"Will it blend?"

Qemu-devel Jonathan Kalbfeld 4 participants 7 messages Sep 17, 2008 – Sep 18, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

It's been a while since I built QEMU on Solaris. Last build from the spring time seemed to segfault due to some TCX issues. Are these present on Solaris still?

I'm looking to put up a new package on thoughtwave.com, if possible.

jonathan

Signature · 7 lines
--
Jonathan Kalbfeld
ThoughtWave Technologies LLC
www.thoughtwave.com
+1 424 354 1814

Learn UNIX For Free at unixlessons.com
#1 lore raw
Quoted 5 lines · Jonathan Kalbfeld

Hello,

It's been a while since I built QEMU on Solaris. Last build from the spring time seemed to segfault due to some TCX issues. Are these present on Solaris still?

You mean TCG. Sparc64 host support on OpenBSD looks pretty good. Sparc32 system emulation works, x86 gives bus errors. I haven't tested other emulators, except the BSD user emulator that is under construction.

On Linux/Sparc32/64 all emulators segfault but that is probably due to glibc bugs. I haven't installed OpenBSD to my Sparc32 machine yet, so I don't have a working reference platform for Sparc32. Therefore Sparc32 host support is pretty much untested.

Based on this, I'd appreciate if you gave it a shot. There has been much progress.

#2 lore raw

Would it even work on Sparc64/Solaris 10 any more?

jonathan

Quoted 22 lines · Blue Swirl
Quoted 5 lines · Jonathan Kalbfeld

Hello,

It's been a while since I built QEMU on Solaris. Last build from the spring time seemed to segfault due to some TCX issues. Are these present on Solaris still?

You mean TCG. Sparc64 host support on OpenBSD looks pretty good. Sparc32 system emulation works, x86 gives bus errors. I haven't tested other emulators, except the BSD user emulator that is under construction.

On Linux/Sparc32/64 all emulators segfault but that is probably due to glibc bugs. I haven't installed OpenBSD to my Sparc32 machine yet, so I don't have a working reference platform for Sparc32. Therefore Sparc32 host support is pretty much untested.

Based on this, I'd appreciate if you gave it a shot. There has been much progress.

Signature · 7 lines
--
Jonathan Kalbfeld
ThoughtWave Technologies LLC
www.thoughtwave.com
+1 424 354 1814

Learn UNIX For Free at unixlessons.com
#3 lore raw
Quoted 1 line · Jonathan Kalbfeld

Would it even work on Sparc64/Solaris 10 any more?

Who knows? The only way is to try.

#4 lore raw
Quoted 4 lines · Blue Swirl
Quoted 1 line · Jonathan Kalbfeld

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.

#5 lore raw
Quoted 6 lines · Ben Taylor
Quoted 4 lines · Blue Swirl
Quoted 2 lines · Jonathan Kalbfeld

Would it even work on Sparc64/Solaris 10 any more?

Quoted 9 lines
Quoted 2 lines

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?

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.

Regards,

Anthony Liguori

#6 lore raw
Quoted 17 lines · Anthony Liguori
Quoted 16 lines · Ben Taylor
Quoted 9 lines · Blue Swirl
Quoted 3 lines · Jonathan Kalbfeld

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.

Quoted 6 lines
Quoted 3 lines

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.

Quoted 3 lines

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 <stdbool.h> 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