Date: Sat, 12 Mar 2022 23:45:51 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262513] math/oink: update and make atomics portable Message-ID: <bug-262513-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262513 Bug ID: 262513 Summary: math/oink: update and make atomics portable Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: fuz@fuz.su CC: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Attachment #232413 maintainer-approval?(yuri@freebsd.org) Flags: CC: yuri@freebsd.org Created attachment 232413 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232413&action= =3Dedit math/oink: update and make atomics portable The attached patch replaces the mfence() macro with something that should w= ork on any architecture. Unfortunately upstream doesn't seem to understand ato= mics 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 a= rmv7 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262513-7788>