* [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
@ 2009-04-09 16:40 Mikolaj Kucharski
2009-04-09 18:23 ` Blue Swirl
0 siblings, 1 reply; 9+ messages in thread
From: Mikolaj Kucharski @ 2009-04-09 16:40 UTC (permalink / raw)
To: qemu-devel; +Cc: mikolaj
[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]
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#
[-- Attachment #2: configure.log --]
[-- Type: text/plain, Size: 2296 bytes --]
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-09 16:40 [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD Mikolaj Kucharski
@ 2009-04-09 18:23 ` Blue Swirl
2009-04-10 0:07 ` Mikolaj Kucharski
2009-04-10 0:24 ` Brad
0 siblings, 2 replies; 9+ messages in thread
From: Blue Swirl @ 2009-04-09 18:23 UTC (permalink / raw)
To: Mikolaj Kucharski, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> 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.
Does the attached patch help? I don't have an OpenBSD/i386 machine.
[-- Attachment #2: bsd_user_i386_host.diff --]
[-- Type: plain/text, Size: 1622 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-09 18:23 ` Blue Swirl
@ 2009-04-10 0:07 ` Mikolaj Kucharski
2009-04-10 7:34 ` Blue Swirl
2009-04-10 0:24 ` Brad
1 sibling, 1 reply; 9+ messages in thread
From: Mikolaj Kucharski @ 2009-04-10 0:07 UTC (permalink / raw)
To: qemu-devel
On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > 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.
>
> Does the attached patch help? I don't have an OpenBSD/i386 machine.
Yes, that fixed compilation problem. I would like to be notified
when your patch (or different fix for issue in this thread) get
commited to revision repository. Thank you.
--
best regards
q#
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-10 0:07 ` Mikolaj Kucharski
@ 2009-04-10 7:34 ` Blue Swirl
2009-04-10 9:00 ` Brad
0 siblings, 1 reply; 9+ messages in thread
From: Blue Swirl @ 2009-04-10 7:34 UTC (permalink / raw)
To: Mikolaj Kucharski, qemu-devel
On 4/10/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> > On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > > 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.
> >
> > Does the attached patch help? I don't have an OpenBSD/i386 machine.
>
>
> Yes, that fixed compilation problem. I would like to be notified
> when your patch (or different fix for issue in this thread) get
> commited to revision repository. Thank you.
I've committed the patch to development branch as r7065, thanks for testing.
This is not a bug fix, so I guess it doesn't qualify for the stable branch.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-10 7:34 ` Blue Swirl
@ 2009-04-10 9:00 ` Brad
2009-04-10 13:31 ` Blue Swirl
0 siblings, 1 reply; 9+ messages in thread
From: Brad @ 2009-04-10 9:00 UTC (permalink / raw)
To: qemu-devel; +Cc: Blue Swirl
On Friday 10 April 2009 03:34:48 Blue Swirl wrote:
> On 4/10/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> > > On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > > > 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.
> > >
> > > Does the attached patch help? I don't have an OpenBSD/i386 machine.
> >
> > Yes, that fixed compilation problem. I would like to be notified
> > when your patch (or different fix for issue in this thread) get
> > commited to revision repository. Thank you.
>
> I've committed the patch to development branch as r7065, thanks for
> testing.
I will also have powerpc tested as a host since that is the 4th architecture
we currently support for the OpenBSD QEMU port (so far -- I'd like to look
into adding support for alpha and sparc64 after updating to 0.10.2).
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-10 9:00 ` Brad
@ 2009-04-10 13:31 ` Blue Swirl
0 siblings, 0 replies; 9+ messages in thread
From: Blue Swirl @ 2009-04-10 13:31 UTC (permalink / raw)
To: Brad; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]
On 4/10/09, Brad <brad@comstyle.com> wrote:
> On Friday 10 April 2009 03:34:48 Blue Swirl wrote:
> > On 4/10/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > > On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> > > > On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > > > > 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.
> > > >
> > > > Does the attached patch help? I don't have an OpenBSD/i386 machine.
> > >
> > > Yes, that fixed compilation problem. I would like to be notified
> > > when your patch (or different fix for issue in this thread) get
> > > commited to revision repository. Thank you.
> >
> > I've committed the patch to development branch as r7065, thanks for
> > testing.
>
>
> I will also have powerpc tested as a host since that is the 4th architecture
> we currently support for the OpenBSD QEMU port (so far -- I'd like to look
> into adding support for alpha and sparc64 after updating to 0.10.2).
Maybe this patch helps? I'm not sure about TRAP_sig(), it should
contain the exception number and while sc_frame.exc sounds like that,
I can't find from OpenBSD sources where it's used.
[-- Attachment #2: bsd_user_ppc_host.diff --]
[-- Type: plain/text, Size: 1762 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-09 18:23 ` Blue Swirl
2009-04-10 0:07 ` Mikolaj Kucharski
@ 2009-04-10 0:24 ` Brad
2009-04-10 2:09 ` Brad
1 sibling, 1 reply; 9+ messages in thread
From: Brad @ 2009-04-10 0:24 UTC (permalink / raw)
To: qemu-devel
On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > 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.
>
> Does the attached patch help? I don't have an OpenBSD/i386 machine.
This helps with this one partiular issue but there is still the issue
of the PowerPC targets being broken as I had already pointed out on
the list.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-10 0:24 ` Brad
@ 2009-04-10 2:09 ` Brad
2009-04-10 7:27 ` Blue Swirl
0 siblings, 1 reply; 9+ messages in thread
From: Brad @ 2009-04-10 2:09 UTC (permalink / raw)
To: qemu-devel
On Thursday 09 April 2009 20:24:48 Brad wrote:
> On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> > On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > > 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.
> >
> > Does the attached patch help? I don't have an OpenBSD/i386 machine.
>
> This helps with this one partiular issue but there is still the issue
> of the PowerPC targets being broken as I had already pointed out on
> the list.
Actually it still does not build on amd64..
gmake[1]: Entering directory
`/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/sparc64-bsd-user'
CC sparc64-bsd-user/cpu-exec.o
In file included
from /usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/target-sparc/exec.h:13,
from /usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:22:
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/target-sparc/cpu.h: In
function `cpu_clone_regs':
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/target-sparc/cpu.h:493:
warning: implicit declaration of function `printf'
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c: In function
`cpu_sparc_signal_handler':
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1222: error:
dereferencing pointer to incomplete type
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1222: error:
`REG_RIP' undeclared (first use in this function)
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1222: error:
(Each undeclared identifier is reported only once
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1222: error:
for each function it appears in.)
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1224: error:
dereferencing pointer to incomplete type
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1224: error:
`REG_TRAPNO' undeclared (first use in this function)
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1225: error:
dereferencing pointer to incomplete type
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1225: error:
`REG_ERR' undeclared (first use in this function)
/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/cpu-exec.c:1226: error:
dereferencing pointer to incomplete type
gmake[1]: *** [cpu-exec.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/emulators/qemu/w-qemu-0.10.2/qemu-0.10.2/sparc64-bsd-user'
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD
2009-04-10 2:09 ` Brad
@ 2009-04-10 7:27 ` Blue Swirl
0 siblings, 0 replies; 9+ messages in thread
From: Blue Swirl @ 2009-04-10 7:27 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 923 bytes --]
On 4/10/09, Brad <brad@comstyle.com> wrote:
> On Thursday 09 April 2009 20:24:48 Brad wrote:
> > On Thu, Apr 09, 2009 at 09:23:55PM +0300, Blue Swirl wrote:
> > > On 4/9/09, Mikolaj Kucharski <mikolaj@kucharski.name> wrote:
> > > > 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.
> > >
> > > Does the attached patch help? I don't have an OpenBSD/i386 machine.
> >
> > This helps with this one partiular issue but there is still the issue
> > of the PowerPC targets being broken as I had already pointed out on
> > the list.
>
>
> Actually it still does not build on amd64..
For that another patch is needed, please test.
[-- Attachment #2: bsd_user_x86_64_host.diff --]
[-- Type: plain/text, Size: 2177 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-04-10 13:31 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 16:40 [Qemu-devel] compilation issues of qemu, sparc64-bsd-user and OpenbSD Mikolaj Kucharski
2009-04-09 18:23 ` Blue Swirl
2009-04-10 0:07 ` Mikolaj Kucharski
2009-04-10 7:34 ` Blue Swirl
2009-04-10 9:00 ` Brad
2009-04-10 13:31 ` Blue Swirl
2009-04-10 0:24 ` Brad
2009-04-10 2:09 ` Brad
2009-04-10 7:27 ` Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).