Skip to content

./configure --disable-sharedstd seems borken: No rule to make target `x86_64-unknown-linux-gnu/stage0/lib/libstd.rlib #9163

Closed
@glycerine

Description

@glycerine

Maybe I'm not using the --disable-sharedstd correctly... but:

If I include the --disable-sharedstd in this configuration:

/rust$ ./configure --disable-optimize --enable-debug   --enable-ccache --prefix=/usr/cn/rust/debug-build/install --enable-local-rust --disable-sharedstd --enable-valgrind    --disable-docs    --disable-optimize-cxx    --disable-optimize-llvm   --disable-optimize-tests

then configure completes okay, but make fails almost immediately with No rule to make target `x86_64-unknown-linux-gnu/stage0/lib/libstd.rlib

/rust$ make
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: using ccache gcc
cfg: enabling valgrind (CFG_ENABLE_VALGRIND)
cfg: no llnextgen found, omitting grammar-verification
cfg: disabling doc build (CFG_DISABLE_DOCS)
make: *** No rule to make target `x86_64-unknown-linux-gnu/stage0/lib/libstd.rlib', needed by `x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/bin/rustc'.  Stop.
/rust$ 

If I remote the --disable-sharedstd, then make starts building just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions