Re: ghc-6.6 under sparc-sun-solaris

2007-01-26 Thread Ian Lynagh
On Thu, Jan 25, 2007 at 02:35:50PM +0100, Winfried Kung wrote: > > == make all -wr -f Makefile; > in /global/HOME/kung/install/ghc-6.6/libraries/base > > ../../compiler/ghc-inplace -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc

Re: ghc-6.6 under sparc-sun-solaris

2007-01-26 Thread Ian Lynagh
On Fri, Jan 26, 2007 at 01:23:05PM +0100, Christian Maeder wrote: > Christian Maeder schrieb: > > http://www.haskell.org/ghc/download_ghc_66.html#sparcsolaris > > > > Ian, could you remove the out-dated first line from this page? > > > > > NOTE: you must use GCC 2.95 or 3.4+ on Sparc. There is

Re: ghc-6.6 under sparc-sun-solaris

2007-01-26 Thread Christian Maeder
Winfried Kung schrieb: > I also had to set explicitely > SRC_HC_OPTS = -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc > as Duncan Coutts already pointed out. >> I did nothing special. My build.mk (in mk/) says: >> BIN_DIST=1 >> Project=Ghc >> SRC_HC_OPTS += -optc-mcpu=ultrasparc -opta-mcpu=ultraspa

Re: ghc-6.6 under sparc-sun-solaris

2007-01-26 Thread Winfried Kung
PROTECTED]> Betreff: Re: ghc-6.6 under sparc-sun-solaris > Winfried Kung schrieb: > > Hello Christian, > > > > I tried out the binary distribution, on Solaris 9. But I cannot execute > ghc. > > > > It says: > > > > ld.so.1: ghc-6.6: fatal: li

Re: ghc-6.6 under sparc-sun-solaris

2007-01-26 Thread Christian Maeder
Christian Maeder schrieb: > http://www.haskell.org/ghc/download_ghc_66.html#sparcsolaris > Ian, could you remove the out-dated first line from this page? > > NOTE: you must use GCC 2.95 or 3.4+ on Sparc. There is a known bug with > GCC versions between 3.0-3.3 which causes incorrect code to be

Re: ghc-6.6 under sparc-sun-solaris

2007-01-26 Thread Christian Maeder
Winfried Kung schrieb: > Hello Christian, > > I tried out the binary distribution, on Solaris 9. But I cannot execute ghc. > > It says: > > ld.so.1: ghc-6.6: fatal: libm.so.2: open failed: No such file or directory > Killed > > On my machine, there is no libm.so.2, only a libm.so.1 > > Some p

Re: ghc-6.6 under sparc-sun-solaris

2007-01-25 Thread Winfried Kung
Hello Christian, I tried out the binary distribution, on Solaris 9. But I cannot execute ghc. It says: ld.so.1: ghc-6.6: fatal: libm.so.2: open failed: No such file or directory Killed On my machine, there is no libm.so.2, only a libm.so.1 Some people say, libm.so.2 is only available from Sol

Re: ghc-6.6 under sparc-sun-solaris

2007-01-25 Thread Christian Maeder
Winfried, could you also try my binary distribution? http://www.haskell.org/ghc/download_ghc_66.html#sparcsolaris Ian, could you remove the out-dated first line from this page? NOTE: you must use GCC 2.95 or 3.4+ on Sparc. There is a known bug with GCC versions between 3.0-3.3 which causes inco

Re: ghc-6.6 under sparc-sun-solaris

2007-01-25 Thread Winfried Kung
Hello, when trying to build ghc-6.6 under Sparc Solaris (SunOS 5.9), the build fails with "/usr/ccs/bin/ld: illegal option -- x" I use gcc version 3.4.4 and GNU ld version 2.11.2 (with BFD 2.11.2). My configure recognizes them and sets an ld option "-x" as expected. But when it comes to make, I

Re: ghc-6.6 under sparc-sun-solaris

2006-10-18 Thread Duncan Coutts
Christian, I've reported this bug here: http://hackage.haskell.org/trac/ghc/ticket/951 Please add any further info you think necessary. Duncan On Wed, 2006-10-18 at 11:21 +0200, Christian Maeder wrote: > Duncan Coutts schrieb: > >>> Try SRC_HC_OPTS = -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc

Re: ghc-6.6 under sparc-sun-solaris

2006-10-18 Thread Christian Maeder
Duncan Coutts schrieb: >>> Try SRC_HC_OPTS = -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc >> With this I've produced a binary saying: >> -bash-3.00$ ghc --version >> ghc-6.6: schedule: re-entered unsafely. >>Perhaps a 'foreign import unsafe' should be 'safe'? > > Yes! I get exactly the same und

Re: ghc-6.6 under sparc-sun-solaris

2006-10-17 Thread Duncan Coutts
On Tue, 2006-10-17 at 12:15 +0200, Christian Maeder wrote: > Duncan Coutts schrieb: > >> So "ghc -split-objs" works now with either -optc-mcpu=v8 or > >> -opta-mcpu=v9 (or even -opta-mcpu=ultrasparc). > >> > >> Where should I place what so that my stage1 inplace-compiler works > >> without "SplitOb