From owner-freebsd-sparc64@FreeBSD.ORG Fri Jan 26 03:17:52 2007 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8867516A5FC; Fri, 26 Jan 2007 03:17:52 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 730B613C4B0; Fri, 26 Jan 2007 03:17:52 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 273901A3C1C; Thu, 25 Jan 2007 18:13:10 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B4E1D513BC; Thu, 25 Jan 2007 21:13:04 -0500 (EST) Date: Thu, 25 Jan 2007 21:13:04 -0500 From: Kris Kennaway To: Joao Barros Message-ID: <20070126021304.GA75601@xor.obsecurity.org> References: <70e8236f0701251451l35a59aebs9df53ca10568a618@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <70e8236f0701251451l35a59aebs9df53ca10568a618@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: SPARC64: Can't upgrade from 6.1 to 6.2 due to binutils X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 03:17:52 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 25, 2007 at 10:51:21PM +0000, Joao Barros wrote: > Hi, >=20 > I was trying to upgrade my Sun Ultra 5 from 6.1R to 6.2R and bumped > into this when doing a make buildword: >=20 > building static binutils library > ranlib libbinutils.a > =3D=3D=3D> gnu/usr.bin/binutils/addr2line (all) > cc -O2 -pipe -I. -I/usr/src/gnu/usr.bin/binutils/addr2line > -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbfd -I/usr/obj/u > cc -O2 -pipe -I. -I/usr/src/gnu/usr.bin/binutils/addr2line > -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbfd -I/usr/obj/u > ../libbinutils/libbinutils.a(bucomm.o)(.text+0xb28): In function > `make_tempname': > : warning: warning: mktemp() possibly used unsafely; consider using=20 > mkstemp() > ../libbfd/libbfd.a(libbfd.o)(.text+0xa2c): In function > `_bfd_generic_verify_endian_match': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(libbfd.o)(.text+0xa70): In function > `_bfd_generic_verify_endian_match': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(libbfd.o)(.text+0xaec): In function `warn_deprecated': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(libbfd.o)(.text+0xb30): In function `warn_deprecated': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(bfd.o)(.text+0x74): In function `bfd_errmsg': > : undefined reference to `libintl_dgettext' > ../libbfd/libbfd.a(bfd.o)(.text+0x2dc): more undefined references to > `libintl_dgettext' follow > *** Error code 1 >=20 > Stop in /usr/src/gnu/usr.bin/binutils/addr2line. FreeBSD doesn't and never has included libintl, so if your sources are trying to compile against it, then they or your world are probably contaminated somehow. > I poked around binutils in the past trying to get firefox running with > the info from this PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D89486 Ah yes, that could do it ;) > Now I tried cvsuping the src, make clean and rebuilding binutils with no= =20 > luck. > Any pointers are most appreciated :) The easiest way to repair your system might be to just do a binary upgrade from new sysinstall media. Kris --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFuWOwWry0BWjoQKURAh0GAKDwe+EH2V3UAMg60suNpCERhu7k1QCeI0IC fmFOWIWOZKy4yVpchAqyiG4= =eomH -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--