Solaris x86 package

Georg Sauthoff gsauthof at TechFak.Uni-Bielefeld.DE
Tue Jun 13 13:18:20 EDT 2006


On Tue, Jun 13, 2006 at 09:58:37AM +0200, Christian Maeder wrote:

Hi,

> Georg Sauthoff wrote:
> >I tried 6.4 cvs from 20060607 at Solaris 10 x86 and have no
> >problems with a threaded rts here (did a stage3 build to test
> >it).

> good. The results of "gmake" in testsuite/tests/ghc-regress might be 

I am afraid the stage3 build wasn't enough :(. I did some more testing
with that ghc build. I built a middle sized Haskell project with it,
which worked. A colleaque did this test again, which worked, too. Then
he build another Haskell package, which failed (ghc segfaults). After
this the previous project failed, too. I tried it again and it worked.
After a break I built the project again - and it failed (everytime
segfaults).

Thus I guess that I have problems with the threaded rts (which are more
difficult too reproduce, than the previous ones).

Ah, and ghci segfaults every time - I didn't test ghci before.

I will try a non-threaded version and threaded with debug enabled.

BTW, what are the disadvantages of a non-threaded rts?

> interesting, too. My last result with the unthreaded (sparc) version 
> yielded the following problems:
[..]
I will try it.

> >I tried that package at a sparc Solaris 8 mashine. The problem
> >here is, that some shared libs are not available:

> ># ldd /var/tmp/gsauthof/ghc-6.4.2-20060529/lib/ghc-6.4.2/ghc-6.4.2
> >        libreadline.so.5 =>      (file not found)
> >        libncurses.so.5 =>       (file not found)
> >        libdl.so.1 =>    /usr/lib/libdl.so.1
> >        libm.so.2 =>     (file not found)
> >        libgmp.so.3 =>   (file not found)
> >        libc.so.1 =>     /usr/lib/libc.so.1
> >        /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1

> >Because of the missing libm.so.2 - did you build it at
> >Solaris > 8?
 
> I've built under Solaris 10. (Maybe older version of readline and 
> ncurses would work, too.)

The only 'real' problem is libm.so.2 (Solaris 8 has libm.so.1) - I
guess.

> Surely, you may try to build a sparc binary distribution as well

Yes, I will try it after I finished the Solaris x86 stuff. At the
solaris/sparc mashines, there is a ghc 6.2 available - but I get
'gcc notes' like described in this mail:
http://www.haskell.org/pipermail/glasgow-haskell-users/2004-November/007473.html
(note: if this code is reached, the program will aborted)

So I will start with the binary 6.4.1 from haskell.org and get the
right readline/gmp libs.

Regards
Georg Sauthoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20060613/45066af1/attachment-0001.bin


More information about the Glasgow-haskell-users mailing list