[GHC] #9386: GHCi cannot load .so in ./

GHC ghc-devs at haskell.org
Tue Dec 23 13:55:38 UTC 2014


#9386: GHCi cannot load .so in ./
-------------------------------------+-------------------------------------
              Reporter:  crockeea    |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Other       |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by crockeea):

 * component:  GHCi => Compiler


Comment:

 For the purposes of finding and fixing the bug, here are two more tidbits:
  1. This bug also affects GHC with .so files
  2. This bug does ''not'' affect .o files. In that case, I can just type a
 list of files '''a.o b.o ...''' and GHC searches the local directory. This
 seems to support your suggested solution to just prepend a ./ to paths.
 But why is the behavior different for .o and .so files? Perhaps it's a
 matter of hardcoded extensions?

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


More information about the ghc-tickets mailing list