-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Loader could not find fstat
#923
Comments
When running in fully emulated mode, it crashes with SIGSEGV
And the similar issue with symbol loading when running in prefer-emulated mode:
Note that I don't use bundled |
I figured out how to add wrapping symbols to libc. @ptitSeb, do I understand correctly that right now the linker does not respect symvers for wrapped libraries, that's why there are checks for glibc version? I see the version checks in the loader itself (for emulated libraries), but not in the wrappers. |
There is some limited support for |
So, right now I've just uncommented these box86/src/wrapped/wrappedlibc_private.h Lines 2268 to 2273 in 027605e
Not sure how to fix this properly as this apparently would break Steam userspace you're targeting. These symbols were wrapped via |
A |
Trying to study the code to understand why
fstat
symbol could not be found in the wrapped libc. It seems to be wrapped, and wrapper generator complains if I explicitly add the definition as under#ifdef ANDROID
insrc/wrapped/wrappedlibc_private.h
, but it still complains.Do I understand correctly that the wrappers were written to a specific base userspace libraries (Steam's Ubuntu I guess?) and won't work if the library such as libc gets updated?
I'm running Debian 12 armhf with i386 libraries (also Debian 12, glibc 2.36-9+deb12u3).
The text was updated successfully, but these errors were encountered: