[GHC] #5743: Configurably use system-provided libffi
GHC
cvs-ghc at haskell.org
Fri Nov 30 14:54:57 CET 2012
#5743: Configurably use system-provided libffi
------------------------------+---------------------------------------------
Reporter: nomeata | Owner: trommler
Type: feature request | Status: patch
Priority: normal | Milestone: 7.6.2
Component: Build System | Version: 7.7
Resolution: | Keywords:
Os: Linux | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related: #4496
------------------------------+---------------------------------------------
Comment(by PHO):
Replying to [comment:16 trommler]:
> In the case of {{{UseSystemLibFFI=="YES"}}} the correct linker flags
will be set as part of {{{rts/libs.depend}}}, hence the empty definition
for {{{LIBFFI_LIBS}}}.
I get it. But then what about {{{FFILibDir}}}? If I understand this
correctly, {{{rts/libs.depend}}} contains only {{{-l}}} flags so
{{{-L$(FFILibDir)}}} won't be passed to the linker.
Apart from that, {{{$(rts_LD_OPTS)}}} seems to be ignored too. Or am I
missing some point?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5743#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list