
#9034: GHCi panics when given C++ object file on GNU/Linux -------------------------------------+------------------------------------- Reporter: jun0 | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: GHCi | Version: 7.8.2 Resolution: | Keywords: panic, dynamic Operating System: Linux | linking Type of failure: GHCi crash | Architecture: x86_64 (amd64) Test Case: | Difficulty: Unknown Blocking: | Blocked By: Differential Revisions: | Related Tickets: -------------------------------------+------------------------------------- Comment (by thomie): Running `ghci -v -lstdc++ doesnotexist.o` shows: {{{ ... Loading object (static) doesnotexist.o ... not found Loading object (dynamic) /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.so ... done ... }}} Shouldn't it try to load `libstdc++.so` before `doesnotexist.o`? And why does it say `(static)`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9034#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler