JuliaLinearAlgebra / libblastrampoline

Using PLT trampolines to provide a BLAS and LAPACK demuxing library.
MIT License
66 stars 17 forks source link

Mark stack as non executable #51

Closed nalimilan closed 2 years ago

nalimilan commented 2 years ago

The linker is unable to detect that executable stack is not required and so marks libblastrampoline.so as requiring it. Pass -Wl,-z,noexecstack to ensure that the stack is marked as not executable. This improves security and allows running on systems where SELinux has been configured to disallow executable stacks.

ViralBShah commented 2 years ago

@giordano @staticfloat ok to merge?