Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952084 - llvm-runtimes/offload-20.1.1 - [llvm] x86_64-pc-linux-gnu-ld: error: undefined symbol: llvm::TableGenMain(char const , std::function<bool (llvm::raw_ostream&, llvm::Recor
Summary: llvm-runtimes/offload-20.1.1 - [llvm] x86_64-pc-linux-gnu-ld: error: undefine...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2025-03-26 08:23 UTC by Toralf Förster
Modified: 2025-03-26 12:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.74 KB, text/plain)
2025-03-26 08:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.90 KB, text/plain)
2025-03-26 08:23 UTC, Toralf Förster
Details
environment (environment,142.49 KB, text/plain)
2025-03-26 08:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-26 08:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.73 KB, application/x-xz)
2025-03-26 08:23 UTC, Toralf Förster
Details
llvm-runtimes:offload-20.1.1:20250325-225647.log (llvm-runtimes:offload-20.1.1:20250325-225647.log,38.88 KB, text/plain)
2025-03-26 08:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,29.66 KB, application/x-xz)
2025-03-26 08:23 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,37.58 KB, text/plain)
2025-03-26 08:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.56 KB, application/x-xz)
2025-03-26 08:23 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 2025-03-26 08:23:23 UTC
too long lines were shrinked:

[25/31] /usr/bin/cmake -E cmake_symlink_library libomptarget.so.20.1+libcxx libomptarget.so.20.1+libcxx libomptarget.so && :
[26/31] /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DLLVM_BUILD_STATIC -DOMPT_SUPPORT=1 -I/usr/lib/llvm/20/include  -O2 -pipe -march=native -fno-diagnostics-color -std=c++17 -fno-color-diagnostics -MD -MT tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/offload-tblgen.cpp.o -MF tools/offload
[27/31] /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -DLLVM_BUILD_STATIC -DOMPT_SUPPORT=1 -I/usr/lib/llvm/20/include  -O2 -pipe -march=native -fno-diagnostics-color -std=c++17 -fno-color-diagnostics -MD -MT tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/PrintGen.cpp.o -MF tools/offload-tblge
[28/31] : && /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -Wl,--gc-sections tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/APIGen.cpp.
FAILED: offload-tblgen 
: && /usr/lib/llvm/20/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -Wl,--gc-sections tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/APIGen.cpp.o tools/
x86_64-pc-linux-gnu-ld: error: undefined symbol: llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>)
>>> referenced by offload-tblgen.cpp
>>>               tools/offload-tblgen/CMakeFiles/offload-tblgen.dir/offload-tblgen.cpp.o:(llvm::offload::tblgen::OffloadTblgenMain(int, char**))

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20250325-171502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.1+libcxx
llvm-config: 20.1.1+libcxx
Python 3.12.9

  HEAD of ::gentoo
commit 638d555d79315016a675cfb0227b6eac3043a5c6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 25 16:50:21 2025 +0000

    2025-03-25 16:50:21 UTC

emerge -qpvO =llvm-runtimes/offload-20.1.1
[ebuild  N    ] llvm-runtimes/offload-20.1.1  USE="debug ompt -test -verify-sig" LLVM_TARGETS="-AMDGPU -NVPTX"
Comment 1 Toralf Förster gentoo-dev 2025-03-26 08:23:24 UTC
Created attachment 922821 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-26 08:23:25 UTC
Created attachment 922822 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-03-26 08:23:26 UTC
Created attachment 922823 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-03-26 08:23:27 UTC
Created attachment 922824 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-03-26 08:23:28 UTC
Created attachment 922825 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-26 08:23:29 UTC
Created attachment 922826 [details]
llvm-runtimes:offload-20.1.1:20250325-225647.log
Comment 7 Toralf Förster gentoo-dev 2025-03-26 08:23:30 UTC
Created attachment 922827 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-26 08:23:31 UTC
Created attachment 922828 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-03-26 08:23:33 UTC
Created attachment 922829 [details]
temp.tar.xz