-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)requires-custom-configThis issue requires custom config/build for rustc in some wayThis issue requires custom config/build for rustc in some way
Description
Building rust on Solaris-x86_64 for the past few releases (now 1.63.0), it seems that late in the build process it still uses the bootstrap compiler where it fails with:
`-Csplit-debuginfo` is unstable on this platform
from this code: compiler/rustc_session/src/config.rs:build_session_options()
The compiler is invoked with -Csplit-debuginfo=off, but that code doesn't handle "off" as disabling split-debuginfo.
Changing the error to a warning in the build tree does not workaround the issue, I have to change it to a warning in the previous version of rust used as a bootstrap compiler.
siketyan, wyatt-herkamp, shangjiyu, phoekz, paul-hansen and 4 more
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)requires-custom-configThis issue requires custom config/build for rustc in some wayThis issue requires custom config/build for rustc in some way