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

fix configure: allow both --enable-debug and --disable-debuginfo #27139

Merged
merged 1 commit into from
Jul 21, 2015

Conversation

pnkfelix
Copy link
Member

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.

@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

pnkfelix added a commit to pnkfelix/rust that referenced this pull request Jul 20, 2015
…s needed for run-pass tests.

I still cannot do complete run-pass run in `--enable-debug` (*) build
due to rust-lang#27023.

But these bits are certainly necessary.

(*) (even after disabling debuginfo, see rust-lang#27139)
@dotdash
Copy link
Contributor

dotdash commented Jul 20, 2015

@bors r+

@bors
Copy link
Contributor

bors commented Jul 20, 2015

📌 Commit ac33f15 has been approved by dotdash

@bors
Copy link
Contributor

bors commented Jul 21, 2015

⌛ Testing commit ac33f15 with merge 48a1f1b...

bors added a commit that referenced this pull request 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.
@bors bors merged commit ac33f15 into rust-lang:master Jul 21, 2015
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

Successfully merging this pull request may close these issues.

5 participants