Skip to content

Conversation

@dcaliste
Copy link

@dcaliste dcaliste commented Jan 6, 2026

Hello, I'm trying to move to version 1.82.0. I'm not at all accustomed to rust, its usage and compilation. But well, need to start somewhere. I've currently rebased all the patches on top of 1.82.0. I'm pushing this as a WIP, in case this at least could save some work for more knowledgeable people about rust update process.

I'm going to try to compile it in the SDK based on these already existing patches. It must be compiled within the i486 target, right ? Even if I plan to use it later for aarch64 ?

@mlehtima
Copy link
Contributor

mlehtima commented Jan 6, 2026

Just some information about updating rust, this probably will require update of llvm (and clang since it's in same repo as llvm). Updating will also likely cause some fixes to be needed in gecko.

@dcaliste
Copy link
Author

dcaliste commented Jan 6, 2026

Thanks @mlehtima for the reminders. Indeed, when compiling, I'll see what version of LLVM is required and I'll try to help with that also (if I can).

@mlehtima
Copy link
Contributor

mlehtima commented Jan 6, 2026

There is the existing llvm-18 branch already in llvm repo which is good starting point, based on quick check rust 1.82.0 probably needs llvm 19.1.

@dcaliste
Copy link
Author

dcaliste commented Jan 8, 2026

Compilation goes on for some initial steps and stop with:

running: "/usr/bin/llvm-config" "--version" (failure_mode=Exit) (created at src/core/build_steps/llvm.rs:579:19, executed at src/core/build_steps/llvm.rs:579:57)
thread 'main' panicked at src/core/build_steps/llvm.rs:586:5:


bad LLVM version: 10.0.1
, need >=17.0

So the currently worked-on LLVM version 18 should be usable for this Rust version. I'll try to use the v18 branch and report whet I get. Thanks @mlehtima for the indications.

@dcaliste
Copy link
Author

Using the llvm-18 branch from LLVM, it's now compiling and creating RPMs for rust and cargo.

I'm now going to try to use them and see if I get some problem.

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