Source: ghc Version: 9.4.7-2 Severity: normal User: debian-powe...@lists.debian.org Usertags: powerpc X-Debbugs-Cc: debian-powe...@lists.debian.org
Hello! Due to the current regression in the native code generator for PowerPC on 32-bit targets [1], GHC can only be built as an unregisterised compiler on the target. Thus, please configure GHC with --enable-unregisterised on powerpc. Also, since building an unregisterised GHC generates very large intermediate C sources, we additionally have to pass both "--param ggc-min-expand=10" and "-O3" to reduce the memory footprint and the size of the generated assembly code respectively [2]. Thus, please pass -optc--param -optcggc-min-expand=10 and -optc-O3 to the GHC build flags. With these changes, GHC should build successfully on powerpc. Thanks, Adrian > [1] https://gitlab.haskell.org/ghc/ghc/-/issues/23969 > [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108208 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913