Haiku: crash in RTS
Summary
During make install
of a binary distribution for a 32-bit Haiku install, ghc-cabal
crashes in RTS.
Steps to reproduce
In a 32-bit Haiku install with the following bindist: https://haiku.nz/files/ghc/ghc-9.3.20210804-i386-unknown-haiku.tar.xz:
setarch x86
./configure --prefix=/boot/home/config/non-packaged
make install
Expected behavior
Complete the install of GHC
Environment
- GHC version used: 9.x, with Haiku patches, tree at https://gitlab.haskell.org/jessicah/ghc/-/tree/gcc2h-ghc
Optional:
- Operating System: Haiku 32-bit R1B3 or later
- System Architecture: x86
Haiku Debug Reports:
- Prior to stepping into
rts_lock
: https://haiku.nz/files/ghc/ghc-cabal-962-debug-06-08-2021-17-37-35.report - Stepping into
rts_lock
: https://haiku.nz/files/ghc/ghc-cabal-1253-debug-06-08-2021-16-33-01.report
Disassembled libHSrts.so
: https://haiku.nz/files/ghc/libHSrts.disasm
Have been able to run in Debugger manually by running the export LIBRARY_PATH
from the wrapper shell script then starting with Debugger /path/to/ghc-cabal
.