about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-05 08:17:39 +0000
committerbors <bors@rust-lang.org>2023-04-05 08:17:39 +0000
commit90a9f69c80812c8694959c1f2d5c336e3300d1e2 (patch)
treecdd90912f4c7aa564e6c0294b63f9ebfe8a6a323 /compiler/rustc_codegen_llvm/src
parenta412564f8ca794e227305309da9da16c417ea9ce (diff)
parentc32953f44f98a16d49be5aa415855fdf26570336 (diff)
downloadrust-90a9f69c80812c8694959c1f2d5c336e3300d1e2.tar.gz
rust-90a9f69c80812c8694959c1f2d5c336e3300d1e2.zip
Auto merge of #109945 - Kobzol:llvm-bolt-gnu-stack, r=nikic
Remove the use of `-use-gnu-stack` when BOLTing LLVM

This flag was (counterintuitively) removing the `GNU_STACK` ELF attribute, which caused the optimized `libLLVM.so` file 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 stripping `libLLVM.so` though. Does it happen anywhere?

Fixes: https://github.com/rust-lang/rust/issues/105783
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions