Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947147 - net-vpn/networkmanager-openvpn-1.12.0 - ld.lld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined
Summary: net-vpn/networkmanager-openvpn-1.12.0 - ld.lld: error: version script assignm...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-29 07:48 UTC by vadorovsky
Modified: 2024-12-29 10:54 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_947147.txt,7.07 KB, text/plain)
2024-12-29 10:54 UTC, vadorovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vadorovsky 2024-12-29 07:48:54 UTC
Happens on all my musl-llvm systems:

[...]
make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
/bin/sh ./libtool  --tag=CC   --mode=link clang  -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script="./linker-script-binary.ver" -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o src/nm-openvpn-service-openvpn-helper src/nm_openvpn_service_openvpn_helper-nm-openvpn-service-openvpn-helper.o src/libnm-utils.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0
libtool: link: clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script=./linker-script-binary.ver -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -o src/nm-openvpn-service-openvpn-helper src/nm_openvpn_service_openvpn_helper-nm-openvpn-service-openvpn-helper.o -Wl,--export-dynamic  -Wl,--as-needed src/.libs/libnm-utils.a -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
ld.lld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:1375: src/nm-openvpn-service-openvpn-helper] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
/bin/sh ./libtool  --tag=CC   --mode=link clang  -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script="./linker-script-binary.ver" -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o src/nm-openvpn-service src/nm_openvpn_service-nm-openvpn-service.o src/libnm-utils.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0
libtool: link: clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script=./linker-script-binary.ver -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -o src/nm-openvpn-service src/nm_openvpn_service-nm-openvpn-service.o -Wl,--export-dynamic  -Wl,--as-needed src/.libs/libnm-utils.a -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
ld.lld: error: version script assignment of 'global' to symbol '_IO_stdin_used' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:1369: src/nm-openvpn-service] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
/bin/sh ./libtool  --tag=CC   --mode=link clang  -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -avoid-version -Wl,--version-script=./properties/libnm-vpn-plugin-openvpn.ver -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o properties/libnm-vpn-plugin-openvpn.la -rpath /usr/lib/NetworkManager  properties/libnm-vpn-plugin-openvpn-core.la
libtool: link: clang -shared  -fPIC -DPIC  -Wl,--whole-archive properties/.libs/libnm-vpn-plugin-openvpn-core.a -Wl,--no-whole-archive  -Wl,--as-needed -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0  -Wl,--gc-sections -O2 -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,--version-script=./properties/libnm-vpn-plugin-openvpn.ver -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs   -pthread -Wl,-soname -Wl,libnm-vpn-plugin-openvpn.so -o properties/.libs/libnm-vpn-plugin-openvpn.so
libtool: link: ( cd "properties/.libs" && rm -f "libnm-vpn-plugin-openvpn.la" && ln -s "../libnm-vpn-plugin-openvpn.la" "libnm-vpn-plugin-openvpn.la" )
make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
make[2]: Entering directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
/bin/sh ./libtool  --tag=CC   --mode=link clang  -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -o properties/tests/test-import-export properties/tests/test_import_export-test-import-export.o properties/libnm-vpn-plugin-openvpn-core.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0
libtool: link: clang -fdata-sections -ffunction-sections -Wl,--gc-sections -O2 -pipe -march=native -flto=thin -Werror=odr -Werror=strict-aliasing -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -o properties/tests/test-import-export properties/tests/test_import_export-test-import-export.o -Wl,--export-dynamic  -Wl,--as-needed properties/.libs/libnm-vpn-plugin-openvpn-core.a -lgmodule-2.0 -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
make[2]: Leaving directory '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
make[1]: *** [Makefile:1710: all-recursive] Error 1
make: *** [Makefile:1099: all] Error 2
 * ERROR: net-vpn/networkmanager-openvpn-1.12.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-vpn/networkmanager-openvpn-1.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-vpn/networkmanager-openvpn-1.12.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0'
 * S: '/var/tmp/portage/net-vpn/networkmanager-openvpn-1.12.0/work/NetworkManager-openvpn-1.12.0

Reproducible: Always
Comment 1 Greg Kubaryk 2024-12-29 08:32:47 UTC
for the record, could you comment with the output from 'emerge --info'
Comment 2 vadorovsky 2024-12-29 10:54:39 UTC
Created attachment 915432 [details]
emerge --info