We're trying to rebuild the Fedora 38 ghc packages on riscv64, and
some fail with:
$ ./Setup build -j4
Preprocessing library for pandoc-types-1.22.2.1..
Building library for pandoc-types-1.22.2.1..
ghc-9.2.6: setNumCapabilities: not supported on this platform
[3 of 7] Compiling Text.Pandoc.Definition
<no location info>: error:
ghc-9.2.6: Couldn't find a target code interpreter. Try with
-fexternal-interpreter
It comes from here:
https://ghc.gitlab.haskell.org/ghc/doc/libraries/ghc-9.7/src/GHC.Driver.E...
I haven't the first clue what "target code interpreter" or "external
interpreter" is referring to here. Isn't Haskell compiled to native
code?
Do we know what could cause this and how to correct it?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW