-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
[BUG]: engine_i486.so: cannot enable executable stack as shared object requires: Invalid argument Unable to load engine, image is corrupt. #1079
Comments
Sounds like an issue you should be reporting to Arch Linux maintainers, not here |
Did you read the issue correctly? Or do you have any knowledge of Linux?? engine_i486.so has a invalid executable stack section:
I had to mark binary or shared library as not requiring executable stack on library file. I can't see where is the problem with my or any Linux distribution! Since any newer / updated Linux distribution will gave you errors with engine_i486, in newer glibc or future versions of glibc! |
Yes if glibc broke ABI compatibility then it is an issue for glibc to fix. glibc has always been backwards-compatible, but it is not forwards compatible so compiling with a newer version of glibc will break compatibility with any older distribution. Tossing glibc altogether and building with something else like uClibc or musl is something that could be explored though. |
This has been reported a lot elsewhere too e.g. JuliaLang/julia#57250 |
@anzz1 Only the ReHLDS that was compiled with older version of gnu compilser than glibc 2.41 uses. |
Anyway that developers are not idiots! I stop read your posts, because all open source community you call as idiots, review your opinions about developers before post. And theses comments do not construct any acceptable solution for this issue right? |
Well, the solution is to go through the ReHLDS codebase and check if executable stack is needed for anything (e.g. nested functions) and if not, add a You missed my point though, which was that I had an issue with maintainers forcing "security" features down people's throats, which ultimately are misguided band-aids lulling people into false sense of security when the only real way to handle security is to write secure code in the first place. But like said, in this case, if nested functions or other stack function trampolines or similar uses aren't used here, yielding to their whims is an option. Testing compiling without the execstack bit set, there is two options:
|
👉👈 Contact Details (optional)
https://steamcommunity.com/id/_SmileY
🤔 What happened?
An error while running ReHLDS on arch linux
Something related with engine_i486.so.
An workaround is call execstack -c engine_i486.so and now ReHLDS works again. But is not the ideal scenario right?
Anyway i hope someone can fix it
📄 Relevant log output
The text was updated successfully, but these errors were encountered: