Undefined reference to __atomic_store_8
Gleb Popov
arrowd at freebsd.org
Sun Aug 9 11:37:22 UTC 2020
On Sat, Aug 8, 2020 at 5:30 PM Konstantin Belousov <kostikbel at gmail.com>
wrote:
> For code generated by gcc or clang, yes.
> If the reference to the symbol was generated by ghc, then I do not know.
>
This doesn't seem to work.
The code referencing __atomic_load_n() is C and GHC buildsystem already
passes -march=i686. Still, the problem persists.
Interestingly, 12.1-RELEASE-p2 doesn't have this problem, but
12.1-RELEASE-p7 does.
What library provides these symbols when clang is used? And I'm a bit
obscured how -march flag can affect these symbols' visibility at all?
More information about the freebsd-toolchain
mailing list