Skip to content
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

make x86_64-apple-darwin/stage1/bin/rustpkg is broken #6792

Closed
catamorphism opened this issue May 28, 2013 · 6 comments
Closed

make x86_64-apple-darwin/stage1/bin/rustpkg is broken #6792

catamorphism opened this issue May 28, 2013 · 6 comments

Comments

@catamorphism
Copy link
Contributor

Normally, I build stage1 rustpkg to save time. With 833ed21 I get:

compile_and_link: x86_64-apple-darwin/stage0/lib/rustc/x86_64-apple-darwin/lib/librustpkg.dylib
time: 0.043 s   parsing
time: 0.061 s   expansion
time: 0.006 s   configuration
time: 0.006 s   maybe building test harness
time: 0.003 s   intrinsic injection
time: 0.005 s   core injection
time: 0.008 s   ast indexing
time: 0.228 s   external crate/lib resolution
error: duplicate entry for `const`
error: duplicate entry for `copy`
error: duplicate entry for `owned`
error: duplicate entry for `drop`
error: duplicate entry for `add`
error: duplicate entry for `sub`
error: duplicate entry for `mul`
error: duplicate entry for `div`
error: duplicate entry for `rem`
error: duplicate entry for `neg`
error: duplicate entry for `not`
error: duplicate entry for `bitxor`
error: duplicate entry for `bitand`
error: duplicate entry for `bitor`
error: duplicate entry for `shl`
error: duplicate entry for `shr`
error: duplicate entry for `index`
error: duplicate entry for `eq`
error: duplicate entry for `ord`
error: duplicate entry for `str_eq`
error: duplicate entry for `uniq_str_eq`
error: duplicate entry for `annihilate`
error: duplicate entry for `log_type`
error: duplicate entry for `fail_`
error: duplicate entry for `fail_bounds_check`
error: duplicate entry for `exchange_malloc`
error: duplicate entry for `exchange_free`
error: duplicate entry for `malloc`
error: duplicate entry for `free`
error: duplicate entry for `borrow_as_imm`
error: duplicate entry for `borrow_as_mut`
error: duplicate entry for `return_to_mut`
error: duplicate entry for `check_not_borrowed`
error: duplicate entry for `strdup_uniq`
error: duplicate entry for `record_borrow`
error: duplicate entry for `unrecord_borrow`
error: duplicate entry for `start`
@msullivan
Copy link
Contributor

Does this still happen? I couldn't reproduce the analogous problem on my linux machine.

@pnkfelix
Copy link
Member

part of #8058

@pnkfelix
Copy link
Member

@catamorphism I am not sure it will actually help, but could you include your configure invocation and make invocation? It might help others attempting to reproduce the problem.

@pnkfelix
Copy link
Member

  1. I am not able to reproduce on my Mac. Stage1 rustpkg builds just fine.
  2. I do have problems testing it, which at first I had noted here, but now I'm putting in a separate bug: rustpkg hangs during check-stage1 on Mac #8102

@catamorphism
Copy link
Contributor Author

This should be fixed now; I'll build locally just to be sure.

@catamorphism
Copy link
Contributor Author

Works for me now.

flip1995 pushed a commit to flip1995/rust that referenced this issue Mar 11, 2021
Fix ICEs 6792 and 6793

fixes rust-lang#6792, fixes rust-lang#6793.
r? `@matthiaskrgr`

Fixes the ICEs by replacing `TyCtxt::type_of` with `TypeckResults::expr_ty`.

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

3 participants