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

Chris Kuklewicz haskell at list.mightyreason.com
Tue Feb 12 14:18:25 EST 2008


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.

-- 
Chris


More information about the Glasgow-haskell-users mailing list