Skip to content

Build fails with -Csplit-debuginfo is unstable on this platform #100657

Closed
@gco

Description

@gco

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.T-bootstrapRelevant 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 way

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions