6.4.2.20060411 under solaris

Simon Marlow simonmarhaskell at gmail.com
Thu Apr 13 10:22:18 EDT 2006


Christian Maeder wrote:
> Christian Maeder wrote:
> 
>>> RtsUtils.c:190: error: too few arguments to function 'ctime_r'
>>
>>
>> I could carry on after adding an argument ", 26"
> 
> 
> now I get an error when linking the stage2 compiler. How should I fix this?
> 
> Cheers Christian
> 
> /home/maeder/haskell/solaris/ghc-6.4.2.20060411/ghc/rts/libHSrts_thr.a(OSThreads 
> 
> .thr_o): In function `yieldThread':
> OSThreads.c:(.text+0x88): undefined reference to `sched_yield'
> collect2: ld returned 1 exit status
> <<ghc: 14133388 bytes, 3 GCs, 165404/165404 avg/max bytes residency (1 
> samples),
>  15M in use, 0.00 INIT (0.00 elapsed), 0.13 MUT (8.89 elapsed), 0.03 GC 
> (0.06 el
> apsed) :ghc>>
> gmake[2]: *** [stage2/ghc-6.4.2.20060411] Error 1
> gmake[2]: Leaving directory 
> `/home/maeder/haskell/solaris/ghc-6.4.2.20060411/ghc
> /compiler'
> gmake[1]: *** [stage2] Error 2
> gmake[1]: Leaving directory 
> `/home/maeder/haskell/solaris/ghc-6.4.2.20060411'
> gmake: *** [bootstrap2] Error 2
> (

I've been rather busy today with Haskell' and ICFP reviewing, so I won't 
be able to do the 6.4.2 release until next week (probably Tuesday, 
Monday is a holiday in the UK).

If you have fixes for these, and get them to me before Monday, I *might* 
be able to get them into the release.  It's a bit late though.

The sched_yield() thing looks like some extra library needs to be linked 
in under Solaris for the threaded RTS.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list