box64 icon indicating copy to clipboard operation
box64 copied to clipboard

SIGSEGV in `Bitfield` Task (x86 NBench with `-m32 -mno-sse`)

Open devarajabc opened this issue 6 months ago • 1 comments

When running the x86 version of NBench, compiled with the -m32 -mno-sse flag, the Bitfield task(Executes a variety of bit manipulation functions.) consistently results in a segmentation fault.

Logs

Environment

  1. Box64 version: Box64 riscv64 v0.3.5 294178b with Dynarec built on Jun 5 2025
  2. Build flags:
cmake -G Ninja \
-DBOX32=ON \
-DRV64=1 \
-DRV64_DYNAREC=ON \
-DGDBJIT=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_C_COMPILER=gcc \
..
  1. Platform: RISC-V 64, Debian (chroot)
  2. CPU: 4× cores(Andes AX45MP), Little Endian
  3. page size 4096
  4. Kernel: 6.1.47+
  5. gcc :(Debian 14.2.0-19) 14.2.0
  6. glibc :(Debian GLIBC 2.41-7) 2.41

Thanks !

devarajabc avatar Jun 05 '25 17:06 devarajabc

It's a Box32 issue, which is not specific to RISC-V, so I changed the label.

ksco avatar Jun 06 '25 07:06 ksco