#781: GHCi on x86_64, cannot link to static data in shared libs
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                
     Type:  bug               |         Status:  new           
 Priority:  normal            |      Milestone:  _|_           
Component:  Compiler          |        Version:  6.5           
 Severity:  normal            |     Resolution:                
 Keywords:  getEnvironment    |     Difficulty:  Unknown       
 Testcase:  getEnvironment01  |   Architecture:  x86_64 (amd64)
       Os:  Linux             |  
------------------------------+---------------------------------------------
Changes (by simonmar):

  * milestone:  6.8 branch => _|_

Comment:

 We've committed Wolfgang's patch to `Linker.c` that understands the PIC
 relocations on x86_64.  This means that it is possible to compile the
 Haskell code using `-fPIC` to workaround this problem.  Shared libraries
 will also make this less of an issue, as it will then only be a problem
 for modules rather than packages that are loaded into GHCi.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/781#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to