rustc-LLVM ERROR: section size does not fit in a uint32_t
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Apparently I'm cursed with linker/llvm errors, but building the example examples/ssr_axum in https://github.com/benwis/thaw_llvm_error with the latest stable rust produces this error
Compiling thaw_utils v0.1.0-beta3 (/celCluster/projects/thaw/thaw_utils)
Compiling thaw_components v0.2.0-beta3 (/celCluster/projects/thaw/thaw_components)
Compiling thaw v0.4.0-beta3 (/celCluster/projects/thaw/thaw)
Compiling demo v0.1.0 (/celCluster/projects/thaw/demo)
rustc-LLVM ERROR: section size does not fit in a uint32_t
error: could not compile `demo` (lib)
Error: Failed to build ssr_axum
The changes undone by this commit might have something to do with it: https://github.com/leptos-rs/leptos/pull/3011/files/6206073c5e50aac57e99e27b4993645d4778a8a8..0375df5431121752579dd50e8aed4393662d8cdc
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 by reproducing the failure while building examples/ssr_axum in the linked thaw_llvm_error repository with the latest stable Rust. Compare the changes referenced in the linked leptos pull request, then trace which change causes rustc-LLVM ERROR: section size does not fit in a uint32_t. Done means the cause is isolated and a verified correction or regression test is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100