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

GHC ghc-devs at haskell.org
Thu Nov 13 18:07:56 UTC 2014


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

 * status:  new => infoneeded


Comment:

 crockeea: I am not able to reproduce your issue on Ubuntu x86_64.
 {{{
 $ cp /usr/lib/x86_64-linux-gnu/libbsd.so -H .

 $ touch Foo.hs

 $ ghc-7.8.2 --interactive Foo *.so
 GHCi, version 7.8.2: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading object (dynamic) libbsd.so ... done
 final link ... done
 [1 of 1] Compiling Main             ( Foo.hs, interpreted )
 Ok, modules loaded: Main.
 }}}

 Which OS and architecture are you using? Could you supply the most simple
 source for `mylib.so` with which you encounter this issue, including build
 and run instructions. Thanks!

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


More information about the ghc-tickets mailing list