[GHC] #9237: GHC not recognizing "-llibrary" form in implicit linker scripts

GHC ghc-devs at haskell.org
Wed Jun 25 13:16:30 UTC 2014


#9237: GHC not recognizing "-llibrary" form in implicit linker scripts
---------------------------------------+----------------------------------
        Reporter:  mmikolajczyk        |            Owner:
            Type:  bug                 |           Status:  new
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.8.2
      Resolution:                      |         Keywords:
Operating System:  Unknown/Multiple    |     Architecture:  x86_64 (amd64)
 Type of failure:  Compile-time crash  |       Difficulty:  Unknown
       Test Case:                      |       Blocked By:
        Blocking:                      |  Related Tickets:
---------------------------------------+----------------------------------

Comment (by rwbarton):

 Oh, hmm, I actually looked at the code and we do already inspect the error
 string from `dlopen` and try to parse a linker script. The problem is that
 we don't support `INPUT(-llibrary)`. I guess we can transform the name to
 `liblibrary.so` in that case?

 I still would like to avoid incurring dependencies on `.so`s that are
 really linker scripts, if possible...

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9237#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list