Summary: | sys-devel/clang-18.1.4: ICE when building gui-wm/wayfire-0.8.1-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | m <miamac.dev> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | immoloism, maintainer-needed, parona |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/llvm/llvm-project/issues/85343 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
gcc llvm llvm18 |
Created attachment 891694 [details]
gcc
Created attachment 891695 [details]
llvm
Created attachment 891696 [details]
llvm18
GCC fails seems to be libstdc++ related as compiles fine on my gcc machine however have confirmed the llvm error on multiple llvm18 machines. (In reply to immolo from comment #4) > GCC fails seems to be libstdc++ related as compiles fine on my gcc machine > however have confirmed the llvm error on multiple llvm18 machines. To be clear, as I explained on IRC, it is invalid to try to use GCC to build anything C++ on an LLVM system using libcxx. Building it with GCC is invalid as Sam mentioned, you could try your luck with building wf-config against libstdc++ as well, but then you would have look out for other incompatibilities. This regression shouldn't occur on clang-17 and both of your llvm logs are with clang-18. This issue is fixed in the upcoming clang-19 already. |
Created attachment 891693 [details] emerge --info Ive tried compiling wayfire with the USE="X gles3 -test". This results in a failed compile. I have tried on GCC with O2, march=native and pipe optimizations and also llvm17 clang with o3, march=native, pipe, Werror=odr, Werror=strict-aliasing and thinlto. Another member has attempted on llvm18 which also fails to compile.