From owner-freebsd-sparc64@FreeBSD.ORG Mon Apr 14 22:12:22 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7009A37B401; Mon, 14 Apr 2003 22:12:22 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9409643FDF; Mon, 14 Apr 2003 22:12:20 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 5EA9B3781AC; Tue, 15 Apr 2003 14:12:18 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h3F5CIcV031553; Tue, 15 Apr 2003 14:12:18 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])2.9.3.2) with ESMTP id AIJ33786; Tue, 15 Apr 2003 14:12:17 +0900 (JST) Date: Tue, 15 Apr 2003 14:12:17 +0900 Message-ID: From: Hidetoshi Shimokawa To: Jake Burkholder , ru@freebsd.org In-Reply-To: <20030411195629.GC94333@locore.ca> References: <20030411195629.GC94333@locore.ca> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 05:12:22 -0000 It was around Nov. 2002. I have upgraded the 4.x box to the latest stable but it still fails at the same point. Ruslan, any ideas? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html At Fri, 11 Apr 2003 15:56:29 -0400, Jake Burkholder wrote: > > Apparently, On Fri, Apr 11, 2003 at 03:06:53PM +0900, > Hidetoshi Shimokawa said words to the effect of; > > > Is cross compile for sparc64 binaries on FreeBSD-4 i386 supported? > > > > I could do it a weeks ago but now I failed with the following error. > > > > TARGET_ARCH=sparc64 make -j2 buildworld > > How old is your 4.x box? You may have to upgrade to a recent -stable to > cross build. There's been some dispute about what versions of 4.x cross > builds are to be supported on, and I think recently certain commits which > made it possible to cross build on older versions of 4.x were backed out. > > If it doesn't work with top of tree -stable I suggest email ru@. > > Thanks, > Jake At Fri, 11 Apr 2003 15:06:53 +0900, Hidetoshi Shimokawa wrote: > -------------------------------------------------------------- > >>> stage 3: cross tools > .... > ===> usr.bin/elf2aout > /usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/export/dpt/FreeBSD/FreeBSD-current/src/usr.bin/elf2aout created for /export/dpt/FreeBSD/FreeBSD-current/src/usr.bin/elf2aout > rm -f .depend > mkdep -f .depend -a -I/usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/legacy/usr/include /export/dpt/FreeBSD/FreeBSD-current/src/usr.bin/elf2aout/elf2aout.c > echo elf2aout: /usr/lib/libc.a /usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/legacy/usr/lib/libegacy.a >> .depend > cc -O -pipe -I/usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/legacy/usr/include -c /export/dpt/FreeBSD/FreeBSD-current/src/usr.bin/elf2aout/elf2aout.c > cc -O -pipe -I/usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/legacy/usr/include -L/usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/legacy/usr/lib -static -o elf2aout elf2aout.o -legacy > elf2aout.o: In function `main': > elf2aout.o(.text+0x20b): undefined reference to `be64toh' > elf2aout.o(.text+0x257): undefined reference to `be64toh' > elf2aout.o(.text+0x346): undefined reference to `be64toh' > elf2aout.o(.text+0x395): undefined reference to `be64toh' > elf2aout.o(.text+0x3f9): undefined reference to `be64toh' > *** Error code 1 > > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html