-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Using both --enable-debug, --enable-optimization causes an assertion failure on build #26484
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Comments
robertg
changed the title
Using both --enable-debug, --enable-optimization causes an assertion failure
Using both --enable-debug, --enable-optimization causes an assertion failure on build
Jun 21, 2015
jdm
added
the
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
label
Jun 21, 2015
Repros for me as well, on:
|
yes I can reproduce this locally as well (thought it was somehow related to my own branch, glad I checked against master as well...) |
backtrace from the assert under lldb on OS X : https://gist.github.com/pnkfelix/13851983520628197add |
|
This was referenced Jul 13, 2015
(reduced test case here: https://gist.github.com/pnkfelix/268609f5a2e88cddac63 ) |
Yuck, these kinds bugs always take days to properly track down |
bors
added a commit
that referenced
this issue
Jul 21, 2015
fix `configure`: allow both `--enable-debug` and `--disable-debuginfo` in one invocation. This is my very local fix to allow one to be able to (1.) build `rustc` and (2.) run `make check` with internal debug-mode *assertions* turned on in the presence of bugs like #26447 and #26484 (both of which are solely caused by debuginfo and thus can be sidestepped via `--disable-debuginfo`). This partially addresses #24416 (namely, it addresses the papercut outlined in the description of that ticket). But there are other issues mentioned in the comment thread that are not addressed here, so they should be separately addressed before closing that ticket, or separate bugs should be opened for them.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you do
./configure --enable-debug --enable-optimization
,make
will fail with:Fails on both mac, linux on master. This error does not occur if you only use
--enable-debug
or--enable-optimization
exclusively.The text was updated successfully, but these errors were encountered: