
#10151: Compilation failed on mac, ghc: panic! (the 'impossible' happened) -------------------------------+------------------------------------------- Reporter: jaseemabid | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------+------------------------------------------- Comment (by jaseemabid): I hit a similar error and it might be related. Source: https://github.com/jaseemabid/functorrent (Its a different project, but similar build and libraries) Version: ac4100f4f9ed09fcba4c482f3c245fc5837324b1 $ cabal test Preprocessing library functorrent-0.1.0.0... In-place registering functorrent-0.1.0.0... Preprocessing test suite 'lisper-test' for functorrent-0.1.0.0... Linking dist/build/lisper-test/lisper-test ... Undefined symbols for architecture x86_64: "_functorrentzm0zi1zi0zi0_FuncTorrentziUtils_zdwsplitN_closure", referenced from: _S7Tj_srt in libHSfunctorrent-0.1.0.0.a(Peer.o) _SeM6_srt in libHSfunctorrent-0.1.0.0.a(Tracker.o) "_functorrentzm0zi1zi0zi0_FuncTorrentziUtils_zdwsplitN_info", referenced from: _c8uZ_info in libHSfunctorrent-0.1.0.0.a(Peer.o) _c8yP_info in libHSfunctorrent-0.1.0.0.a(Peer.o) _functorrentzm0zi1zi0zi0_FuncTorrentziTracker_zdwurlEncodeHash_info in libHSfunctorrent-0.1.0.0.a(Tracker.o) _cfnK_info in libHSfunctorrent-0.1.0.0.a(Tracker.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Public build: https://travis- ci.org/jaseemabid/functorrent/builds/55397669 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10151#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler