Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941843 - sys-devel/llvm-20.0.0.9999::gentoo failed (compile phase)
Summary: sys-devel/llvm-20.0.0.9999::gentoo failed (compile phase)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-19 11:47 UTC by Emirhan Taşdeviren
Modified: 2024-10-24 17:14 UTC (History)
2 users (show)

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


Attachments
Build log for sys-devel/llvm-20.0.0.9999::gentoo (build.log,105.43 KB, text/x-log)
2024-10-19 11:47 UTC, Emirhan Taşdeviren
Details
Emerge info for sys-devel/llvm-20.0.0.9999::gentoo (emerge-info.txt,7.55 KB, text/plain)
2024-10-19 11:47 UTC, Emirhan Taşdeviren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emirhan Taşdeviren 2024-10-19 11:47:13 UTC
Created attachment 906331 [details]
Build log for sys-devel/llvm-20.0.0.9999::gentoo

Hello,

When I try building both sys-devel/llvm-19.1.2::gentoo and sys-devel/llvm-20.0.0.9999::gentoo I get same error.

I managed to capture this line from the logs. (See the attachment to view all)

FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
/usr/lib/llvm/20/bin/clang++ -m32 -mfpmath=sse -DLLVM_EXPORTS -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMI
T_MACROS -I/var/tmp/portage/sys-devel/llvm-20.0.0.9999/work/llvm_build-abi_x86_32.x86/lib/Support -I/var/tmp/portage/sys-devel/llvm-20.0.0.9999/work/llvm/lib/Support -I/var/tmp/portage/sys-devel/llvm-20.0.0.9999
/work/llvm_build-abi_x86_32.x86/include -I/var/tmp/portage/sys-devel/llvm-20.0.0.9999/work/llvm/include  -march=znver5 -O2 -pipe -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werr
or=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthro
ugh -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunctio
n-sections -fdata-sections  -std=c++17 -UNDEBUG -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/APInt
.cpp.o -c /var/tmp/portage/sys-devel/llvm-20.0.0.9999/work/llvm/lib/Support/APInt.cpp
clang++: /var/tmp/portage/sys-devel/llvm-20.0.0.9999/work/llvm/lib/Target/X86/X86ISelLowering.cpp:34122: virtual void llvm::X86TargetLowering::ReplaceNodeResults(SDNode *, SmallVectorImpl<SDValue> &, SelectionDA
G &) const: Assertion `Subtarget.hasXOP() && "Expected XOP"' failed.
Comment 1 Emirhan Taşdeviren 2024-10-19 11:47:45 UTC
Created attachment 906332 [details]
Emerge info for sys-devel/llvm-20.0.0.9999::gentoo
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-24 17:06:00 UTC
I'm sorry but we aren't going to provide support for live ebuilds.  Since you're using a live version of clang, it's quite possible that you've hit a broken commit upstream.  Please try using another compiler, e.g. gcc or clang < 20.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-24 17:14:03 UTC
And if you can consistently reproduce it with a definitely-working compiler, please report it upstream.