-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
The compiler seems to open too many files at once:
thread \'main\' panicked at \'failed to open bitcode file `/tmp/.tmpgMegOo/target/release/incremental/style-1fatvssee0g94/s-f4hlkotafd-18kxxq0-working/51kw0352sas5fu11.pre-thin-lto.bc`: Too many open files (os error 24)\', librustc_codegen_llvm/back/write.rs:2477:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
I don't know yet how to best fix this:
- Either only use memory mapped files up to some limit and load the rest of the files eagerly,
- or generally limit the number of object files we partition a crate into (something people are asking for anyway).
Metadata
Metadata
Assignees
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.