
Replying to [comment:26 pkubaj]:
Replying to [comment:23 trommler]:
There is another patch that I apply to 8.6.3. That patch fixes an issue mentioned in my comments on #15399. You can find the patch in Phab:D5001.
I can see that the patch at Phab:D5001 is already in 8.6.3. My bad. The additional patch is in Phab:D5212. There is no ticket for
#15916: GHC doesn't build on powerpc64 architecture on systems other than GNU / Linux -------------------------------------+------------------------------------- Reporter: pkubaj | Owner: trommler Type: feature request | Status: patch Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.6.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc64 Type of failure: Building GHC | Test Case: failed | Blocked By: 15411 | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/81 -------------------------------------+------------------------------------- Comment (by pkubaj): Replying to [comment:27 trommler]: that patch. With this patch, I have the same result. I can bootstrap on amd64 just fine, but when compiling natively on powerpc64, I get: {{{ echo "version, targetOS, targetARCH :: String" >> utils/ghc- pkg/dist/build/Version.hs echo "version = \"8.6.3\"" >> utils/ghc-pkg/dist/build/Version.hs echo "targetOS = \"freebsd\"" >> utils/ghc- pkg/dist/build/Version.hs echo "targetARCH = \"powerpc64\"" >> utils/ghc- pkg/dist/build/Version.hs "/wrkdirs/usr/ports/lang/ghc/work/ghc-8.6.3-boot/bin/ghc-8.6.3" -H32m -O -I/usr/include -L/usr/lib -I/usr/local/include -L/usr/local/lib -Wall \ -optc-O2 -optc-pipe -optc-Wall -optc-fno-stack-protector \ \ -hide-all-packages \ -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package unix \ --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp /ghc-cabal \ -no-user-package-db \ -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \ -DCABAL_VERSION=2,4,0,1 \ -DCABAL_PARSEC \ -DBOOTSTRAPPING \ -odir bootstrapping \ -hidir bootstrapping \ libraries/Cabal/Cabal/Distribution/Parsec/Lexer.hs \ -ilibraries/Cabal/Cabal \ -ilibraries/binary/src \ -ilibraries/filepath \ -ilibraries/hpc \ -ilibraries/mtl \ -ilibraries/text \ libraries/text/cbits/cbits.c \ -Ilibraries/text/include \ -ilibraries/parsec/src \ \ <command line>: cannot satisfy -package ghc-prim (use -v for more information) utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15916#comment:28 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler