box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Box86 fails to run on Ubuntu 24.04

Open mbenlioglu opened this issue 2 months ago • 2 comments

I've added #undef _TIME_BITS to src/libtools/vkalign.c and src/libtools/myalign.c as per https://github.com/ptitSeb/box86/issues/958#issuecomment-2081095787 before compilation. However, box86 now fails to run.

$ strace -efutex box86 box86/tests/test01

[ Process PID=4060 runs in 32 bit mode. ]
strace: WARNING: Proper structure decoding for this personality is not supported, please consider building strace with mpers support enabled.
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4061, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
Box86 with Dynarec v0.3.6 9f8b96b built on Jun  7 2024 02:46:37
futex(0x62fce468, FUTEX_WAKE_PRIVATE, 2147483647) = -1 ENOSYS (Function not implemented)
The futex facility returned an unexpected error code.
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=4060, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)

This is likely caused by Ubuntu no longer enabling CONFIG_COMPAT_32BIT_TIME kernel option to resolve Y2038 issue.

mbenlioglu avatar Jun 09 '24 23:06 mbenlioglu