clang -I. -O2 -pipe -march=native -fno-diagnostics-color -g -Wall -o key.dns_resolver.o -c key.dns_resolver.c 1 warning generated. clang -I. -O2 -pipe -march=native -fno-diagnostics-color -g -Wall -o dns.afsdb.o -c dns.afsdb.c clang++ -I. -O2 -pipe -march=native -fno-diagnostics-color -g -Wall -x c++-header -fsyntax-only keyutils.h touch cxx.stamp clang -O2 -pipe -march=native -fno-diagnostics-color -g -Wall -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libkeyutils.so.1 -Wl,--version-script,version.lds -o libkeyutils.so.1.10 keyutils.os ld.lld: error: version script assignment of 'KEYUTILS_1.7' to symbol 'keyctl_restrict' failed: symbol not defined ld.lld: error: version script assignment of 'KEYUTILS_1.7' to symbol 'keyctl_dh_compute_kdf_alloc' failed: symbol not defined ld.lld: warning: attempt to reassign symbol 'keyctl_pkey_query' of version 'KEYUTILS_1.6' to version 'KEYUTILS_1.8' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_clang-20230924-160600 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.1+libcxx Python 3.11.5 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.72.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * go version go1.21.1 linux/amd64 HEAD of ::gentoo commit b6386358d8bf97934f36786fae8ac908dd6229da Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Sep 25 03:31:43 2023 +0000 2023-09-25 03:31:42 UTC emerge -qpvO sys-apps/keyutils [ebuild N ] sys-apps/keyutils-1.6.3 USE="(split-usr) -static -static-libs -test" ABI_X86="(64) -32 (-x32)"
Created attachment 871308 [details] emerge-info.txt
Created attachment 871309 [details] emerge-history.txt
Created attachment 871310 [details] environment
Created attachment 871311 [details] etc.clang.tar.xz
Created attachment 871312 [details] etc.portage.tar.xz
Created attachment 871313 [details] sys-apps:keyutils-1.6.3:20230925-042522.log
Created attachment 871314 [details] temp.tar.xz
*** Bug 926118 has been marked as a duplicate of this bug. ***
I have a package env file changing the LDFLAGS. LDFLAGS="${LDFLAGS} -Wl,--undefined-version” Similar to bug 915068 and 915068
(In reply to Andy from comment #9) > I have a package env file changing the LDFLAGS. > > LDFLAGS="${LDFLAGS} -Wl,--undefined-version” > > Similar to bug 915068 and 915068 worked for me with 1.6.3-r1 and 18.1.4+libcxx
The package environment change from Andy also fixed this issue for me. Thanks!
I have this same issue. I'll try the workaround and see if it works