retitle 262655 qemu: amd64 support
tags 262655 - fixed-in-experimental
thanks
Hi,
The package is failing to build in experimental for 2 reasons:
- The linker script used requires binutils 2.16. This is in
experimental and should be available in unstable soon.
- It also fails to build with the following error:
gcc -Wall -O2 -g -fno-strict-aliasing -I. -I/usr/src/qemu-0.7.0/./target-sparc
-I/usr/src/qemu-0.7.0/. -I/usr/src/qemu-0.7.0/./linux-user
-I/usr/src/qemu-0.7.0/./linux-user/sparc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/usr/src/qemu-0.7.0/./fpu -I/usr/src/qemu-0.7.0/./slirp
-c -o translate-op.o /usr/src/qemu-0.7.0/./translate-op.c
In file included from /usr/src/qemu-0.7.0/translate-op.c:36:
op.h: In function `dyngen_code':
op.h:4632: error: syntax error before '.' token
op.h:4634: error: syntax error before '.' token
make[2]: *** [translate-op.o] Error 1
One workaround for this that with the current gcc 3.3 version is:
--- ./target-sparc/op.c.old 2005-06-18 14:06:17.589455744 +0200
+++ ./target-sparc/op.c 2005-06-18 14:06:38.871220424 +0200
@@ -871,7 +871,8 @@
void OPPROTO op_fnegs(void)
{
- FT0 = -FT1;
+ FT0 = FT1;
+ FT0 = -FT0;
}
I've been told that this doesn't work with gcc-4.0 anymore
however, but that seems to generate more problems than
that one for me.
Kurt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]