[GHC] #2615: ghci doesn't play nice with linker scripts

GHC trac at galois.com
Tue Dec 15 16:38:43 EST 2009


#2615: ghci doesn't play nice with linker scripts
------------------------------------------+---------------------------------
  Reporter:  AlecBerryman                 |          Owner:  hgolden                
      Type:  bug                          |         Status:  new                    
  Priority:  normal                       |      Milestone:  6.14.1                 
 Component:  GHCi                         |        Version:  6.10.1                 
Resolution:                               |       Keywords:  dlopen, dynamic linking
Difficulty:  Unknown                      |             Os:  Linux                  
  Testcase:                               |   Architecture:  Unknown/Multiple       
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Comment (by hgolden):

 Replying to [comment:16 guest]:

 > Where do I have to remove pthread?

 I think you can compile your LLVM modules using the -normal way instead of
 the -threaded way.

 My patch fixes this problem. I'm still working on a test, but the patch
 works. I could send it to you immediately if you are willing to rebuild
 your ghc. (Try the above suggestion first!)

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


More information about the Glasgow-haskell-bugs mailing list