Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919837 - dev-libs/opencl-clang-16.0.0-r1 - [clang] ld.lld: error: version script assignment of global to symbol CheckLinkOptions failed: symbol not defined
Summary: dev-libs/opencl-clang-16.0.0-r1 - [clang] ld.lld: error: version script assig...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jan Henke
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 20:46 UTC by Toralf Förster
Modified: 2023-12-13 20:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.95 KB, text/plain)
2023-12-13 20:46 UTC, Toralf Förster
Details
dev-libs:opencl-clang-16.0.0-r1:20231213-085423.log (dev-libs:opencl-clang-16.0.0-r1:20231213-085423.log,35.17 KB, text/plain)
2023-12-13 20:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,251.18 KB, text/plain)
2023-12-13 20:46 UTC, Toralf Förster
Details
environment (environment,113.51 KB, text/plain)
2023-12-13 20:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-13 20:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.94 KB, application/x-xz)
2023-12-13 20:46 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,58.65 KB, application/x-xz)
2023-12-13 20:46 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.02 KB, application/x-xz)
2023-12-13 20:46 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-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