Repository navigation
Closed
Milestone
Description
It seems like an attempt was made to fix this in the past, but it's currently present:
rust W: ELF file ('usr/bin/rust') has executable stack.
rust W: ELF file ('usr/bin/rustc') has executable stack.
rust W: ELF file ('usr/bin/rusti') has executable stack.
rust W: ELF file ('usr/bin/rustdoc') has executable stack.
rust W: ELF file ('usr/bin/rustpkg') has executable stack.
rust W: ELF file ('usr/lib/libstd-4782a756585a81-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/librustc-c84825241471686d-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/libcore-c3ca5d77d81b46c1-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/librusti-5047c7f210c7cac8-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/librust-39583f72884834e3-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/libsyntax-84efebcb12c867a2-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-4782a756585a81-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-c84825241471686d-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-c3ca5d77d81b46c1-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/librusti-5047c7f210c7cac8-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/librust-39583f72884834e3-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/librustdoc-1ac3c0763957e4b0-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/libsyntax-84efebcb12c867a2-0.6.so') has executable stack.
rust W: ELF file ('usr/lib/rustc/x86_64-unknown-linux-gnu/lib/librustpkg-795073e423d025b-0.6.so') has executable stack.
This won't fly on systems like Fedora that use SELinux since it won't allow the binary to run with the default policies.
Clearing the executable stack with execstack still leaves a working set of binaries, so it's definitely not required.
Metadata
Metadata
Assignees
Labels
No labels
Activity
thestinger commentedon Mar 31, 2013
It looks like the linker enables an executable stack when you compile in raw assembly without
GNU-stack.thestinger commentedon Apr 1, 2013
Fixed by #5647.
Auto merge of rust-lang#5662 - ebroto:cargo_tests_invalid_crate, r=fl…
Merge rust-lang#5643
Merge pull request rust-lang#5643 from RalfJung/simd-float-nondet