sparc/solaris binary distro for 6.12.1
Ben.Lippmeier at anu.edu.au
Thu Feb 4 22:46:11 EST 2010
Sorry, this looks like a problem in the build system. An absolute path to GCC was baked into the compiler where it shouldn't have been. GHC also uses GCC as an assembler, which is why ghci works but a regular compile doesn't.
I've added a ticket for it, and am doing a new build. I'll upload a new distro once the build has finished.
On 04/02/2010, at 21:31 , Christian Maeder wrote:
> Hi Ben,
> after installing GNU make 3.81 I was able to install your distro.
> ghci works, but ghc fails with:
> -bash-3.00$ ghc --make Setup.hs
> [1 of 1] Compiling Main ( Setup.hs, Setup.o )
> ghc: could not execute: /export/home/benl/software/gcc-4.1.2/bin/gcc
> My environment is as follows:
> SUNWbinutils DESC: GNU binutils - Binary file utilities 2.15
> No idea about coreutils.
> m4, sed, tar, grep must all be called as gm4, gsed, gtar and ggrep
> (otherwise the version is unknown).
> Python 2.4.1
> GCC 4.2.2
> GNU M4 1.4.8
> GNU sed version 4.1.4
> GNU tar 1.15.1
> GNU grep 2.4.2
> Alex version 2.0.1
> Happy Version 1.15
> Cheers Christian
> Ben Lippmeier schrieb:
>> hmm. I suppose I am using the term "Solaris" fairly loosely!
>> My build environment contains:
>> GNU binutils 2.20
>> GNU coreutils 8.4
>> GNU make 3.81
>> GCC 4.1.2
>> GNU m4 1.4.13
>> Python 2.6.4
>> GNU sed 4.2
>> GNU tar 1.20
>> GNU grep 2.5
>> Alex 2.2
>> Happy 1.17
>> That's all the stuff I had to install to get it to compile, and with the same environment the head now builds with 6.12.1 as the bootstrap compiler. That's using the standard "perf" and "devel" settings in mk/build.mk as well, ie without needing to go via-c.
>> I'll add the package versions to the developer's wiki.
>> Ian: you might want to add these versions to the GHC page, else link to the developers wiki with a note saying that people should install this stuff first to avoid pain.
>> On 04/02/2010, at 6:19 , Christian Maeder wrote:
>>> I've tried to install this distro, because building my own failed due to
>>> an too old gmake version.
>>> Installing failed, too, with:
>>> gmake -r --no-print-directory -f ghc.mk install BINDIST=YES
>>> ghc.mk:95: Extraneous text after `else' directive
>>> ghc.mk:96: Extraneous text after `else' directive
>>> ghc.mk:96: *** only one `else' per conditional. Stop.
>>> gmake: *** [install] Error 2
>>> but without being warned that gmake is too old!
>>> Cheers Christian
>>> -bash-3.00$ gmake --version
>>> GNU Make 3.80
>>> Copyright (C) 2002 Free Software Foundation, Inc.
>>> Ian Lynagh schrieb:
>>>> On Wed, Feb 03, 2010 at 06:02:38PM +1100, Ben Lippmeier wrote:
>>>>> I've uploaded a sparc/solaris binary distro for 6.12.1 to my home dir on darcs.haskell.org.
>>>>> Can someone please add this to the GHC home page?
More information about the Cvs-ghc