Remove the use of -use-gnu-stack when BOLTing LLVM#109945
Remove the use of -use-gnu-stack when BOLTing LLVM#109945bors merged 1 commit intorust-lang:masterfrom
-use-gnu-stack when BOLTing LLVM#109945Conversation
This flag (counterintuitively) was removing the `GNU_STACK` ELF attribute, which caused the optimized `libLLVM.so` file to be flagged as having an executable stack on SELinux.
|
(rustbot has picked a reviewer for you, use r? to override) |
|
Yeah the name of the flag is weird. I asked about this on the BOLT Discord: https://discord.com/channels/636084430946959380/930647188944613406/1092884016627200081 |
|
Summary from discord: @bors try |
|
⌛ Trying commit c32953f with merge 7a2984f94b9b2cc9bcbfc178ffaec12878b7fd65... |
|
☀️ Try build successful - checks-actions |
|
@rust-timer build 7a2984f94b9b2cc9bcbfc178ffaec12878b7fd65 |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (7a2984f94b9b2cc9bcbfc178ffaec12878b7fd65): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
|
Seems like it all still works, great! |
|
@bors r+ |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (90a9f69): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
This flag was (counterintuitively) removing the
GNU_STACKELF attribute, which caused the optimizedlibLLVM.sofile to be flagged as having an executable stack on SELinux.Removing the flag might cause issues with
strip. I'm not aware that we're strippinglibLLVM.sothough. Does it happen anywhere?Fixes: #105783