From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrxIf-0004Le-4A for qemu-devel@nongnu.org; Thu, 09 Apr 2009 12:40:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrxIa-0004Jr-P7 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 12:40:24 -0400 Received: from [199.232.76.173] (port=41840 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrxIa-0004Jo-KL for qemu-devel@nongnu.org; Thu, 09 Apr 2009 12:40:20 -0400 Received: from rv-out-0708.google.com ([209.85.198.241]:15718) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrxIa-0004Zq-53 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 12:40:20 -0400 Received: by rv-out-0708.google.com with SMTP id l33so565224rvb.22 for ; Thu, 09 Apr 2009 09:40:17 -0700 (PDT) Sender: Mikolaj Kucharski Date: Thu, 9 Apr 2009 17:40:12 +0100 From: Mikolaj Kucharski Message-ID: <20090409164012.GA29673@x40.openbsd.home.lan> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline Subject: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD Reply-To: Mikolaj Kucharski , 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 Cc: mikolaj@kucharski.name --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I'm trying to compile qemu-0.10.2 on OpenBSD 4.5 (pre-release) and I have following issue with sparc64-bsd-user target. Everythine else compiles, when I use --target-list and select all targets except sparc64-bsd-user. Please see attached file for ./configure output. gmake[1]: Entering directory `/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/sparc64-bsd-user' CC sparc64-bsd-user/cpu-exec.o /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c: In function `cpu_sparc_signal_handler': /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: structure has no member named `uc_mcontext' /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: `EIP' undeclared (first use in this function) /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: (Each undeclared identifier is reported only once /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1189: error: for each function it appears in.) /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1190: error: structure has no member named `uc_mcontext' /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1190: error: `TRAPNO' undeclared (first use in this function) /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1193: error: structure has no member named `uc_mcontext' /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1193: error: `ERR' undeclared (first use in this function) /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1194: error: structure has no member named `uc_sigmask' gmake[1]: *** [cpu-exec.o] Error 1 gmake[1]: Leaving directory `/var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2/sparc64-bsd-user' gmake: *** [subdir-sparc64-bsd-user] Error 2 *** Error code 2 # sysctl -n kern.version OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC -- best regards q# --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="configure.log" Thu Apr 9 01:50:45 IST 2009 ===> Verifying update for texi2html-* in textproc/texi2html ===> Returning to build of qemu-0.10.2 ===> qemu-0.10.2 depends on: texi2html-* - found ===> Verifying update for gmake-* in devel/gmake ===> Returning to build of qemu-0.10.2 ===> qemu-0.10.2 depends on: gmake-* - found ===> Verifying update for sdl-* in devel/sdl ===> Returning to build of qemu-0.10.2 ===> qemu-0.10.2 depends on: sdl-* - found ===> Verifying specs: SDL SDL c m ossaudio z pthread c m ossaudio z pthread ===> found SDL.8.0 c.50.1 m.5.0 ossaudio.3.1 z.4.1 pthread.11.1 ===> Checking files for qemu-0.10.2 `/usr/ports/distfiles/qemu-0.10.2.tar.gz' is up to date. >> (SHA256) qemu-0.10.2.tar.gz: OK ===> Extracting for qemu-0.10.2 ===> Patching for qemu-0.10.2 ===> Configuring for qemu-0.10.2 Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /var/tmp/port-obj/qemu-0.10.2/qemu-0.10.2 C compiler cc Host C compiler cc ARCH_CFLAGS -m32 make gmake install install host CPU i386 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-bsd-user gprof enabled no sparse enabled no profiler no static build no -Werror enabled no SDL support yes SDL static link no curses support yes mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support no kqemu support no brlapi support no Documentation yes NPTL support no vde support no AIO support yes Install blobs yes KVM support no fdt support no The error log from compiling the libSDL test is: /usr/X11R6/lib/libXau.so.9.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/X11R6/lib/libXau.so.9.0: warning: strcat() is almost always misused, please use strlcat() /usr/X11R6/lib/libX11.so.11.1: warning: sprintf() is often misused, please use snprintf() 0 Thu Apr 9 01:51:24 IST 2009 --r5Pyd7+fXNt84Ff3--