Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

new binutils 'ld' problem w/some packages?



With a recent amd64-current (9.99.56) with the new binutils, a few
packages fail linking (pkgsrc-2020Q1).

Example: misc/libcdio:

[...]
  CCLD     cdda-player
ld: cdda-player.o: undefined reference to symbol 'cur_term'
ld: /usr/lib/libterminfo.so.2: error adding symbols: DSO missing from command line
gmake[2]: *** [Makefile:623: cdda-player] Error 1
gmake[2]: Leaving directory '/tmp/pkgsrc/misc/libcdio/work/libcdio-2.1.0/src'
gmake[1]: *** [Makefile:577: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/misc/libcdio/work/libcdio-2.1.0'
gmake: *** [Makefile:474: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/misc/libcdio
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/misc/libcdio


Similar problems are observed with "x11/hsetroot" and "security/nss".

I recall a commit related to DSO in the new binutils, but it had no
effect (previous -current 9.99.55 had new binutils prior to that commit).

Anyone else run into this with recent -current on platforms that have
switched to new binutils (i386, amd64 at this time)?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index