[s390s] cabal-3.8 built with ghc-9.4+ segfaulting on Fedora 38+
Summary
cabal update
started segfaulting on Fedora Linux 38 (and later) s390x.
It looks possibly like some possible RTS issue with the llvm backend?
see https://bugzilla.redhat.com/show_bug.cgi?id=2248097
Steps to reproduce
I am only seeing this on Fedora s390x architecture.
gdb backtrace of cabal-install-3.10.1.0-1.fc39.s390x core dump inside fedora:39
(gdb) bt
#0 0x000000008000e008 in evacuate1 ()
#1 0x0000000083f3c9b6 in scavenge_loop1 ()
#2 0x0000000083f31cbc in scavenge_until_all_done ()
#3 0x0000000083f334fa in GarbageCollect ()
#4 0x0000000083f1dce2 in scheduleDoGC ()
#5 0x0000000083f1ee90 in schedule ()
#6 0x0000000083f1f6de in scheduleWaitThread ()
#7 0x0000000083f19610 in hs_main ()
#8 0x000000008003226e in main ()
I am afraid that is all I have right now.
Expected behavior
No crash
Environment
- GHC version used: 9.2.6 and 9.4.5
Optional:
- Operating System: Fedora Linux
- System Architecture: s390x