From nobody Sat Mar 12 23:45:51 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 785C61A01B80 for ; Sat, 12 Mar 2022 23:45:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KGKDv2JTsz4YXm for ; Sat, 12 Mar 2022 23:45:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B92B6A9A for ; Sat, 12 Mar 2022 23:45:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22CNjptK007499 for ; Sat, 12 Mar 2022 23:45:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22CNjpT7007498 for ports-bugs@FreeBSD.org; Sat, 12 Mar 2022 23:45:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262513] math/oink: update and make atomics portable Date: Sat, 12 Mar 2022 23:45:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647128751; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zIzAiJ4PoO/ZaWuy2QhXxieG5ijVfJtwxL+NyTUFno0=; b=NwY77n0RdVeJsYkxCcauuM825cGHA5DfBjIkAhNLZiIwiR6QT1GyQedxZlRdVj81dh4xvG 24FeM7AJU4C+UAhd6+5t1Ndbs9ELtcfk2b2OBTnCkG+wWupKXECgRoBU2RcaJNUEbPKwGY hRFevaOaDdocpIwWuYT0WH9iCNlI0NJiuH0viFKnd90oZ5fdHmVTsl8wsBoheyFiOw/o6/ TIf2yLnB8zPqGv48UznlCzZfudKmyd8NcsgsSq3aw1fIgnAkQb/NNU6to7KkmnT9H+jWgH sSmfKqqbCji+PYQiIHZ8ziPVTFpe399gLZHUJS2Qtz5i6kx12jOOgTgY9O8xDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647128751; a=rsa-sha256; cv=none; b=X0Sr62vq/51H0ob2+63siegno36YPEug/M7acC63bA/YuzS9PlLTSVf5GbflnvQRr7ObGj cwviAMN045d98YcemF5ow5OoPu6aZxuYc/PTZqnUFTJFRMJETyenajFXsOgBU95RlHk/uo hDXPAkbriEJu6yJkIDHcTI2Ke4iUSZXfqFysqbVmz9oZIOLBzcsMQAfGqoi3RTNQEkkor5 Od4gB5LvF2GIX790nc9awpKr8oE2/C0eMZziVC2S4jtvLVBshv1FHs9J6jyJbvFo+2sUjl FJuEw00Yprsq/cRZszZELzKJFsv+rbLuR83WtZ4EaJK6I4/6G8RHf3N8sVt8Iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=