[GHC] #11499: Loading temp shared object failed in GHCi

GHC ghc-devs at haskell.org
Tue Apr 17 16:25:07 UTC 2018


#11499: Loading temp shared object failed in GHCi
-------------------------------------+-------------------------------------
        Reporter:  alfa07            |                Owner:  trommler
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  7.10.3
      Resolution:                    |             Keywords:  dynamic
                                     |  linking
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHCi crash        |            Test Case:
      Blocked By:  11238             |             Blocking:
 Related Tickets:  #10458            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by bgamari:

Old description:

> While trying to launch ghci got the following error:
>
> ❯ stack ghci
> The following GHC options are incompatible with GHCi and have not been
> passed to it: -threaded -Odph
> Using main module: 1. Package `line-segment-intersection' component
> exe:demo with main-is file:
> /Users/maxim/Dev/ComputationGeometry/LineSegmentIntersection/app/Main.hs
> Configuring GHCi with the following packages: line-segment-intersection,
> GLUT, GLUtil, boundingboxes, freetype-simple, freetype2
> GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
> ghc: panic! (the 'impossible' happened)
>   (GHC version 7.10.3 for x86_64-apple-darwin):
>         Loading temp shared object failed:
> dlopen(/var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc23900_0/libghc_25.dylib,
> 5): Symbol not found: _bdf_driver_class
>   Referenced from:
> /var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc23900_0/libghc_25.dylib
>   Expected in: flat namespace
>  in
> /var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc23900_0/libghc_25.dylib
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

New description:

 While trying to launch ghci got the following error:
 {{{
 ❯ stack ghci
 The following GHC options are incompatible with GHCi and have not been
 passed to it: -threaded -Odph
 Using main module: 1. Package `line-segment-intersection' component
 exe:demo with main-is file:
 /Users/maxim/Dev/ComputationGeometry/LineSegmentIntersection/app/Main.hs
 Configuring GHCi with the following packages: line-segment-intersection,
 GLUT, GLUtil, boundingboxes, freetype-simple, freetype2
 GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.3 for x86_64-apple-darwin):
         Loading temp shared object failed:
 dlopen(/var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc23900_0/libghc_25.dylib,
 5): Symbol not found: _bdf_driver_class
   Referenced from:
 /var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc23900_0/libghc_25.dylib
   Expected in: flat namespace
  in
 /var/folders/dz/lm9jncs90nq0vn_5j7xhpg2xqyfj66/T/ghc23900_0/libghc_25.dylib

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

--

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


More information about the ghc-tickets mailing list