
#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): Ah, you're very correct. I shouldn't comment on tickets when it's absurdly late at night and I'm really tired... Apple has advertised OS X as having TLS since Lion I believe. I think this really is TLS support. It's just slower than Linux - on Ubuntu 12.10, the example above moves values directly into ```%fs:0xfffffffffffffff0```. GCC is just weird here because it's calling into ```libgcc``` first from my digging (which would maybe mean it's even slower. I haven't tested.) Modern GCC is at least easily obtainable on OS X, so perhaps this isn't as bad and it's not worth doing something evil. We'll probably need to fix other things, so I'll still look into it. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7602#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler