logo       

Re: [GHC] #858: -fPIC on x86 and x86_64: msg#00142

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #858: -fPIC on x86 and x86_64

#858: -fPIC on x86 and x86_64
-----------------------------+----------------------------------------------
Reporter: roberto@xxxxxx | 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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise