View previous topic :: View next topic |
Author |
Message |
Shadow_Fury Apprentice
Joined: 20 Apr 2021 Posts: 167 Location: 11.435765792823453, 143.05926743686274
|
Posted: Sun Oct 13, 2024 10:13 pm Post subject: llvm fails to emerge when updating world |
|
|
in progress LLVM based system.
i'm trying to install LLVM, but the ebuild fails.
a cursory glance shows this error in the build log:
Code: |
/var/tmp/portage/sys-devel/llvm-19.1.1/work/llvm/lib/Target/AMDGPU/VOPCInstructions.td:2163:7: error: Record `V_CMP_F_U32_sdwa_vi' does not have a field named `OutOperandList'!
def _sdwa_vi :
|
i'm stuck. help is appreciated.
emerge --info '=sys-devel/llvm-19.1.1::gentoo'
emerge -pqv '=sys-devel/llvm-19.1.1::gentoo':
Code: |
[ebuild NS ] sys-devel/llvm-19.1.1 [17.0.6] USE="libffi verify-sig* xml* zstd -binutils-plugin -debug -debuginfod -doc -exegesis -libedit -test -z3 (-ncurses%*) (-xar%)" ABI_X86="(32) (64) (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa"
[ebuild NS ] sys-devel/llvm-toolchain-symlinks-19 [17-r1] USE="native-symlinks -multilib-symlinks"
|
/var/tmp/portage/sys-devel/llvm-19.1.1/temp/build.log |
|
Back to top |
|
|
Shadow_Fury Apprentice
Joined: 20 Apr 2021 Posts: 167 Location: 11.435765792823453, 143.05926743686274
|
Posted: Tue Oct 15, 2024 12:41 am Post subject: |
|
|
some updates:
i can't get ANY version of LLVM to compile correctly.
i've tried disabling all of my custom CFLAGS, that didn't work, and compiling with GCC gave this in the build log:
Code: |
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/allocator.h:222:7: internal compiler error: Segmentation fault
222 | operator!=(const allocator&, const allocator&) _GLIBCXX_NOTHROW
| ^~~~~~~~
0x1c7a5bb internal_error(char const*, ...)
???:0
0x96c547 ggc_internal_alloc(unsigned long, void (*)(void*), unsigned long, unsigned long)
???:0
0xb19b60 ggc_realloc(void*, unsigned long)
???:0
0x6fcbe5 void va_gc::reserve<tree_node*, va_gc>(vec<tree_node*, va_gc, vl_embed>*&, unsigned int, bool)
???:0
0x7f7d56 pushdecl(tree_node*, bool)
???:0
0x88b1aa instantiate_class_template(tree_node*)
???:0
0x8c67bb complete_type(tree_node*)
???:0
0x8c6851 complete_type_or_maybe_complain(tree_node*, tree_node*, int)
???:0
0x86d1f7 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x87c0f8 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
???:0
0x88a1f6 instantiate_class_template(tree_node*)
???:0
0x8c67bb complete_type(tree_node*)
???:0
0x8c693f complete_type_or_else(tree_node*, tree_node*)
???:0
0x76fed9 xref_basetypes(tree_node*, tree_node*)
???:0
0x88a0fa instantiate_class_template(tree_node*)
???:0
0x8c67bb complete_type(tree_node*)
???:0
0x8c6851 complete_type_or_maybe_complain(tree_node*, tree_node*, int)
???:0
0x86d1f7 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x87c0f8 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
???:0
0x88a1f6 instantiate_class_template(tree_node*)
???:0
|
similar errors seem to occur regardless of version, even trying to re-compile the currently installed version results in similar errors.
l have NO idea where to go from here.
advice is greatly appreciated. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9795 Location: almost Mile High in the USA
|
Posted: Tue Oct 15, 2024 12:53 am Post subject: |
|
|
dmesg report any oomkiller reports?
memtest86+ report any issues with your RAM?
Recently I've been having problems with OOM with llvm but it was due to really running out of RAM, but I can't see your 32GiB being the same problem, though still worth to ask... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|