Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 09:52:30 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc:        freebsd-sparc@freebsd.org
Subject:   Re: cross build
Message-ID:  <20030415065230.GB55721@sunbay.com>
In-Reply-To: <20030415064203.GA55721@sunbay.com>
References:  <ybsel4936v6.wl@ett.sat.t.u-tokyo.ac.jp> <20030411195629.GC94333@locore.ca> <ybsk7dwqr7y.wl@ett.sat.t.u-tokyo.ac.jp> <20030415064203.GA55721@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--MnLPg7ZWsaic7Fhd
Content-Type: multipart/mixed; boundary="0ntfKIWw70PvrIHh"
Content-Disposition: inline


--0ntfKIWw70PvrIHh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 15, 2003 at 09:42:03AM +0300, Ruslan Ermilov wrote:
> On Tue, Apr 15, 2003 at 02:12:17PM +0900, Hidetoshi Shimokawa wrote:
> > It was around Nov. 2002. I have upgraded the 4.x box to the latest
> > stable but it still fails at the same point.
> >=20
> > Ruslan, any ideas?
> >=20
> Yes, this is a bug in src/tools/build/Makefile.  It should install
> the version from src/tools/build/endian.h for RELENG_4.  I will
> fix it shortly.  Thanks for the spot.
>=20
Believed to be fixed in the attached commit.

> > > >>> stage 3: cross tools
> > > ....
> > > =3D=3D=3D> usr.bin/elf2aout
> > > /usr/obj/sparc64/export/dpt/FreeBSD/FreeBSD-current/src/i386/export/d=
pt/FreeBSD/FreeBSD-current/src/usr.bin/elf2aout created for /export/dpt/Fre=
eBSD/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/sr=
c/usr.bin/elf2aout/elf2aout.c
> > > echo elf2aout: /usr/lib/libc.a /usr/obj/sparc64/export/dpt/FreeBSD/Fr=
eeBSD-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-c=
urrent/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


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--0ntfKIWw70PvrIHh
Content-Type: message/rfc822
Content-Disposition: inline

Received: from whale.sunbay.crimea.ua (root@localhost)h3F6pRgm057442
	for <ru@sunbay.crimea.ua>; Tue, 15 Apr 2003 09:51:27 +0300 (EEST)
	(envelope-from owner-src-committers@FreeBSD.org)
Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
	h3F6pNkh057420
	for <ru@sunbay.crimea.ua>; Tue, 15 Apr 2003 09:51:26 +0300 (EEST)
	(envelope-from owner-src-committers@FreeBSD.org)
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
	by mx2.freebsd.org (Postfix) with ESMTP id 00CD6567E7
	for <ru@sunbay.crimea.ua>; Mon, 14 Apr 2003 23:51:19 -0700 (PDT)
	(envelope-from owner-src-committers@FreeBSD.org)
Received: by hub.freebsd.org (Postfix)
	id 38BFF37B4AC; Mon, 14 Apr 2003 23:51:13 -0700 (PDT)
Delivered-To: ru@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 538)
	id 4580B37B407; Mon, 14 Apr 2003 23:51:10 -0700 (PDT)
Delivered-To: src-committers@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3A6DB37B404; Mon, 14 Apr 2003 23:51:06 -0700 (PDT)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 88E5143FBF; Mon, 14 Apr 2003 23:51:05 -0700 (PDT)
	(envelope-from ru@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3F6p50U046437;
	Mon, 14 Apr 2003 23:51:05 -0700 (PDT)
	(envelope-from ru@repoman.freebsd.org)
Received: (from ru@localhost)
	by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3F6p4op046434;
	Mon, 14 Apr 2003 23:51:04 -0700 (PDT)
Message-Id: <200304150651.h3F6p4op046434@repoman.freebsd.org>
From: Ruslan Ermilov <ru@FreeBSD.org>
Date: Mon, 14 Apr 2003 23:51:04 -0700 (PDT)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/tools/build Makefile
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-src-committers@FreeBSD.org
Precedence: bulk
X-Loop: FreeBSD.ORG

ru          2003/04/14 23:51:04 PDT

  FreeBSD src repository

  Modified files:
    tools/build          Makefile 
  Log:
  A version of <sys/endian.h> in RELENG_4 doesn't have 64-bit functions.
  
  Spotted by:     simokawa
  
  Revision  Changes    Path
  1.4       +1 -1      src/tools/build/Makefile

--0ntfKIWw70PvrIHh--

--MnLPg7ZWsaic7Fhd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+m6wuUkv4P6juNwoRAovwAKCCWvBI9CDS2nZj4j/SKDI2VBZKHACggjyV
xljmcWWIk2bVti4rSt4wKP0=
=cgO2
-----END PGP SIGNATURE-----

--MnLPg7ZWsaic7Fhd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030415065230.GB55721>