#5289: Can't use ghci with a library linked against libstdc++
---------------------------------+------------------------------------------
    Reporter:  bos               |        Owner:            
        Type:  bug               |       Status:  new       
    Priority:  normal            |    Milestone:  7.2.1     
   Component:  GHCi              |      Version:  7.0.3     
    Keywords:                    |     Testcase:            
   Blockedby:                    |   Difficulty:            
          Os:  Unknown/Multiple  |     Blocking:            
Architecture:  Unknown/Multiple  |      Failure:  GHCi crash
---------------------------------+------------------------------------------

Comment(by bos):

 Following up with [comment:11 myself]:

 > On Mac OS X, if I strong-arm ghci into finding `libstdc++`, it fails
 [...]

 I can no longer reproduce that problem, so I don't know what was causing
 it.

 Now, I get the same floating point exception as reported by [comment:14
 hgolden]  on both Linux and OS X.

 So the crux of this bug remains that ghc/ghci needs to record the path to
 a shared library, because even if the file could originally be linked
 against when the program was being built, it's not guaranteed to be on the
 *runtime linker*'s search path.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to