Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 22:51:21 +0000
From:      "Joao Barros" <joao.barros@gmail.com>
To:        freebsd-stable@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   SPARC64: Can't upgrade from 6.1 to 6.2 due to binutils
Message-ID:  <70e8236f0701251451l35a59aebs9df53ca10568a618@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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