Created attachment 232413 [details] math/oink: update and make atomics portable The attached patch replaces the mfence() macro with something that should work on any architecture. Unfortunately upstream doesn't seem to understand atomics and uses volatile variables instead, so it's still somewhat of a fingers crossed situation. I've also took the liberty to advance the port to the current commit which integrates the two patches you have. Tested with Poudriere on armv7 arm64 FreeBSD 13. The testsuite passes on armv7 except for the following 3 cases: 6 - TestSolverPSIp (Bus error) 27 - TestSolverZLKpar (Bus error) 29 - TestSolverUZLK (Bus error) Looks like an unaligned memory access maybe. On arm64 there are no errors.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=de445d5dd99c6b2d2188f7f25d41c871a14e12db commit de445d5dd99c6b2d2188f7f25d41c871a14e12db Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-03-13 02:26:31 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-03-13 02:27:25 +0000 math/oink: Update g20210704 -> g20210710 and make atomics portable PR: 262513 math/oink/Makefile | 9 ++------- math/oink/distinfo | 10 +++------- math/oink/files/patch-src_lace.h | 25 +++++++++++++++++++------ 3 files changed, 24 insertions(+), 20 deletions(-)
Somehow this PR failed to be closed.