From nobody Tue May 31 17:20:18 2022 X-Original-To: x11@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 6D4281B44677 for ; Tue, 31 May 2022 17:20:19 +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 4LCJv66Wrjz4ngK for ; Tue, 31 May 2022 17:20:18 +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 C0BFD7EB8 for ; Tue, 31 May 2022 17:20:18 +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 24VHKI6p048401 for ; Tue, 31 May 2022 17:20:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24VHKIYL048400 for x11@FreeBSD.org; Tue, 31 May 2022 17:20:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-approval requested: [Bug 263845] graphics/libglvnd: Library compiled in ARM mode, but executes in Thumb mode, crashing programs on FreeBSD 13 armv7 with SIGILL : [Attachment 234353] graphics/libglvnd: fix on armv7 Date: Tue, 31 May 2022 17:20:18 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654017619; 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: in-reply-to:in-reply-to:references:references; bh=bbsyT4FOa4417nB2CtiDWBK9OO8TRYdpR2hFLErx+OQ=; b=LBa2cS+hh/e+MVVU8GKxxyiwW4lmRNvti4m6s9sAkrFo8cRxxUZnTqcapIbUsrzRo5vO5z yMSrh+XNxpceEj3UXxeQAmUAE5SJFp3KLx6NJDScRvU9mwaJO4xTmWzuJKzO7Grzi0jF9u 0D6p5yw9tgf0Vlh8LJPvRt+OWZB1b4uWwiLE1m6Dhobn8wyBMOW9oEt5f6jL/5KQIa/QzG 6Ax2CiK0JvX1bXkfqHihGOwozROMrLfPfOwWtHj/0IhFwBh9qomIluaMIz6OPAXHdGAyAy +ZHKoKTBAqmISSle1EhSsLSk/FPu9NmbriLRadu/S/ec/1hDNSB/xLgd+RrLQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654017619; a=rsa-sha256; cv=none; b=X6zTHX89gfVelEirG4WrmbIKzzuiKzHUWuIAyZVBQVCo+pzuy1XUoez3q34qCxNrPfg9yo LA7SpxK+xh9n99A79tlimYv8CLjznaIO40WtwwVbATpQ4E9FArrV20izrLOFERJdoQsNq9 JYWYujVO9f5I+ozzmjHsoDe2sBcUvRN9KVbD/XnfNiCd0wLNYm3NM+N7cDEwnGfI7zqelQ sxxrhZxd/axQbHp4RAeGjxJFBfvtyGJzHMxzJlc71Ruwy8jd8CUiwxap4LMbTc8P0Y/ykY L9DOyQpbdLn01tLyErxT18gak9jEmdWwqrot3TMjZnBzFX13Lui5IfuUDeltDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Robert Clausecker has asked freebsd-x11 (Nobody) for maintainer-approval: Bug 263845: graphics/libglvnd: Library compiled in ARM mode, but executes in Thumb mode, crashing programs on FreeBSD 13 armv7 with SIGILL https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263845 Attachment 234353: graphics/libglvnd: fix on armv7 https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234353&action=3Dedit --- Comment #4 from Robert Clausecker --- Created attachment 234353 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234353&action= =3Dedit graphics/libglvnd: fix on armv7 The .thumb_func directive does not switch to thumb mode in clang's integrated assembler. This causes the code to be miscompiled in that it is generated as ARM code but the symbols are tagged as thumb. The resulting library is unusable. Every call into it crashes. Add a patch to fix the behaviour and bump PORTREVISION so consumers get the updated library. Tested with Poudriere on armv7 FreeBSD 13. Please MFH if possible.