Subject: qemu (0.8.0) and MMX/SSE errors
To: None <tech-pkg@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: tech-pkg
Date: 01/16/2006 16:19:32
Hi,

I'm trying CFLAGS for my Pentium4 processor and QEmu seem to have issue
with them. Flags are set (in mk.conf) as follow :
#########################
PKGSRC_CPUFLAGS=-march=pentium4 -mfpmath=sse -mmmx -msse -msse2
PKGSRC_CFLAGS=-Os -pipe
COPTS+=${PKGSRC_CFLAGS} ${PKGSRC_CPUFLAGS}
CFLAGS+=${PKGSRC_CFLAGS} ${PKGSRC_CPUFLAGS}
CXXFLAGS+=${PKGSRC_CFLAGS} ${PKGSRC_CPUFLAGS}
#########################

I've attached the error (to have a clean mail content ;)
When not using MMX and SSE CFLAGS ("PKGSRC_CPUFLAGS=-march=pentium4"),
qemu compiles OK.

According to qemu changelog (0.7.0), it should be able to use
"MMX/SSE/SSE2/PNI support". Is the issue worth a PR ?

PS: I have quite a lot of things compiled with those CFLAGS (firefox,
gnome, kde, ...) without issues.

TIA,
	Jo