Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
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. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
Christian Maeder: Chris Kuklewicz wrote: The ./setup build causes a segmentation fault. This is for every project I try (including ones with very default Setup.hs contents). I can at least reproduce the segmentation fault by running my PPC- Tiger binary on an i386-Leopard, by compiling with additional options -optc-arch -optcppc -opta-arch -optappc -optl-arch -optlppc. m29:fastcgi-3001.0.1 maeder$ ghc -opta-arch -optappc -optl-arch - optlppc --make Setup.lhs Linking Setup ... m29:fastcgi-3001.0.1 maeder$ ./Setup configure Configuring fastcgi-3001.0.1... Warning: No license-file field. m29:fastcgi-3001.0.1 maeder$ ./Setup build Segmentation fault I can't see how ghc can generate a correct executable if you pass these cross-compilation options to GHC. Even if you can get GHC to generate proper PPC code, it will link against *Haskell* libraries that contain i386 code. (The options -optl-arch -optlppc will give you the PPC versions of the system libraries, but not the GHC packages.) Or am I missing something? and even (after adding the above options to the bin/ghc-6.8.2 script) m29:fastcgi-3001.0.1 maeder$ 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 ) ar: creating archive dist/build/libHSfastcgi-3001.0.1.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 According to Wolfgang Thaller's answer to a previous post by yourself, these atom sorting errors are harmless: http://www.haskell.org/pipermail/glasgow-haskell-users/2008-January/013988.html Manuel ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
Christian Maeder wrote: Could you create a ticket for this (or is there one already)? There have been a few tickets, some still outstanding, about leopard powerpc failures. 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?) I submitted a patch that went into ghc-6.8.x to help fix assembly code generation (to keey the new cursed 'ld' happy) on powerpc 10.5.x Apple stopped creating and selling new PPC machines some time ago. But I think nearly half of the running machines are still PPC. But only people with previous PPC hardware who buy new OS X 10.5 and also want ghc-6.8 are getting bitten. 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? The ghc-6.6.1 I had under 10.4 still works like a champ after upgrading to 10.5 -- Chris ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
Manuel M T Chakravarty wrote: ld: atom sorting error for _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuStream_closure_tbl and _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuRequest_closure_tbl in dist/build/Network/FastCGI.o According to Wolfgang Thaller's answer to a previous post by yourself, these atom sorting errors are harmless: http://www.haskell.org/pipermail/glasgow-haskell-users/2008-January/013988.html Indeed, a final runghc Setup.lhs install worked for me. Christian m29:~ maeder$ ghc-pkg list /home/mac-bkb/ghc/ghc-6.8.2/lib/ghc-6.8.2/package.conf: Cabal-1.2.3.0, GLUT-2.1.1.1, HUnit-1.2.0.0, HaXml-1.13.2, OpenAL-1.3.1.1, OpenGL-2.2.1.1, QuickCheck-1.1.0.0, array-0.1.0.0, base-3.0.1.0, bytestring-0.9.0.1, cgi-3001.1.5.1, containers-0.1.0.1, directory-1.0.0.0, fgl-5.4.1.1, filepath-1.1.0.0, (ghc-6.8.2), haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0, html-1.0.1.1, mtl-1.1.0.0, network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0, packedstring-0.1.0.0, parallel-1.0.0.0, parsec-2.1.0.0, pretty-1.0.0.0, process-1.0.0.0, random-1.0.0.0, readline-1.0.1.0, regex-base-0.72.0.1, regex-compat-0.71.0.1, regex-posix-0.72.0.2, rts-1.0, stm-2.1.1.0, template-haskell-2.2.0.0, time-1.1.2.0, unix-2.3.0.0, xhtml-3000.0.2.1 /home/maeder/.ghc/powerpc-darwin-6.8.2/package.conf: HAIFA-0.11, HTTP-3001.0.0.1, Shellac-0.9, Shellac-readline-0.9, fastcgi-3001.0.1, hxt-7.3, programatica-1.0, syb-generics-2.9 m29:~ maeder$ uname -a Darwin m29.informatik.uni-bremen.de 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
From: Christian Maeder [EMAIL PROTECTED] Subject: Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page Date: Thu, 14 Feb 2008 09:26:47 +0100 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?) At least I'm still happily using ghc-6.8.2 with PPC Tiger because I know there are lots of lots of problems in Leopard. Please don't abandon PPC... ___ - PHO - http://ccm.sherry.jp/ OpenPGP public key: 1024D/1A86EF72 Fpr: 5F3E 5B5F 535C CE27 8254 4D1A 14E7 9CA7 1A86 EF72 pgpfWmGGdDfeR.pgp Description: PGP signature ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
Chris Kuklewicz wrote: The ./setup build causes a segmentation fault. This is for every project I try (including ones with very default Setup.hs contents). I can at least reproduce the segmentation fault by running my PPC-Tiger binary on an i386-Leopard, by compiling with additional options -optc-arch -optcppc -opta-arch -optappc -optl-arch -optlppc. m29:fastcgi-3001.0.1 maeder$ ghc -opta-arch -optappc -optl-arch -optlppc --make Setup.lhs Linking Setup ... m29:fastcgi-3001.0.1 maeder$ ./Setup configure Configuring fastcgi-3001.0.1... Warning: No license-file field. m29:fastcgi-3001.0.1 maeder$ ./Setup build Segmentation fault and even (after adding the above options to the bin/ghc-6.8.2 script) m29:fastcgi-3001.0.1 maeder$ 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 ) ar: creating archive dist/build/libHSfastcgi-3001.0.1.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 Cheers Christian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
Hi Chris, 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 I tried the same thing and got the same result. Could it be a problem with how Cabal itself was built instead of GHC? So I sadly say there is still no working ghc 6.8.x for powerpc Leopard. I guess you're right. Sean ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page
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 ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users