-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[L4D2] engine.so: cannot enable executable stack as shared object requires: Invalid argument #6978
Comments
This sounds like a result of this behaviour change in glibc 2.41:
|
If it's that, the ideal solution would be for If that isn't possible, the next best thing would be for the engine's main executable to be flagged as requiring an executable stack, so that the stack is already executable before loading |
ValveSoftware/portal2#451 (comment) |
This sounds as though If that's the case, then Valve developers could likely fix this problem by linking them with Or, if these libraries genuinely do need an executable stack and it isn't easy to change them to not, another likely way to avoid this regression would be to mark the game's main executable as also requiring an executable stack, by linking it with Recent versions of binutils The most common reasons to need an executable stack are inline assembler code (the compiler can't easily prove that this doesn't need an executable stack, so it will pessimistically assume that an executable stack is required), and nested functions (a deprecated gcc extension). |
ldd on engine.so gives:
The text was updated successfully, but these errors were encountered: