Skip to content

Error when building rustc on up-to-date Arch Linux (x86-64) #11752

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
smikims opened this issue Jan 23, 2014 · 1 comment
Closed

Error when building rustc on up-to-date Arch Linux (x86-64) #11752

smikims opened this issue Jan 23, 2014 · 1 comment

Comments

@smikims
Copy link

smikims commented Jan 23, 2014

Here's the last few lines of output:

compile: x86_64-unknown-linux-gnu/rt/stage1/arch/x86_64/_context.o
compile: x86_64-unknown-linux-gnu/rt/stage1/arch/x86_64/record_sp.o
compile: x86_64-unknown-linux-gnu/rt/stage1/rust_try.o
link: x86_64-unknown-linux-gnu/rt/stage1/librustrt.a
cp: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustrt.a
compile: x86_64-unknown-linux-gnu/rt/stage1/arch/x86_64/morestack.o
link: x86_64-unknown-linux-gnu/rt/stage1/arch/x86_64/libmorestack.a
cp: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmorestack.a
compile_and_link: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd.so
error: unknown debug flag: no-debug-borrows
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler. 
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: the compiler hit an unexpected failure path. this is a bug
task 'rustc' failed at 'explicit failure', /home/mark/Documents/repos/rust/src/librustc/driver/driver.rs:1137

/home/mark/Documents/repos/rust/mk/target.mk:189: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd.so' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd.so] Error 101
@huonw
Copy link
Member

huonw commented Jan 23, 2014

Thanks for the report! The error of interest here is unknown debug flag: no-debug-borrows, and is caused by removing the no-debug-borrows flag a few days ago.

Rerunning configure will fix it. (see also, #11707)

@huonw huonw closed this as completed Jan 23, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Dec 1, 2023
…ndoo

Fix iter_kv_map false positive into_keys and into_values suggestion

fixes: rust-lang#11752

changelog: [`iter_kv_map`]: fix false positive: Don't suggest `into_keys()` and `into_values()` if the MSRV is to low
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