Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922068 - dev-libs/libnl-3.9.0 - ld.lld: error: version script assignment of 'libnl_3' to symbol 'nl_debug_dp' failed: symbol not defined
Summary: dev-libs/libnl-3.9.0 - ld.lld: error: version script assignment of 'libnl_3' ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: LD-is-lld, systemwide-lld 912821
  Show dependency tree
 
Reported: 2024-01-13 22:04 UTC by ernsteiswuerfel
Modified: 2024-05-07 13:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libnl-3.9.0:20240113-215837.log,85.49 KB, text/plain)
2024-01-13 22:04 UTC, ernsteiswuerfel
Details
emerge --info (file_922068.txt,7.32 KB, text/plain)
2024-01-13 22:05 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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