[GHC] #7602: Threaded RTS performing badly on recent OS X (10.8?)

GHC cvs-ghc at haskell.org
Thu Jan 17 18:17:11 CET 2013


#7602: Threaded RTS performing badly on recent OS X (10.8?)
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:  _|_             
   Component:  Runtime System    |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by thoughtpolice):

 The situation is 'Okay' now because Clang/LLVM 3.2 and OS X (as of 10.7
 **possibly**, but 10.8 for certain) supports TLS.

 As far as I know, we don't use register variables (which may never appear
 in LLVM) on x86_64 and instead opt for TLS, so it should be much easier to
 compile the RTS and compiler using only Clang/LLVM now.

 We already have code in place in DriverPipeline to run Clang for the
 assembler and whatnot, so perhaps it wouldn't be that much change to get a
 Fully-LLVM built GHC on OS X.

 I might have time to try this since I've been sorting out llvm 3.2 bugs
 anyway.

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



More information about the ghc-tickets mailing list