Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919837

Summary: dev-libs/opencl-clang-16.0.0-r1 - [clang] ld.lld: error: version script assignment of global to symbol CheckLinkOptions failed: symbol not defined
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jan Henke <gentoo>
Status: CONFIRMED ---    
Severity: normal CC: conikost, yamadharma
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:opencl-clang-16.0.0-r1:20231213-085423.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz
remove unused symbols

Description Toralf Förster gentoo-dev 2023-12-13 20:46:34 UTC
too long lines were shrinked:

[50/54] /usr/lib/llvm/17/bin/clang++-17 -DOPENCL_CLANG_EXPORTS -DUSE_PREBUILT_LLVM -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/16/include -I/var/tmp/portage/dev-libs/opencl-clang-16.0.0-r1/work/opencl-clang-16.0.0_build -I/var/tmp/portage/dev-libs/opencl-clang-16.0.0-r1/work/openc
[51/54] /usr/lib/llvm/17/bin/clang++-17 -DOPENCL_CLANG_EXPORTS -DUSE_PREBUILT_LLVM -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/16/include -I/var/tmp/portage/dev-libs/opencl-clang-16.0.0-r1/work/opencl-clang-16.0.0_build -I/var/tmp/portage/dev-libs/opencl-clang-16.0.0-r1/work/openc
[52/54] /usr/lib/llvm/17/bin/clang++-17 -DOPENCL_CLANG_EXPORTS -DUSE_PREBUILT_LLVM -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/16/include -I/var/tmp/portage/dev-libs/opencl-clang-16.0.0-r1/work/opencl-clang-16.0.0_build -I/var/tmp/portage/dev-libs/opencl-clang-16.0.0-r1/work/openc
[53/54] : && /usr/lib/llvm/17/bin/clang++-17 -fPIC -O3 -pipe -march=native -fno-diagnostics-color -fno-rtti  -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,--gc-sections -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--version-script=/var/tmp/portage/dev-libs/opencl-cla
FAILED: libopencl-clang.so.16+libcxx 
: && /usr/lib/llvm/17/bin/clang++-17 -fPIC -O3 -pipe -march=native -fno-diagnostics-color -fno-rtti  -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,--gc-sections -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--version-script=/var/tmp/portage/dev-libs/opencl-clang-16.0.
ld.lld: error: version script assignment of 'global' to symbol 'CheckLinkOptions' failed: symbol not defined
ld.lld: error: version script assignment of 'global' to symbol 'Link' failed: symbol not defined
ld.lld: error: version script assignment of 'global' to symbol 'GetKernelArgInfo' failed: symbol not defined

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

  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 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   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 bf58b1b3727133b310e98bc35ef7813221a15775
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 13 08:18:56 2023 +0000

    2023-12-13 08:18:55 UTC

emerge -qpvO dev-libs/opencl-clang
[ebuild  N    ] dev-libs/opencl-clang-16.0.0-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-13 20:46:35 UTC
Created attachment 879154 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-13 20:46:37 UTC
Created attachment 879155 [details]
dev-libs:opencl-clang-16.0.0-r1:20231213-085423.log
Comment 3 Toralf Förster gentoo-dev 2023-12-13 20:46:39 UTC
Created attachment 879156 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-13 20:46:41 UTC
Created attachment 879157 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-13 20:46:42 UTC
Created attachment 879158 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-13 20:46:43 UTC
Created attachment 879159 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-13 20:46:45 UTC
Created attachment 879160 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-13 20:46:46 UTC
Created attachment 879161 [details]
temp.tar.xz
Comment 9 Dmitry S. Kulyabov 2024-05-08 20:39:52 UTC
Created attachment 892542 [details, diff]
remove unused symbols