[GHC] #11042: Template Haskell / GHCi does not respect extra-lib-dirs

GHC ghc-devs at haskell.org
Sat Oct 22 14:11:45 UTC 2016


#11042: Template Haskell / GHCi does not respect extra-lib-dirs
-------------------------------------+-------------------------------------
        Reporter:  mboes             |                Owner:  trommler
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:  11238             |             Blocking:
 Related Tickets:  #10458 #5289      |  Differential Rev(s):
  #12753                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by trommler):

 Replying to [comment:13 trommler]:
 > Replying to [comment:11 trommler]:
 > > Replying to [comment:10 rwbarton]:
 > > [...]
 > > > This may not even be a ghc bug at all.
 > > I think the ghc bug here is that GHCi panics when it cannot find a
 shared library and for errors returned by the link editor and also for
 some errors returned by `dlopen`. The correct behavior would be to print
 an error message and terminate normally in such situation as it is not
 ghc's fault that a file is not found etc. I shall create a separate ticket
 for that.
 > Created #12753.
 Wait a minute! In this ticket GHC did not panic but perhaps the error
 message could be more informative and tell the user why it wanted to load
 `libz.so` at all.

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


More information about the ghc-tickets mailing list