Uh oh!
There was an error while loading. Please reload this page.
libprofiler_builtins: Set compilation flags more correctly for C code. - #60402
Conversation
alexcrichton
commented
Apr 30, 2019
@bors: r+ |
bors
commented
Apr 30, 2019
📌 Commit d52fde2 has been approved by |
…-build, r=alexcrichton libprofiler_builtins: Set compilation flags more correctly for C code. In particular, set `COMPILER_RT_HAS_FCNTL_LCK` and `COMPILER_RT_HAS_ATOMICS` as appropriate. This should get rid of the various runtime warnings when executing instrumented binaries. The build script is using a heuristic here that hopefully is sufficient for the time being. r? @alexcrichtonFixesrust-lang#59531.
tesuji
commented
Apr 30, 2019
Failed in #60420 (comment) . |
Centril
commented
May 1, 2019
@bors r- ^ |
d52fde2 to
d4dfbebComparemichaelwoerister
commented
May 2, 2019
Typo fixed. @bors r=alexcrichton |
bors
commented
May 2, 2019
📌 Commit d4dfbeb has been approved by |
…-build, r=alexcrichton libprofiler_builtins: Set compilation flags more correctly for C code. In particular, set `COMPILER_RT_HAS_FCNTL_LCK` and `COMPILER_RT_HAS_ATOMICS` as appropriate. This should get rid of the various runtime warnings when executing instrumented binaries. The build script is using a heuristic here that hopefully is sufficient for the time being. r? @alexcrichtonFixesrust-lang#59531.
bors
commented
May 4, 2019
⌛ Testing commit d4dfbeb with merge c3b08da044476a942cf78b3b4fc67d943a5890be... |
bors
commented
May 4, 2019
💔 Test failed - status-appveyor |
michaelwoerister
commented
May 7, 2019
I was able reproduce this locally. It seems that Clang 7 can't handle some of the C instrinsics for Arm64 Windows yet. Switching to Clang 8 fixes the problem. @rust-lang/infra, how would I update the clang version defined here? Lines 152 to 164 in 55c48b4 |
alexcrichton
commented
May 8, 2019
Ok I've uploaded the 8.0.0 binary to our CI bucket, if you update s/7/8/g here I think it should work |
michaelwoerister
commented
May 8, 2019
❤️ |
In particular, set COMPILER_RT_HAS_FCNTL_LCK and COMPILER_RT_HAS_ATOMICS as appropriate.
d4dfbeb to
0ffc573Comparemichaelwoerister
commented
May 8, 2019
Clang version updated. @bors r=alexcrichton |
bors
commented
May 8, 2019
📌 Commit 0ffc573 has been approved by |
bors
commented
May 8, 2019
⌛ Testing commit 0ffc573 with merge 9bee31424656ffbdc627226a394857a8aeb80ff9... |
Centril
commented
May 8, 2019
@bors retry |
bors
commented
May 8, 2019
…lexcrichton libprofiler_builtins: Set compilation flags more correctly for C code. In particular, set `COMPILER_RT_HAS_FCNTL_LCK` and `COMPILER_RT_HAS_ATOMICS` as appropriate. This should get rid of the various runtime warnings when executing instrumented binaries. The build script is using a heuristic here that hopefully is sufficient for the time being. r? @alexcrichtonFixes#59531.
bors
commented
May 8, 2019
☀️ Test successful - checks-travis, status-appveyor |
rust-highfive
commented
May 8, 2019
Tested on commit rust-lang/rust@3f5152e. Direct link to PR: <rust-lang/rust#60402> 💔 rls on windows: test-pass → test-fail (cc @Xanewok, @rust-lang/infra). 🎉 rls on linux: test-fail → test-pass (cc @Xanewok, @rust-lang/infra).
michaelwoerister
commented
May 9, 2019
It landed I'm wondering how RLS could be affected by these changes... |
kennytm
commented
May 9, 2019
There's a spurious test in RLS 😓 |
michaelwoerister
commented
May 9, 2019
Ah, OK. Thanks for the info, @kennytm! |
In particular, set
COMPILER_RT_HAS_FCNTL_LCKandCOMPILER_RT_HAS_ATOMICSas appropriate. This should get rid of the various runtime warnings when executing instrumented binaries.The build script is using a heuristic here that hopefully is sufficient for the time being.
r? @alexcrichton
Fixes#59531.