[GHC] #10458: GHCi fails to load shared object (the 'impossible' happened)

GHC ghc-devs at haskell.org
Thu Jun 25 18:59:33 UTC 2015


#10458: GHCi fails to load shared object (the 'impossible' happened)
---------------------------------+-----------------------------------------
        Reporter:  rleslie       |                   Owner:
            Type:  bug           |                  Status:  new
        Priority:  normal        |               Milestone:  7.10.2
       Component:  GHCi          |                 Version:  7.10.1
      Resolution:                |                Keywords:
Operating System:  Linux         |            Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |               Test Case:
      Blocked By:                |                Blocking:
 Related Tickets:                |  Differential Revisions:
---------------------------------+-----------------------------------------

Comment (by rwbarton):

 I'm a little worried about whether the obvious fix for this (adding
 `-lfoo` to the gcc command line for building the temporary shared objects
 for each library `-lfoo` specified on the ghci command line) might cause
 #8935 to occur again in some configurations. If we add every library that
 we've loaded there then what was the point of loading the libraries with
 RTLD_LOCAL?

 Possibly we only need to use RTLD_LOCAL when building the ghci linker
 statically? Then we could revert the other changes like #10322 and #10110
 and #10058.

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


More information about the ghc-tickets mailing list