streamly icon indicating copy to clipboard operation
streamly copied to clipboard

GHC 9.0.2 fails with linker unable to resolve symbols

Open adithyaov opened this issue 3 years ago • 0 comments

GHC 9.0.2 in the CI fails with base_GHCziRead_list3_closure symbol not being resolved. The error was bypassed hackily by ignoring the linker warnings.

ghc-options: -optlm "--unresolved-symbols=ignore-all"

zdecode base_GHCziRead_list3_closure == base_GHC.Read_list3_closure

See: https://github.com/haskell/cabal/pull/2540#issuecomment-95984067 https://sourceware.org/legacy-ml/binutils/2013-05/msg00038.html https://stackoverflow.com/questions/50724549/undefined-symbol-errors-with-libhsghc-prim-when-compiling-ffi-sample https://stackoverflow.com/questions/55928308/whats-the-difference-between-unresolved-symbols-ignore-in-shared-libs-and-a

adithyaov avatar Jul 21 '22 07:07 adithyaov