Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 21:13:04 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joao Barros <joao.barros@gmail.com>
Cc:        freebsd-stable@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   Re: SPARC64: Can't upgrade from 6.1 to 6.2 due to binutils
Message-ID:  <20070126021304.GA75601@xor.obsecurity.org>
In-Reply-To: <70e8236f0701251451l35a59aebs9df53ca10568a618@mail.gmail.com>
References:  <70e8236f0701251451l35a59aebs9df53ca10568a618@mail.gmail.com>

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

--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--



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