#858: -fPIC on x86 and x86_64
-----------------------------+----------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |          Owner:         
      Type:  bug             |         Status:  closed 
  Priority:  normal          |      Milestone:         
 Component:  Compiler        |        Version:  6.4.2  
  Severity:  normal          |     Resolution:  invalid
  Keywords:  fPIC dynamic    |             Os:  Linux  
Difficulty:  Unknown         |   Architecture:  x86    
-----------------------------+----------------------------------------------
Changes (by simonmar):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 Not a bug.  -fPIC is definitely on the agenda, though.

 The reason why you can't just use -fPIC on the C files is because we post-
 process the .s file generated by gcc, and the post-processor can't handle
 PIC for various hard-to-fix reasons.  It's likely that when we get -fPIC
 working, it will not be compatible with -fvia-C.

 However, -fPIC should work fine with an unregisterised build (I haven't
 tried this, though).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/858>
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