Summary: | llvm-core/polly: Not working on llvm-core/clang-21.0.0_pre20250510: Unknown command line argument '-polly' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | zyxhere <zyx> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | mgorny, zyx |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
example build.log.bz2
example build.log where it warns about polly not being used compiler-rt.build.log.bz2 correct-compiler-rt |
Description
zyxhere
2025-05-13 13:47:21 UTC
Created attachment 928735 [details]
example build.log where it warns about polly not being used
Why does the bug summary state a different error than the logs? FWIU clang is complaining that -mllvm=polly... is being passed to linker invocations. (In reply to Michał Górny from comment #2) > Why does the bug summary state a different error than the logs? FWIU clang > is complaining that -mllvm=polly... is being passed to linker invocations. What about the first build with qemu? Sorry, got confused about the attachments. llvm-runtimes/compiler-rt also fails with polly but WebKit and mold build fine 🥴 Created attachment 929107 [details]
compiler-rt.build.log.bz2
(In reply to zyxhere from comment #6) > Created attachment 929107 [details] > compiler-rt.build.log.bz2 Wrong build.log attaching the correct one Created attachment 929108 [details]
correct-compiler-rt
Please try to find a small testcase. Especially important is whether it's the build system mangling arguments or whether it fails when invoked directly and correctly. |