Testcase: net-p2p/libtorrent-rasterbar, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243958
In bug #242745 related to port editors/libreoffice, there an error `__atomic_load_8'
/usr/local/bin/ld: /usr/ports/editors/libreoffice/work/libreoffice-184.108.40.206/instdir/sdk/lib/libuno_sal.so: undefined reference to `__atomic_load_8'
Is it related ?
(In reply to canardo from comment #1)
> Is it related ?
Seems like it is related.
Same error when building sysutils/bareos-client and sysutils/bareos-server
core/src/lib/libbareos.so.19.2.5: undefined reference to `__atomic_load_8'
(I didn't create dedicated PR for that)
On FreeBSD 12 (GCC) you may need to link with libatomic.so (-latomic)
On FreeBSD 13 (LLVM) you shouldn't see this problem when using base cc (clang), as this is expected to be handled by this hhttps://reviews.freebsd.org/D22549
(In reply to Alfredo Dal'Ava Junior from comment #4)
To link with libatomic.so (-latomic), I guess you have to modify the Makefile ?
Could you please describe exactly what to add and where (I'm no developer) ?