ptitSeb / box64

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

Missing symbol errors with bash on M1 Pro running NixOS 24.05 #1531

Open RossComputerGuy opened 1 month ago

RossComputerGuy commented 1 month ago
$ /nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
Allow missing needed libs
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Unknown CPU with 10 Cores
Params database has 14 entries
Box64 with Dynarec v0.2.6 nogit built on Jan  1 1980 00:00:00
BOX64: Detected 48bits at least of address space
Counted 81 Env var
BOX64 LIB PATH: /nix/store/86zx04zbngd4skkrxfd5ndhx8f6ap24v-pipewire-1.0.6-jack/lib/:./:lib/:lib64/:x86_64/:bin64/:libs64/
BOX64 BIN PATH: ./:bin/:/nix/store/0i1fx8s5an2qxbvaqksyl8rhsm450bxr-wine64-9.0/bin/:/nix/store/x2n0dmhbws2ip2ldvfz9q04qdbfwrayk-box64-0.2.6/bin/:/run/wrappers/bin/:/home/ross/.local/share/flatpak/exports/bin/:/var/lib/flatpak/exports/bin/:/home/ross/.nix-profile/bin/:/nix/profile/bin/:/home/ross/.local/state/nix/profile/bin/:/etc/profiles/per-user/ross/bin/:/nix/var/nix/profiles/default/bin/:/run/current-system/sw/bin/:/nix/store/5mal6aa0s9fxnqibmybkz19bxh8scig2-gcc-wrapper-13.2.0/bin/:/nix/store/5pfllkhmmdrwi5z1da1009lx128kfbbq-binutils-wrapper-2.41/bin/:/nix/store/xyg13851ggmvasxadqxk6l3cyqgaff2n-pciutils-3.12.0/bin/:/nix/store/nppl7x028hckyrmba7q8w8pn0b7rf1kr-pkgconf-wrapper-2.1.1/bin/
Looking for /nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
bash detected, disabling banner
Apply RC params for bash
Error: Symbol __wcsrtombs_chk not found, cannot apply R_X86_64_JUMP_SLOT @0x4d5a00 (0x41a186) in /nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
Error: Symbol __isoc23_strtoimax not found, cannot apply R_X86_64_JUMP_SLOT @0x4d5ab8 (0x41a2f6) in /nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
Error: Symbol __isoc23_strtoumax not found, cannot apply R_X86_64_JUMP_SLOT @0x4d5c88 (0x41a696) in /nix/store/306znyj77fv49kwnkpxmb0j2znqpa8bj-bash-5.2p26/bin/bash
ElDavoo commented 1 month ago

Same

ptitSeb commented 1 month ago

I'll add the symbols. I'm pretty busy this weekend, so it might be on monday.

ptitSeb commented 1 month ago

Ok, I have added the symbols.