[GHC] #1021: GHC static libraries are not position independent in OSX

GHC trac at galois.com
Wed Nov 22 14:38:57 EST 2006


#1021: GHC static libraries are not position independent in OSX
--------------------------+-------------------------------------------------
 Reporter:  guest         |          Owner:         
     Type:  bug           |         Status:  new    
 Priority:  normal        |      Milestone:         
Component:  Build System  |        Version:  6.6    
 Severity:  normal        |     Resolution:         
 Keywords:                |     Difficulty:  Unknown
 Testcase:                |   Architecture:  powerpc
       Os:  MacOS X       |  
--------------------------+-------------------------------------------------
Comment (by alfonso.acosta at gmail.com):

 Furthermore ... It definitively doesn't make sense to support -fPIC in an
 architecture in which no GHC position independent libraries are available.

 wolfgang says those libraries would be "slightly bigger and slower" ...

 .. Then a good solution would to provide position independednt libraries
 (appart from the position dependent) for those architectures and only link
 against those when -fPIC is supplied.

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


More information about the Glasgow-haskell-bugs mailing list