From: "Nardmann, Heiko" <heiko.nardmann@secunet.com>
To: qemu-devel@nongnu.org, Juergen Keil <jk@tools.de>
Subject: Re: [Qemu-devel] Building qemu on UltraSparc
Date: Tue, 24 May 2005 12:58:11 +0200 [thread overview]
Message-ID: <200505241258.22803.heiko.nardmann@secunet.com> (raw)
In-Reply-To: <200505230838.j4N8cg3x017146@imap3.tools.intra>
[-- Attachment #1: Type: text/plain, Size: 6857 bytes --]
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 jk@tools.de
> 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 #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-05-24 11:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-23 8:38 [Qemu-devel] Building qemu on UltraSparc Juergen Keil
2005-05-24 10:58 ` Nardmann, Heiko [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-24 12:20 Juergen Keil
2005-05-24 15:14 ` Nardmann, Heiko
2005-05-21 17:32 Jérôme Warnier
2005-05-21 23:26 ` Herbert Poetzl
2005-05-22 0:13 ` Jérôme Warnier
2005-09-04 1:13 ` Jérôme Warnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505241258.22803.heiko.nardmann@secunet.com \
--to=heiko.nardmann@secunet.com \
--cc=jk@tools.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.