Skip to content

configure: not canonicalizing relative directories #52112

@Ionic

Description

@Ionic

A call like ./configure [...] --local-rust-root=./build/stage0 (possibly also --llvm-root and others) will lead to very difficult-to-debug errors.

I spent two hours trying to figure out why bootstrapping core always failed with an OS error ("No such file or directory"). It boiled down to the bootstrap compiler not being executable since configure does not canonicalize relative paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions