ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.38k stars 233 forks source link

Updating libstdc++6:i386 breaks box86 #849

Open sebi2306 opened 1 year ago

sebi2306 commented 1 year ago

OS: Ubuntu 23.04 (arm64) with armhf and i386 architectures and repositories enabled Updating the packaged libstdc++.so.6 which is libstdc++.so.6.0.25 to libstdc++.so.6.0.31 from gcc 13.1 causes the following errors when running a program with box86 (tested with teamspeak3-server_linux_x86 and King Arthur's Gold Dedicated Server):

Error: Global Symbol _ZN9__gnu_cxx21zoneinfo_dir_overrideEv not found, cannot apply R_386_GLOB_DAT @0xf7cb88dc ((nil)) in libstdc++.so.6
Error: Global Symbol __libc_single_threaded not found, cannot apply R_386_GLOB_DAT @0xf7cb8978 ((nil)) in libstdc++.so.6
ptitSeb commented 1 year ago

I need to add __libc_single_threaded. For the other one, did you also updated libgcc_s.so?

sebi2306 commented 1 year ago

I suppose so. Based on what Ubuntu Packages includes as dependencies.