-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
dist-x86_64-freebsd fails when building with debug assertions #63663
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Aaron1011
changed the title
dist-x86_64-freebsd fails when buuilding with debug info
dist-x86_64-freebsd fails when building with debug info
Aug 17, 2019
jonas-schievink
added
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
O-freebsd
Operating system: FreeBSD
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Aug 17, 2019
Possibly related to #57298 |
jonas-schievink
removed
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
O-freebsd
Operating system: FreeBSD
labels
Aug 25, 2019
Does not seem to be specific to FreeBSD: #63861 |
jonas-schievink
changed the title
dist-x86_64-freebsd fails when building with debug info
dist-x86_64-freebsd fails when building with debug assertions
Aug 25, 2019
tmandry
added a commit
to tmandry/rust
that referenced
this issue
Sep 10, 2019
… r=varkor save-analysis: Nest typeck tables when processing functions/methods Fixes an issue where we did not nest tables correctly when resolving associated types in formal argument/return type positions. This was the minimized reproduction case that I tested the fix on: ```rust pub trait Trait { type Assoc; } pub struct A; pub fn func() { fn _inner1<U: Trait>(_: U::Assoc) {} fn _inner2<U: Trait>() -> U::Assoc { unimplemented!() } impl A { fn _inner1<U: Trait>(self, _: U::Assoc) {} fn _inner2<U: Trait>(self) -> U::Assoc { unimplemented!() } } } ``` using `debug_assertions`-enabled rustc and by additionally passing `-Zsave-analysis`. Unfortunately the original assertion fired is a *debug* one and from what I can tell we don't run the tests with these on, so I'm not adding a test here. If I missed it and there is a way to run tests with these on, I'd love to add a test case for this. Closes rust-lang#63663 Closes rust-lang#50328 Closes rust-lang#43982
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Steps to reproduce:
src/ci/docker/run.sh dist-x86_64-freebsd
(note thatDEPLOY=1
is not set, which is why we don't see this on Azure)This appears to be a legimitate bug, which is normally not exposed due to the
if cfg!(debug_assertions)
block invalidate_hir_id_for_typeck_tables
not running on CI.The text was updated successfully, but these errors were encountered: