On Montag 23 Mai 2005 10:38, Juergen Keil wrote:
[snip]
> All of the above changes are part of bigger Solaris x86 / Solaris SPARC
> / FreeBSD / NetBSD patch that I'll attach below.
>
>
> This patch won't immediately fix the issues that you've got on
> linux/sparc, but it should give you some ideas where to start fixing
> the build issues.
>
> --
> Juergen Keil                          [EMAIL PROTECTED]
> Tools GmbH                    +49 (228) 9858011

You probably did your diff against CVS? I have tried it using with clean 0.7.0 
distribution (gpatch -p0 < ../qemu-solaris-freebsd-netbsd--patch) and got the 
following:

patching file Makefile
patching file Makefile.target
patching file block.c
Hunk #1 succeeded at 528 (offset -3 lines).
patching file bswap.h
patching file configure
Hunk #6 FAILED at 359.
Hunk #7 succeeded at 442 (offset -1 lines).
Hunk #9 succeeded at 502 (offset -1 lines).
Hunk #11 succeeded at 598 (offset -1 lines).
Hunk #13 succeeded at 674 (offset -1 lines).
Hunk #15 succeeded at 780 (offset -1 lines).
1 out of 15 hunks FAILED -- saving rejects to file configure.rej
patching file cpu-exec.c
patching file dyngen-exec.h
patching file dyngen.c
patching file osdep.h
patching file vl.c
Hunk #2 succeeded at 520 (offset -3 lines).
Hunk #4 succeeded at 1631 (offset -3 lines).
patching file vl.h
patching file audio/mixeng.c
patching file fpu/softfloat-native.c
patching file fpu/softfloat-native.h
patching file fpu/softfloat.h
patching file hw/ide.c
Hunk #1 succeeded at 358 (offset -1 lines).
Hunk #3 succeeded at 460 (offset -1 lines).
Hunk #4 succeeded at 894 (offset -24 lines).
Hunk #5 succeeded at 951 (offset -1 lines).
Hunk #6 succeeded at 2204 (offset -26 lines).
Hunk #7 succeeded at 2252 (offset -1 lines).
patching file linux-user/main.c
patching file linux-user/syscall.c
patching file slirp/mbuf.c
patching file slirp/slirp.c
patching file slirp/slirp.h
patching file slirp/socket.c
patching file target-arm/cpu.h
patching file target-i386/cpu.h
patching file target-ppc/cpu.h
patching file target-ppc/helper.c
patching file target-ppc/op_helper.c
patching file target-sparc/cpu.h

This has not been a problem. I have done the following configure call then:

./configure --prefix=$HOME/qemu-0.7.0.installed --target-list="i386-softmmu" 
--cc=gcc-3.4.2 --interp-prefix=$HOME/qemu-0.7.0.installed

Fine, too. Also compilation works fine. But linking fails with the following 
error message:

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c21f does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c216 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c20d does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c200 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c1f7 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c1ea does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34c1dd does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b9b6 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b9ad does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b9a4 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b997 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b98d does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b980 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b973 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b967 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b95b does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b952 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34b949 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34adad does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ada4 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad9b does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad90 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad87 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad7c does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad71 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad65 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad59 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad50 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34ad47 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34a0e3 does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34a0db does not fit

ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol 
__op_gen_label1: value 0x34a0d3 does not fit

collect2: ld returned 1 exit status

Any idea what is happening here?

I have done this on Solaris 9 on a Sun Fire v250 with gcc-3.4.2 and native 
ld/as.

-- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Attachment: pgpAcP8mNmhZj.pgp
Description: PGP signature

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to