Update Illumos sysroot
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
@jclulow @pfmooney
The Illumos sysroot used by the dist-x86_64-illumos build is very outdated, dating back to 2018: https://github.com/rust-lang/rust/blob/d9617c8d9a55773a96b61ba3a4acb107d65615c1/src/ci/docker/scripts/illumos-toolchain.sh#L50-L55
This needs to be updated to a newer version which at least includes the fix for https://www.illumos.org/issues/14418. LLVM 22 fails to build against the outdated Illumos sysroot, and given that the issue has been fixed upstream, I don't think we should work around this bug as we did in the past.
I don't see any newer sysroot releases on https://github.com/illumos/sysroot/releases, so I don't know how to do this myself. Are the sysroots published in some different place now?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/ci/docker/scripts/illumos-toolchain.sh at lines 50-55 and review the Illumos sysroot release information linked in the issue. Determine where a newer sysroot containing the fix for Illumos issue 14418 can be obtained, update the referenced sysroot, and verify that the dist-x86_64-illumos build works with LLVM 22.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100