[GHC] #9277: GHCi panic: Loading temp shared object failed: Symbol not found
GHC
ghc-devs at haskell.org
Mon Jul 7 10:58:42 UTC 2014
#9277: GHCi panic: Loading temp shared object failed: Symbol not found
-------------------------------+------------------------------------------
Reporter: mietek | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 7.8.2
Resolution: | Keywords: panic, dynamic linking
Operating System: MacOS X | Architecture: x86_64 (amd64)
Type of failure: GHCi crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets: #9034, #9074, #8935
-------------------------------+------------------------------------------
Comment (by mietek):
Works as expected in GHC 7.6.3:
{{{
$ ghci foo.o
GHCi, version 7.6.3: 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 (static) foo.o ... done
final link ... ghc:
lookupSymbol failed in relocateSection (relocate external)
foo.o: unknown symbol `_OBJC_CLASS_$_NSThread'
linking extra libraries/objects failed
}}}
{{{
$ ghci -framework Foundation foo.o
GHCi, version 7.6.3: 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 (static) foo.o ... done
Loading object (framework) Foundation ... done
final link ... done
>
Leaving GHCi.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9277#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list