Hi, I was trying to upgrade my Sun Ultra 5 from 6.1R to 6.2R and bumped into this when doing a make buildword: building static binutils library ranlib libbinutils.a ===> 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 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 Stop in /usr/src/gnu/usr.bin/binutils/addr2line. *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 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=89486 Now I tried cvsuping the src, make clean and rebuilding binutils with no luck. Any pointers are most appreciated :) -- Joao Barros
Kris Kennaway
2007-Jan-26 03:17 UTC
SPARC64: Can't upgrade from 6.1 to 6.2 due to binutils
On Thu, Jan 25, 2007 at 10:51:21PM +0000, Joao Barros wrote:> Hi, > > I was trying to upgrade my Sun Ultra 5 from 6.1R to 6.2R and bumped > into this when doing a make buildword: > > building static binutils library > ranlib libbinutils.a > ===> 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 > 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 > > 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=89486Ah yes, that could do it ;)> Now I tried cvsuping the src, make clean and rebuilding binutils with no > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070126/dfefc61e/attachment.pgp
On 1/26/07, Matthew Herzog <matthew.herzog@gmail.com> wrote:> I have never been able to upgrade Sparc64 from source. I suspect it is > nearly impossible. > Please let me know if you suceed.This particular box has been upgraded everytime from source for every release since 5.something. I can check the sources, but one thing comes to mind: the first install I did I noticed hme wasn't GIANT free and it has been for a while :) -- Joao Barros