I''m building qemu-0.8.2-slaris on sparc(snv_47 on SunFireV440).
But, I haven''t succeeded to compile it yet, because of the
preferred-stack-boundary
gcc''s option.
I guess that option shouldn''t be used sparc (only x86-64).
If somebody have some suggestions, please let me know.
[error log]
-------------------------------------------------------------------
# ./configure --install=/usr/ucb/install --prefix=/opt/qemu --force-64bit
Forcing 64-bit mode, changing CPU from sparc to sparc64
Install prefix /opt/qemu
BIOS directory /opt/qemu/share/qemu
binary directory /opt/qemu/bin
Manual directory /opt/qemu/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /var/tmp/qemu-0.8.2-solaris
C compiler gcc
Host C compiler gcc
make gmake
install /usr/ucb/install
host CPU sparc64
host big endian yes
target list i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
mips-softmmu mipsel-softmmu arm-softmmu
gprof enabled no
profiler no
static build no
SDL support yes
SDL static link no
mingw32 support no
Adlib support no
CoreAudio support no
ALSA support no
DSound support no
FMOD support no
kqemu support no
Documentation no
# gmake
gcc -DQEMU_TOOL -m64 -mpreferred-stack-boundary=4 -fomit-frame-pointer -Wall -O2
-g -fno-strict-aliasing -I. -m64 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -o qemu-img qemu-img.c block.c block-cow.c block-qcow.c
aes.c block-vmdk.c block-cloop.c block-dmg.c block-bochs.c block-vpc.c
block-vvfat.c -lz
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
cc1: error: invalid option `preferred-stack-boundary=4''
gmake: *** [qemu-img] Error 1
#
-------------------------------------------------------------------
[part of configure file]
-------------------------------------------------------------------
248 --force-64bit)
249 force_64bit="yes"
250 CFLAGS="$CFLAGS -m64 -mpreferred-stack-boundary=4
-fomit-frame-poi
nter"
251 LDFLAGS="$LDFLAGS -m64"
252 force_64bitflags="-m64"
253 case "$cpu" in
254 i386)
255 echo "Forcing 64-bit mode, changing CPU from $cpu to
x86_64"
256 cpu="x86_64"
257 ;;
258 sparc*)
259 echo "Forcing 64-bit mode, changing CPU from $cpu to
sparc64"
260 cpu="sparc64"
261 ;;
262 *)
263 echo "Forcing 64-bit mode"
264 ;;
265 esac
266 ;;
-------------------------------------------------------------------
--
This message posted from opensolaris.org