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

Remove hack around comparisons of i1 values (fixes #40980) #50137

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

nox
Copy link
Contributor

@nox nox commented Apr 21, 2018

The regression test still passes without that 2 years old hack. The underlying
LLVM bug has probably been fixed upstream since then.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

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

@nox
Copy link
Contributor Author

nox commented Apr 21, 2018

r? @eddyb

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 21, 2018
@rust-highfive rust-highfive assigned eddyb and unassigned nikomatsakis Apr 21, 2018
@jonas-schievink
Copy link
Contributor

#36856 is already closed, did you mean to link #40980 instead?

@nox nox changed the title Remove hack around comparisons of i1 values (fixes #36856) Remove hack around comparisons of i1 values (fixes #40980) Apr 21, 2018
@nox
Copy link
Contributor Author

nox commented Apr 21, 2018

Oh yes.

The regression test still passes without that 2 years old hack. The underlying
LLVM bug has probably been fixed upstream since then.
@hanna-kruppe
Copy link
Contributor

As discussed in #40980, we still support LLVM 3.9 which does not have the bug fix. There are other miscompilations where we have backported fixes but don't work around them on old LLVM versions (passing responsibility to backport to people who build with old LLVM versions), but this is still sort of a big step.

@hanna-kruppe
Copy link
Contributor

Nevermind, it turns out LLVM 3.9 never had this bug to begin with, it only ever existed in https://github.com/rust-lang/llvm/ (and doesn't any more in current versions).

@eddyb
Copy link
Member

eddyb commented Apr 24, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Apr 24, 2018

📌 Commit 5d5fb97 has been approved by eddyb

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 24, 2018
@bors
Copy link
Contributor

bors commented Apr 25, 2018

⌛ Testing commit 5d5fb97 with merge 50002ae7707fae917ed7430e2037e05de19c5ff0...

@bors
Copy link
Contributor

bors commented Apr 25, 2018

💔 Test failed - status-appveyor

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 25, 2018
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-3.9 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:01:25]  Downloading serde_derive v1.0.40
[00:01:25] error: unable to get packages from source
[00:01:25] 
[00:01:25] Caused by:
[00:01:25]   failed to get 200 response from `https://crates.io/api/v1/crates/serde_derive/1.0.40/download`, got 404
[00:01:25] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:01:25] Build completed unsuccessfully in 0:00:37
[00:01:25] Makefile:81: recipe for target 'prepare' failed
[00:01:25] make: *** [prepare] Error 1
[00:01:25]  Downloading cc v1.0.10
[00:01:25] error: unable to get packages from source
[00:01:25] 
[00:01:25] Caused by:
[00:01:25] Caused by:
[00:01:25]   failed to get 200 response from `https://crates.io/api/v1/crates/cc/1.0.10/download`, got 404
[00:01:25] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:01:25] Build completed unsuccessfully in 0:00:00
[00:01:26] Makefile:81: recipe for target 'prepare' failed
[00:01:26] make: *** [prepare] Error 1
[00:01:26]  Downloading toml v0.4.6
[00:01:26] error: unable to get packages from source
[00:01:26] 
[00:01:26] Caused by:
[00:01:26] Caused by:
[00:01:26]   failed to get 200 response from `https://crates.io/api/v1/crates/toml/0.4.6/download`, got 404
[00:01:26] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:01:26] Build completed unsuccessfully in 0:00:00
[00:01:26] Makefile:81: recipe for target 'prepare' failed
[00:01:26] make: *** [prepare] Error 1
[00:01:27]  Downloading toml v0.4.6
[00:01:27] error: unable to get packages from source
[00:01:27] 
[00:01:27] Caused by:
[00:01:27] Caused by:
[00:01:27]   failed to get 200 response from `https://crates.io/api/v1/crates/toml/0.4.6/download`, got 404
[00:01:27] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:01:27] Build completed unsuccessfully in 0:00:00
[00:01:27] Makefile:81: recipe for target 'prepare' failed
[00:01:27] make: *** [prepare] Error 1
[00:01:27]  Downloading serde_derive v1.0.40
[00:01:27] error: unable to get packages from source
[00:01:27] 
[00:01:27] Caused by:
[00:01:27] Caused by:
[00:01:27]   failed to get 200 response from `https://crates.io/api/v1/crates/serde_derive/1.0.40/download`, got 404
[00:01:27] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:01:27] Build completed unsuccessfully in 0:00:00
[00:01:27] Makefile:81: recipe for target 'prepare' failed
[00:01:27] make: *** [prepare] Error 1
[00:01:27] The command has failed after 5 attempts.

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
travis_time:start:06a943fd
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@nagbot-rs
Copy link

nagbot-rs commented Apr 25, 2018 via email

@bors
Copy link
Contributor

bors commented Apr 25, 2018

@nagbot-rs: 🔑 Insufficient privileges: not in try users

@aturon
Copy link
Member

aturon commented Apr 25, 2018

@bors: retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 25, 2018
@bors
Copy link
Contributor

bors commented Apr 27, 2018

⌛ Testing commit 5d5fb97 with merge a997525...

bors added a commit that referenced this pull request Apr 27, 2018
Remove hack around comparisons of i1 values (fixes #40980)

The regression test still passes without that 2 years old hack. The underlying
LLVM bug has probably been fixed upstream since then.
@bors
Copy link
Contributor

bors commented Apr 27, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing a997525 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants