problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page

Christian Maeder Christian.Maeder at dfki.de
Thu Feb 14 03:26:47 EST 2008


Could you create a ticket for this (or is there one already)? I'm
willing to recompile ghc-6.8.2 with different options or patches on PPC
Tiger, but even compiling via-C does not work (not to mention
bootstrapping from hc sources).

http://hackage.haskell.org/trac/ghc/ticket/2012

(Only few seem to be interested in getting PPC bugs fixed. Is this
architecture dying out?)

Cheers Christian

Does ghc-6.8.1 or ghc-6.6.1 work on PPC leopard and can be used for
compiling ghc-6.8.2?

Chris Kuklewicz wrote:
> I am now testing that binary distribution for powerpc on my Leopard G4
> notebook.
> 
> It is not always working.
> 
> It is my habit to compile the Setup.hs or Setup.lhs to "setup" with "ghc
> --make Setup.hs -o setup".
> 
> The "./setup configure ..." is working.
> 
> The "./setup build" causes a segmentation fault.  This is for every
> project I try (including ones with very default Setup.hs contents).  The
> Cabal-1.2.3.0 used is supplied by the binary distribution of ghc 6.8.2
> 
> BUT "runghc Setup.hs build" is working.
> 
> And while some things succeed, such as DList-0.4, the Network.FastCGI
> fails:
> 
>> chrisk$ ghc --version
>> The Glorious Glasgow Haskell Compilation System, version 6.8.2
> 
>> chrisk$ runghc Setup.lhs build
>> Preprocessing library fastcgi-3001.0.1...
>> Building fastcgi-3001.0.1...
>> [1 of 1] Compiling Network.FastCGI  ( dist/build/Network/FastCGI.hs,
>> dist/build/Network/FastCGI.o )
>> [1 of 1] Compiling Network.FastCGI  ( dist/build/Network/FastCGI.hs,
>> dist/build/Network/FastCGI.p_o )
>> ar: creating archive dist/build/libHSfastcgi-3001.0.1.a
>> ar: creating archive dist/build/libHSfastcgi-3001.0.1_p.a
>> ld: atom sorting error for
>> _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuStream_closure_tbl and
>> _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuRequest_closure_tbl in
>> dist/build/Network/FastCGI.o
>> ld: atom sorting error for
>> _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuStream_closure_tbl and
>> _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuRequest_closure_tbl in
>> dist/build/Network/FastCGI.o
> 
> So I sadly say there is still no working ghc 6.8.x for powerpc Leopard.
> 


More information about the Glasgow-haskell-users mailing list