Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922068

Summary: dev-libs/libnl-3.9.0 - ld.lld: error: version script assignment of 'libnl_3' to symbol 'nl_debug_dp' failed: symbol not defined
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: UNCONFIRMED ---    
Severity: normal CC: contyk, kocelfc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/thom311/libnl/pull/375
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004, 912821    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2024-01-13 22:04:32 UTC
Created attachment 882211 [details]
build.log

Same for 3.8.0, so no regression.

[...]
/bin/sh ./libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0 -I./include  -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wpointer-arith  -D_GNU_SOURCE -DSYSCONFDIR=\"/etc/libnl\" -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/include/linux-private -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/include -I./include     -Os -march=bdver2 -pipe -c -o lib/idiag/libnl_idiag_3_la-idiag.lo `test -f 'lib/idiag/idiag.c' || echo '/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/'`lib/idiag/idiag.c
libtool: link: clang -shared  -fPIC -DPIC  lib/.libs/libnl_3_la-addr.o lib/.libs/libnl_3_la-attr.o lib/.libs/libnl_3_la-cache.o lib/.libs/libnl_3_la-cache_mngr.o lib/.libs/libnl_3_la-cache_mngt.o lib/.libs/libnl_3_la-data.o lib/.libs/libnl_3_la-error.o lib/.libs/libnl_3_la-handlers.o lib/.libs/libnl_3_la-hash.o lib/.libs/libnl_3_la-hashtable.o lib/.libs/libnl_3_la-mpls.o lib/.libs/libnl_3_la-msg.o lib/.libs/libnl_3_la-nl.o lib/.libs/libnl_3_la-object.o lib/.libs/libnl_3_la-socket.o lib/.libs/libnl_3_la-utils.o lib/.libs/libnl_3_la-version.o   -Wl,--as-needed -lpthread  -Os -march=bdver2 -Wl,--version-script=/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/libnl-3.sym -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs   -Wl,-soname -Wl,libnl-3.so.200 -o lib/.libs/libnl-3.so.200.26.0
ld.lld: error: version script assignment of 'libnl_3' to symbol 'nl_debug_dp' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0 -I./include -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wpointer-arith -D_GNU_SOURCE "-DSYSCONFDIR=\"/etc/libnl\"" -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/include/linux-private -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/include -I./include -Os -march=bdver2 -pipe -c /var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/lib/idiag/idiag_msg_obj.c  -fPIC -DPIC -o lib/idiag/.libs/libnl_idiag_3_la-idiag_msg_obj.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0 -I./include -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wpointer-arith -D_GNU_SOURCE "-DSYSCONFDIR=\"/etc/libnl\"" -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/include/linux-private -I/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/include -I./include -Os -march=bdver2 -pipe -c /var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/lib/idiag/idiag.c  -fPIC -DPIC -o lib/idiag/.libs/libnl_idiag_3_la-idiag.o
make: *** [Makefile:3020: lib/libnl-3.la] Error 1
make: *** Waiting for unfinished jobs....
/var/tmp/portage/dev-libs/libnl-3.9.0/work/libnl-3.9.0/lib/route/cls/ematch_syntax.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
 * ERROR: dev-libs/libnl-3.9.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2024-01-13 22:05:49 UTC
Created attachment 882212 [details]
emerge --info
Comment 2 Kostadin Shishmanov 2024-05-05 20:17:10 UTC
Possibly fixed upstream with https://github.com/thom311/libnl/commit/264b244e4d0044d6598d247e94f6d39defaede90