ppc64le hslua segfaulting for ghc 9.2 and 9.4
Summary
We discovered in Fedora that on ppc64le pandoc built with ghc-9.2.6 (and also 9.4.4)
segfaults for pandoc --version
.
There are also details in the downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=2172771
The crash does not happen when built with ghc-9.0 and earlier.
This is problematic because many R packages use pandoc and check its version for example.
Steps to reproduce
Build pandoc-2.19.2 on ppc64le with ghc-9.2 or later and run pandoc -v
.
Expected behavior
pandoc -v
should not crash
Environment
- GHC version used: 9.2.6
Optional:
- Operating System: Linux
- System Architecture: ppc64le