#7106: ghc-7.4.2 on sparc solaris without threaded rts
---------------------------+------------------------------------------------
  Reporter:  maeder        |          Owner:         
      Type:  bug           |         Status:  closed 
  Priority:  normal        |      Milestone:         
 Component:  Compiler      |        Version:  7.4.2  
Resolution:  fixed         |       Keywords:         
        Os:  Solaris       |   Architecture:  sparc  
   Failure:  None/Unknown  |     Difficulty:  Unknown
  Testcase:                |      Blockedby:         
  Blocking:                |        Related:         
---------------------------+------------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:2 maeder]:
 > as always:
 >
 > {{{
 > -bash-3.00$ cat mk/build.mk
 > BIN_DIST=1
 > Project=Ghc
 > XMLDocWays = html
 > HADDOCK_DOCS = YES
 > }}}

 Except for `HADDOCK_DOCS` those are all settings for the old build system
 and won't have any effect.  Also `HADDOCK_DOCS` defaults to `YES` anyway,
 so you're effectively compiling with an empty `build.mk` :-)

 I think I see why you don't have the threaded RTS:

 {{{
 GhcRTSWays += $(if $(findstring NO, $(GhcUnregisterised)),thr thr_debug
 thr_l,)
 }}}

 this is different in the 7.4 branch: I made the threaded RTS unconditional
 after 7.4.

 Sparc is unregisterised now that the registerised C backend has been
 removed, which is why you're not getting the threaded RTS.  You can enable
 the threaded RTS explicitly by adding `GhcRTSWays += thr` to your
 `mk/build.mk`.



 > In addition I've removed the [SysTools.Option "-Wl,-no-relax"] in
 compiler/main/DriverPipeline.hs
 > after "ld: unrecognized option '-n'" (see #5407)
 >
 > I had to continue "gmake" several times. I'll attach the last two logs.
 >

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7106#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to