From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DaXBf-0005We-Fb for qemu-devel@nongnu.org; Tue, 24 May 2005 07:03:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DaXBZ-0005Tq-DJ for qemu-devel@nongnu.org; Tue, 24 May 2005 07:02:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaXBZ-0005S0-7o for qemu-devel@nongnu.org; Tue, 24 May 2005 07:02:57 -0400 Received: from [213.68.205.162] (helo=b.mx.secunet.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DaX7Z-0004Yr-2v for qemu-devel@nongnu.org; Tue, 24 May 2005 06:58:49 -0400 From: "Nardmann, Heiko" Subject: Re: [Qemu-devel] Building qemu on UltraSparc Date: Tue, 24 May 2005 12:58:11 +0200 References: <200505230838.j4N8cg3x017146@imap3.tools.intra> In-Reply-To: <200505230838.j4N8cg3x017146@imap3.tools.intra> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1803784.aJdtd71zg1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505241258.22803.heiko.nardmann@secunet.com> Reply-To: "Nardmann, Heiko" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Juergen Keil --nextPart1803784.aJdtd71zg1 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 distribution (gpatch -p0 < ../qemu-solaris-freebsd-netbsd--patch) and got t= he=20 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: =2E/configure --prefix=3D$HOME/qemu-0.7.0.installed --target-list=3D"i386-s= oftmmu"=20 =2D-cc=3Dgcc-3.4.2 --interp-prefix=3D$HOME/qemu-0.7.0.installed =46ine, too. Also compilation works fine. But linking fails with the follow= ing=20 error message: ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c21f does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c216 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c20d does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c200 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c1f7 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c1ea does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34c1dd does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b9b6 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b9ad does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b9a4 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b997 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b98d does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b980 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b973 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b967 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b95b does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b952 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34b949 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34adad does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ada4 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad9b does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad90 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad87 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad7c does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad71 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad65 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad59 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad50 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34ad47 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34a0e3 does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __op_gen_label1: value 0x34a0db does not fit ld: fatal: relocation error: R_SPARC_WDISP22: file libqemu.a(op.o): symbol= =20 __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= =20 ld/as. =2D-=20 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 --nextPart1803784.aJdtd71zg1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCkwjOpm53PRScYygRAmlqAJ4lhTM7iaVPB6I1LuWXk4L19uSX3ACg4AXi R093TGyobbVq//n6wcCdFe4= =gzZu -----END PGP SIGNATURE----- --nextPart1803784.aJdtd71zg1--