Re: gcc version for GHC 6.10.4 under Sparc/Solaris
On Fri, 2009-08-07 at 10:55 +0200, Christian Maeder wrote: Duncan Coutts wrote: I should also note that there is a GHC 6.10.4 binary for Sparc/Linux that is now included with Gentoo. It's got all features turned on except for split objects (which fails due to mixing ld -r and --relax flags). In particular it's a registerised via-C build with ghci, TH and profiling working. Does compiling using gcc-4.3.x work if -fvia-C is added? There's no Sparc NCG in the 6.10 series so it's only -fvia-C. The new Sparc NCG is in 6.12. This build used gcc-4.1.2 which is the latest stable one on Gentoo for sparc. It's a distro package not a generic relocatable GHC binary tarball so there's no point putting it on the ghc download page, but it's there nevertheless if people want it (look for the gentoo ghc ebuild). I've found http://packages.gentoo.org/package/dev-lang/ghc Where are ebuilds or downloadable binaries? For non-gentoo users, the ebuilds are available from cvs: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ eg 6.10.4: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.10.4.ebuild?view=markup The binaries are not set up for separate distribution but if you inspect the ebuild you find: mirror://gentoo/ghc-bin-${PV}-sparc.tbz2 which means ghc-bin-6.10.4-sparc.tbz2 in the distfiles of any gentoo mirror, eg: http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/ghc-bin-6.10.4-sparc.tbz2 It expects to unpack to / and installs under /usr however it's quite possible to unpack to a temp dir and relocate the scripts and package.conf using a bit of sed. In fact this is what the ebuild does for the bootstrapping binary. Duncan ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: gcc version for GHC 6.10.4 under Sparc/Solaris
Duncan Coutts wrote: I should also note that there is a GHC 6.10.4 binary for Sparc/Linux that is now included with Gentoo. It's got all features turned on except for split objects (which fails due to mixing ld -r and --relax flags). In particular it's a registerised via-C build with ghci, TH and profiling working. Does compiling using gcc-4.3.x work if -fvia-C is added? It's a distro package not a generic relocatable GHC binary tarball so there's no point putting it on the ghc download page, but it's there nevertheless if people want it (look for the gentoo ghc ebuild). I've found http://packages.gentoo.org/package/dev-lang/ghc Where are ebuilds or downloadable binaries? Cheers Christian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: gcc version for GHC 6.10.4 under Sparc/Solaris
On Thu, Aug 06, 2009 at 10:04:19AM +0200, Christian Maeder wrote: Hi Ian, could you add a note on the download page that GCC version 4.3.x is not suited for: Done! Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
gcc version for GHC 6.10.4 under Sparc/Solaris
Hi Ian, could you add a note on the download page that GCC version 4.3.x is not suited for: http://www.haskell.org/ghc/dist/6.10.4/maeder/ghc-6.10.4-sparc-sun-solaris2.tar.bz2 The binary-dist was compiled using gcc-4.2.2 (but also works i.e. for gcc-3.4.4) page http://hackage.haskell.org/trac/ghc/wiki/Building/Solaris says: GCC version 4.1.2 is recommended and GHC has not yet been updated to understand the assembly output of GCC version 4.3.x. Maybe a ticket should be opened for gcc-4.3.x under Sparc/Solaris Did anyway use gcc-4.3.x under x86 Solaris? (I don't think, it'll have the same problem.) Cheers Christian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: gcc version for GHC 6.10.4 under Sparc/Solaris
On Thu, 2009-08-06 at 10:04 +0200, Christian Maeder wrote: Hi Ian, could you add a note on the download page that GCC version 4.3.x is not suited for: http://www.haskell.org/ghc/dist/6.10.4/maeder/ghc-6.10.4-sparc-sun-solaris2.tar.bz2 The binary-dist was compiled using gcc-4.2.2 (but also works i.e. for gcc-3.4.4) I should also note that there is a GHC 6.10.4 binary for Sparc/Linux that is now included with Gentoo. It's got all features turned on except for split objects (which fails due to mixing ld -r and --relax flags). In particular it's a registerised via-C build with ghci, TH and profiling working. It's a distro package not a generic relocatable GHC binary tarball so there's no point putting it on the ghc download page, but it's there nevertheless if people want it (look for the gentoo ghc ebuild). Duncan ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users