Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914637 - sys-apps/keyutils-1.6.3 - [clang] ld.lld: error: version script assignment of KEYUTILS_1.7 to symbol keyctl_restrict failed: symbol not defined
Summary: sys-apps/keyutils-1.6.3 - [clang] ld.lld: error: version script assignment of...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Robin Johnson
URL: https://lore.kernel.org/keyrings/8556...
Whiteboard:
Keywords: PATCH, PullRequest
: 926118 (view as bug list)
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-09-25 08:21 UTC by Toralf Förster
Modified: 2024-04-14 06:10 UTC (History)
14 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.90 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,22.20 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
environment (environment,95.59 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-25 08:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,6.25 KB, application/x-xz)
2023-09-25 08:21 UTC, Toralf Förster
Details
sys-apps:keyutils-1.6.3:20230925-042522.log (sys-apps:keyutils-1.6.3:20230925-042522.log,4.76 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.45 KB, application/x-xz)
2023-09-25 08:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-25 08:21:55 UTC
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)"
Comment 1 Toralf Förster gentoo-dev 2023-09-25 08:21:56 UTC
Created attachment 871308 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-25 08:21:56 UTC
Created attachment 871309 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-25 08:21:58 UTC
Created attachment 871310 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-25 08:21:58 UTC
Created attachment 871311 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-25 08:21:59 UTC
Created attachment 871312 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-25 08:21:59 UTC
Created attachment 871313 [details]
sys-apps:keyutils-1.6.3:20230925-042522.log
Comment 7 Toralf Förster gentoo-dev 2023-09-25 08:22:00 UTC
Created attachment 871314 [details]
temp.tar.xz
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-04 02:09:51 UTC
*** Bug 926118 has been marked as a duplicate of this bug. ***
Comment 9 Andy 2024-04-14 06:10:29 UTC
I have a package env file changing the LDFLAGS.

LDFLAGS="${LDFLAGS} -Wl,--undefined-version”

Similar to bug 915068 and 915068