You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Assertion failing in constructAbstractSubprogramScopeDIE if compiled with -g #14930
Assertion failed: (ScopeDIE), function constructAbstractSubprogramScopeDIE
file /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp, line 534.
What interesting is that it fails with rust nightly but works ok with my local rust configuration:
That's possible, I don't know the intricacies of the build system too well :) I'll close the issue. If you come across the assertion again, we can always reopen.
Just a quick followup: I tried to reproduce this in a single file, so far with no success. If you wonder, the code is being compiled with the following flags:
Activity
Reverting '-g' addition, it's broken again (rust-lang/rust#14930).
farcaller commentedon Jun 16, 2014
Stack trace:
michaelwoerister commentedon Jun 16, 2014
Thanks for the report! I'll see if I can reproduce it.
farcaller commentedon Jun 16, 2014
I've rebuilt my local rustc with following:
and strangely enough the problem seems to be fixed for both local & nightly installs (well, I suppose nightly actually uses libs from local 😄 )
michaelwoerister commentedon Jun 16, 2014
That's possible, I don't know the intricacies of the build system too well
:)I'll close the issue. If you come across the assertion again, we can always reopen.farcaller commentedon Jun 16, 2014
For now it's known broken on a clean host install of rust-nightly. Can you please reopen? I'll confirm if that will happen with next nightly build.
michaelwoerister commentedon Jun 16, 2014
Woops, thanks @huonw.
farcaller commentedon Jun 16, 2014
All tests are done on a clean linux/x86_64 images:
0.11.0-pre-nightly (6d8342f 2014-06-14 17:51:49 +0000)– fails./configure --disable-docs --disable-verify-install– failsfarcaller commentedon Jun 16, 2014
A bit more details, now that I have rustc failing in debug configuration.
In
constructAbstractSubprogramScopeDIEcall,Scopedumps as:FWIW, this is the definition of
get_task_stack_pointer:farcaller commentedon Jun 16, 2014
This might also be of interest (it points to here).
michaelwoerister commentedon Jun 18, 2014
@farcaller Thanks a lot for the detailed information.
farcaller commentedon Jun 18, 2014
Just a quick followup: I tried to reproduce this in a single file, so far with no success. If you wonder, the code is being compiled with the following flags:
steveklabnik commentedon Sep 3, 2015
@farcaller it's been a while, is this still failing for you?
farcaller commentedon Sep 3, 2015
Haven't seen it in a while.
steveklabnik commentedon Sep 3, 2015
Okay, then I'm going to give it a close. If we see it pop up again, let me know!
ticki commentedon Jan 5, 2016
It's broken again.
Enable LTO; build in release mode by default
Auto merge of rust-lang#17715 - Throne3d:fix/glob-may-override-vis-2,…