Undefined reference to __atomic_store_8

Gleb Popov arrowd at freebsd.org
Fri Aug 7 16:42:43 UTC 2020


Hello toolchain@

I'm testing a new release of GHC (Haskell compiler) and it fails to link to
i386 architectures with

/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.1/libraries/ghc-prim/dist-install/build/
libHSghc-prim-0.6.1-ghc8.10.1.so: undefined reference to `__atomic_store_8'
/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.1/libraries/ghc-prim/dist-install/build/
libHSghc-prim-0.6.1-ghc8.10.1.so: undefined reference to `__atomic_load_8'

Any suggestions on how to fix this?

Thanks in advance.


More information about the freebsd-toolchain mailing list