The GHCi defines keepCAFsForGHCi which ghc-lib-parser also pulls in. This leads to a duplicate symbol error in the linker when using ihaskell in some conditions. Like other cbits symbols this should be renamed. I renamed it with objcopy to ghc_lib_parser_keepCAFsForGHCi and everything works correctly.
The GHCi defines keepCAFsForGHCi which ghc-lib-parser also pulls in. This leads to a duplicate symbol error in the linker when using ihaskell in some conditions. Like other cbits symbols this should be renamed. I renamed it with objcopy to ghc_lib_parser_keepCAFsForGHCi and everything works correctly.