Created attachment 216177 [details]
This patch should reenable freebsd 32 bit.
Originally there were issues with __atomic_fetch_add, but I can no longer find this referenced in the code!?
I hit this error when building 12.1-i386 in poudriere: https://gist.github.com/43b4a3fe496e04f35325159742fa7080
Created attachment 216254 [details]
New diff incl. update to 8.2.1
I'll try again to enable i386 by using the old __sync calls when required until we might get support for libatomic under clang. If this doesn't work I have only one more shot left, and after that I'll revert to (optionally) using gcc for i386, since gcc supposedly has support for libatomic.
At the same time, the newer 8.2.1 was released, which is also part of this diff.
(In reply to Nikolaj Thygesen from comment #2)
With USE_GCC, the build still failed with:
undefined reference to `__atomic_compare_exchange_8'
BTW. I would like repocopy swi-pl --> swi-pl-devel and update it to 8.3.4, would
you maintain it ?