building ghc6 on ppc64 linux

I am starting work on trying to bootstrap ghc-6.6.1 on ppc64 (yes 64bit) linux for Fedora. Has anyone successfully built it on ppc64 yet? The latest build I can find in a distro is ghc-6.4.2 in gentoo. Has anyone tried ghc6 on ppc64? Thanks in advance for idea comments or experiences you can share, Jens

On 7/26/07, Jens Petersen
I am starting work on trying to bootstrap ghc-6.6.1 on ppc64 (yes 64bit) linux for Fedora.
Has anyone successfully built it on ppc64 yet? The latest build I can find in a distro is ghc-6.4.2 in gentoo. Has anyone tried ghc [6.6.1] on ppc64?
Ok I tried and building the fedora ghc-6.6.1 package on ppc64 with gentoo's ghc-6.4.2 ppc64 binary I got the following error: : /usr/bin/ghc -o ghc-pkg.bin -H16m -O -cpp -Wall -fno-warn-name-shadowing -fno-wa rn-unused-matches -DUSING_COMPAT -i../../compat -ignore-package Cabal -Rghc-tim ing -L../../compat -lghccompat Main.o Version.o Main.o:(.text+0x0): undefined reference to `__DISCARD__' Main.o:(.text+0x28): undefined reference to `__DISCARD__' Main.o:(.text+0x50): undefined reference to `__DISCARD__' Main.o:(.text+0x168): undefined reference to `__DISCARD__' Main.o:(.text+0x194): undefined reference to `__DISCARD__' Main.o:(.text+0x1c0): more undefined references to `__DISCARD__' follow collect2: ld returned 1 exit status Where should __DISCARD__ be defined? Jens

Has anyone successfully built it on ppc64 yet? The latest build I can find in a distro is ghc-6.4.2 in gentoo. Has anyone tried ghc [6.6.1] on ppc64?
I have a gentoo binary package built some time ago from the gentoo ebuild for 6.6.1: http://sqrl.mcmaster.ca/~kahl/Haskell/ghc-bin-6.6.1.tbz2 This is for 32-bit userland running on a 64-bit kernel --- the default in gentoo, and currently restricts to unregisterised build. Wolfram
participants (2)
-
Jens Petersen
-
kahl@cas.mcmaster.ca