ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.9k stars 287 forks source link

[ANDROID] Not use 'libbsd.so' as needed lib and don't define NEEDED_LIBS_234 for Android Too, Use BOX64_LD_LIBRARY_PATH instead of LD_LIBRARY_PATH on CTEST #1754

Closed KreitinnSoftware closed 2 months ago

ptitSeb commented 2 months ago

All Android / Termux tests seems to crash now, can you check?

KreitinnSoftware commented 2 months ago

All Android / Termux tests seems to crash now, can you check?

It's because trying to preload libraries from x64lib folder I guess

KreitinnSoftware commented 2 months ago

On my local machine just removing x64lib folder ctest works

ptitSeb commented 2 months ago

Not sure I understand what preload you are talking about. This breakage is new to this PR...

ptitSeb commented 2 months ago

And it seems it's segfaulting, so I doubt it's a preload of 64bits libs on a 32bits run (the libs should be just ignored there)

KreitinnSoftware commented 2 months ago

Not sure I understand what preload you are talking about. This breakage is new to this PR...

CMake gives error,

/usr/bin/cmake: /home/pablo/box64/b/../x64lib/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /usr/bin/cmake)
/usr/bin/cmake: /home/pablo/box64/b/../x64lib/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /usr/lib/libcppdap.so)
KreitinnSoftware commented 2 months ago

This is quite strange, it shouldn't happen

ptitSeb commented 2 months ago

Ah, ok. interferances with the actual cmake binary. I see.

Yeah, better use BOX64 versions of ld_lib_path...

KreitinnSoftware commented 2 months ago

Without libpthread.so functions, test06 simply crashes, then will enable libpthread as required lib again, libbsd is not needed I guess