Re: Building ghc-6.4 on Solaris x86

2006-05-03 Thread Simon Marlow
Georg Sauthoff wrote: Ok, I tried[1] that and like I guessed, now I get again the infamous 'Prologue junk?' error' again: ../../ghc/compiler/ghc-inplace -H16m -O -O2 -static -I. -#include Prelude.h -#include Rts.h -#include RtsFlags.h -#include RtsUtils.h -#include StgRun.h -#include

Re: Building ghc-6.4 on Solaris x86

2006-05-03 Thread Georg Sauthoff
On Wed, May 03, 2006 at 11:50:46AM +0100, Simon Marlow wrote: Hi, You shouldn't see the %ebp instructions, because gcc should be invoked with -fomit-frame-pointer. Is it possible that somehow part of your build thinks it is unregisterised? I hope not. Started with a fresh tree and

Re: Building ghc-6.4 on Solaris x86

2006-05-03 Thread Georg Sauthoff
On Wed, May 03, 2006 at 05:56:18PM +0200, Georg Sauthoff wrote: On Wed, May 03, 2006 at 11:50:46AM +0100, Simon Marlow wrote: Hi, [..] Try running GHC with -v, see whether the -fomit-frame-pointer flag is being passed to gcc. If not, try to find out why - it should be added by code in

Re: Building ghc-6.4 on Solaris x86

2006-05-02 Thread Simon Marlow
Georg Sauthoff wrote: [..] If I go into ghc/rts and manually execute the last command, it terminates sometimes. I.e. if I execute it manually 20 times, 1 time it hangs and 19 times it terminates ... [..] to give more information: In the log from a truss[1] after hanging this block gets

Re: Building ghc-6.4 on Solaris x86

2006-05-02 Thread Georg Sauthoff
On Tue, May 02, 2006 at 12:16:27PM +0100, Simon Marlow wrote: Hi, [..] There appears to be a problem with the threaded RTS on some platforms: Solaris and possibly FreeBSD. I haven't been able to track down the problem yet - if someone could build GHC with -threaded -debug and send me

Re: Building ghc-6.4 on Solaris x86

2006-05-01 Thread Georg Sauthoff
On Sat, Apr 29, 2006 at 09:36:53PM +0300, Einar Karttunen wrote: Hello, A few months ago physrules ported GHC 6.4.1 to solaris x86. who/what is physrules? There were a few problems (and the tarball does not have the install target fixed), but the binary should work. Hopefully this can

Re: Building ghc-6.4 on Solaris x86

2006-05-01 Thread Georg Sauthoff
On Sat, Apr 29, 2006 at 05:47:29PM +0200, Georg Sauthoff wrote: Hi, [..] If I go into ghc/rts and manually execute the last command, it terminates sometimes. I.e. if I execute it manually 20 times, 1 time it hangs and 19 times it terminates ... [..] to give more information: In the log from

Building ghc-6.4 on Solaris x86

2006-04-29 Thread Georg Sauthoff
Hi, I am trying to build ghc-6.4.2 under solaris x86 (10.0). I mainly followed http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.html, but now I am stuck. I managed to build an unregistered ghc at the target. I build the .hc files on a x86 Linux box. It compiles hello world

Re: Building ghc-6.4 on Solaris x86

2006-04-29 Thread Georg Sauthoff
Hi, I forgot one thing: at the solaris x86 system is a ghc-6.2 already installed. Via start script it uses -fvia-C. So building 6.4.2 with it give me a different error: # PATH=/var/tmp/gsauthof/bin:/usr/sfw/bin:$PATH ./configure --with-gcc=/usr/sfw/bin/gcc --with-ghc=/vol/ghc-6.2/bin/ghc

Re: Building ghc-6.4 on Solaris x86

2006-04-29 Thread Einar Karttunen
On 29.04 17:47, Georg Sauthoff wrote: Hi, I am trying to build ghc-6.4.2 under solaris x86 (10.0). Hello A few months ago physrules ported GHC 6.4.1 to solaris x86. There were a few problems (and the tarball does not have the install target fixed), but the binary should work. Hopefully this