Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919780 - sys-libs/liburing-2.5 - [clang] ld.lld: error: version script assignment of LIBURING_2.5 to symbol io_uring_prep_sock_cmd failed: symbol not defined
Summary: sys-libs/liburing-2.5 - [clang] ld.lld: error: version script assignment of L...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-12-12 16:57 UTC by Toralf Förster
Modified: 2023-12-16 08:24 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.12 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,188.38 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
environment (environment,83.81 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.04 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,628 bytes, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,46.23 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
sys-libs:liburing-2.5:20231212-110822.log (sys-libs:liburing-2.5:20231212-110822.log,11.13 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.29 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,364 bytes, application/x-xz)
2023-12-12 16:57 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-12-12 16:57:10 UTC
too long lines were shrinked:

llvm-ranlib liburing.a
llvm-ar r liburing-ffi.a setup.ol queue.ol register.ol syscall.ol version.ol nolibc.ol ffi.ol
llvm-ar: warning: creating liburing-ffi.a
llvm-ranlib liburing-ffi.a
clang -fPIC -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wno-unused-parameter -DLIBURING_INTERNAL  -nostdlib -nodefaultlibs -ffreestanding -fno-builtin -fno-stack-protector -shared -Wl,--version-script=liburing.map -Wl,-soname=liburing.so
clang -fPIC -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wno-unused-parameter -DLIBURING_INTERNAL  -nostdlib -nodefaultlibs -ffreestanding -fno-builtin -fno-stack-protector -shared -Wl,--version-script=liburing-ffi.map -Wl,-soname=liburin
ld.lld: error: version script assignment of 'LIBURING_2.5' to symbol 'io_uring_prep_sock_cmd' failed: symbol not defined
clang-17: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:85: liburing-ffi.so.2.5] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
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.6+libcxx
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 5c694d04ae589ca222f3b66757bab69250ab1131
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 12 10:33:53 2023 +0000

    2023-12-12 10:33:53 UTC

emerge -qpvO sys-libs/liburing
[ebuild     U ] sys-libs/liburing-2.5 [2.4] USE="-examples -static-libs -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-12 16:57:11 UTC
Created attachment 878894 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-12 16:57:13 UTC
Created attachment 878895 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-12 16:57:14 UTC
Created attachment 878896 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-12 16:57:15 UTC
Created attachment 878897 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-12 16:57:16 UTC
Created attachment 878898 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-12 16:57:17 UTC
Created attachment 878899 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-12 16:57:18 UTC
Created attachment 878900 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-12 16:57:19 UTC
Created attachment 878901 [details]
sys-libs:liburing-2.5:20231212-110822.log
Comment 9 Toralf Förster gentoo-dev 2023-12-12 16:57:19 UTC
Created attachment 878902 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-12 16:57:20 UTC
Created attachment 878903 [details]
var.tmp.clang.tar.xz
Comment 12 Larry the Git Cow gentoo-dev 2023-12-16 08:24:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5c3a0c47948fc5ea7a26a8db9be37806668a41

commit 1d5c3a0c47948fc5ea7a26a8db9be37806668a41
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-16 08:04:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-16 08:23:54 +0000

    sys-libs/liburing: fix lld 17 build
    
    Closes: https://bugs.gentoo.org/919780
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/liburing/files/liburing-2.5-lld-17.patch | 26 +++++++
 sys-libs/liburing/liburing-2.5-r1.ebuild          | 87 +++++++++++++++++++++++
 2 files changed, 113 insertions(+)