Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
glycerine opened this issue Sep 13, 2013 · 1 comment

Comments

@glycerine
Copy link

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.

@huonw
Copy link
Member

huonw commented Mar 2, 2014

This option is gone.

configure: error: Option '--disable-sharedstd' is not recognized

@huonw huonw closed this as completed Mar 2, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 18, 2022
…_fix, r=Jarcho

match_like_matches_macro does not trigger when one arm contains conta…

Close rust-lang#9163
changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants