Red Hat Bugzilla – Bug 239713
No PPC64 build of ghc
Last modified: 2014-11-09 17:30:39 EST
Not ported to ppc64 yet.
mail me a ssh public key; you can have an account on a suitable box :)
*** Bug 239751 has been marked as a duplicate of this bug. ***
As I commented in the above bug:
I think older versions of ghc have been built for ppc64
on debian and gentoo. Might need to do a multistage bootstrap...
Not sure if this bug should get some attention soon, I was just notified that we
now have broken build dependencies in development. python-vcpx (used by tailor)
depends on darcs.
Yup it would be good to have - unfortunately it is quite a lot of work.
I found ghc-6.4.2 for ppc64 in gentoo and just sent mail to glasgow-haskell list
and the PPC SIG people for input and help.
(In reply to comment #4)
> Not sure if this bug should get some attention soon, I was just notified that we
> now have broken build dependencies in development. python-vcpx (used by tailor)
> depends on darcs.
python-vcpx has runtime dependency on darcs
Yes, we're well aware of the problem.
Unfortunately bootstrapping ghc on ppc64 is non-trivial. :-/
I have started some work on it but it is currently stalled
(I hope to return to it soon again).
Forgot to update on my last attempt a while back, but unfortunately
it was not successful. I ran into some missing symbol problems
when I tried to bootstrap from a binary from gentoo IIRC.
http://hackage.haskell.org/trac/ghc/ticket/1346 discusses bootstrap issues with
We might find it easier to bootstrap on ppc64 than in the general case, because
we can run ppc32 binaries.
I followed the cross-compile instructions at
http://hackage.haskell.org/trac/ghc/wiki/Building/Porting to build ghc-6.61 in a
Fedora 7 mock root.
It doesn't seem to work correctly, though. The newly-built 'ghc-inplace'
compiler just gets stuck, with a zombie 'gcc' child, in select():
mock-chroot> ../compiler/ghc-inplace -v -optc-O -optc-Wall -optc-W
-optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations
-optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast
-optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS
-optc-fomit-frame-pointer -optc-DNOSMP -optc-fno-strict-aliasing -H16m -O
-optc-O2 -optc-DNOSMP -static -I. -#include HCIncludes.h -fvia-C -dcmm-lint
-c Adjustor.c -o Adjustor.o
Glasgow Haskell Compiler, Version 6.6.1, for Haskell 98, compiled by GHC version
Using package config file:
wired-in package base not found.
wired-in package rts mapped to rts-1.0
wired-in package haskell98 not found.
wired-in package template-haskell not found.
Hsc static flags: -funregisterised -static -static
Created temporary directory: /tmp/ghc27293_0
*** C Compiler:
gcc -x c Adjustor.c -o /tmp/ghc27293_0/ghc27293_0.s -v -S -Wimplicit -O
-D__GLASGOW_HASKELL__=606 -DNO_REGS -DUSE_MINIINTERPRETER -O -Wall -W
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Winline
-Waggregate-return -Wbad-function-cast -I../includes -I. -Iparallel
-DCOMPILING_RTS -fomit-frame-pointer -DNOSMP -fno-strict-aliasing -O2 -DNOSMP -I
. -I /builddir/build/BUILD/ghc-6.6.1/includes -fwrapv
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Unfortunately, I don't have cycles to do anything about this. Lowering priority.
Seems gentoo are still working on ppc64: http://bugs.gentoo.org/206643
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Given that ppc is now a secondary arch as of F13 I propose to close this.
Of course if someone pushing the ppc arch wants to pick it up
we are happy to work with them but it is no longer a priority for
the Haskell SIG.
Jiri Skala has been working on this recently.
ghc-7.0.2-16.2.fc15 is built for dist-f15:
The ppc64 port has some restrictions though: no ghci so no TH
(template haskell) and no threaded rts.
Currently 5 library packages in fedora require TH.