Skip to content

Install llvm-gold in Tumbleweed builder for LTO linking - #6271

Merged
SeanTAllen merged 1 commit into
mainfrom
fix-tumbleweed-lto-link
Oct 10, 2026
Merged

SeanTAllen merged 1 commit into
mainfrom
fix-tumbleweed-lto-link

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

The Tumbleweed rolling-release build fails at the release link step because ld.bfd can't find LLVMgold.so. On Tumbleweed, this plugin lives in the llvm-gold package, which isn't pulled in by clang.

Add llvm-gold to the builder Dockerfile and to the BUILD.md requirements table.

The release build uses LTO (PONY_USE_LTO=ON), which makes clang emit
bitcode objects. The system linker (ld.bfd) needs the LLVMgold.so
plugin to process them. On Tumbleweed, this lives in the llvm-gold
package, which isn't pulled in by the clang package.
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Oct 10, 2026
@SeanTAllen
SeanTAllen merged commit 7cc14b6 into main Oct 10, 2026
5 checks passed
@SeanTAllen
SeanTAllen deleted the fix-tumbleweed-lto-link branch October 10, 2026 21:02
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants