too long lines were shrinked: [20/30] Compiling bin/default/lib/replace/replace.empty.c 17:03:51 runner ['clang', '-O2', '-pipe', '-march=native', '-fno-diagnostics-color', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_replace_MODULES=NULL', '-DSTATIC_replace_MODULES_PROT [21/30] Compiling talloc.c 17:03:51 runner ['clang', '-O2', '-pipe', '-march=native', '-fno-diagnostics-color', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-fstack-protector-strong', '-fstack-clash-protection', '-fvisibility=hidden', '-D_PUBLIC_=_PRIVATE_', '-DSTATIC_talloc [22/30] Linking bin/default/libtalloc.so 17:03:51 runner ['clang', '-O2', '-pipe', '-march=native', '-fno-diagnostics-color', '-Wl,-O1', '-Wl,--as-needed', '-Wl,--as-needed', '-Wl,--defsym=__gentoo_check_ldflags__=0', '-Wl,--version-script=/var/tmp/portage/sys-libs/talloc-2.4.1/work/talloc-2.4.1-abi_x86_64.amd64/bin/default/talloc.vscript' ld.lld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld.lld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld.lld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined ------------------------------------------------------------------- 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] 2) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * [2] php8.2 go version go1.21.1 linux/amd64 HEAD of ::gentoo commit 2bb842cc94982e926a763cfe91d20fc7004c0d15 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Sep 25 16:01:43 2023 +0000 2023-09-25 16:01:43 UTC emerge -qpvO sys-libs/talloc [ebuild N ] sys-libs/talloc-2.4.1 USE="python -compat -test (-valgrind)" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Created attachment 871417 [details] emerge-info.txt
Created attachment 871418 [details] emerge-history.txt
Created attachment 871419 [details] environment
Created attachment 871420 [details] etc.clang.tar.xz
Created attachment 871421 [details] etc.portage.tar.xz
Created attachment 871422 [details] logs.tar.xz
Created attachment 871423 [details] sys-libs:talloc-2.4.1:20230925-170247.log
Created attachment 871424 [details] temp.tar.xz
I can confirm this still exists as of sys-libs/talloc-2.4.2
https://reviews.llvm.org/D135402
(In reply to Jan Koester from comment #10) > https://reviews.llvm.org/D135402 Indeed, the build succeeds with -Wl,--undefined-version in LDFLAGS.