From nobody Tue May 31 17:20:19 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 5694D1B446B8 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 4LCJv70Jf7z4npS for ; Tue, 31 May 2022 17:20:19 +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 DFC717EB9 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 24VHKITU048405 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 24VHKItL048404 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 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 263845] graphics/libglvnd: Library compiled in ARM mode, but executes in Thumb mode, crashing programs on FreeBSD 13 armv7 with SIGILL Date: Tue, 31 May 2022 17:20:19 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None 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: fuz@fuz.su X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created Message-ID: In-Reply-To: References: 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: 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=OFWYRTHyUEj36df0QmNv7EoMW3oNrMwrD28qBIFs9Qc=; b=L4mgM37HLTIo0+QvQIV+yEfKnNIskoAG/JcLpcnKSBZCF7VA/z46hMA9Up8pU7JDeprCra 2IO2T/UXk1ai2PeXG0ciMaxkttiS91ohnkVGjNP5I9XLVaSPXtPOakbem3VK8B64bBQE1Y KJ6ufRjhZsJOk+eKjxPzGUzANDUSfEBIAT40mWTef0AkQQpc8uvphtXFWDQ3ZCScLBfLJz SDZQaDU489gNELIFGiyr/VjOAlGo/I6IM/dUqditPgrBiqRgptQ9WyyzgE7V5jEnF3Fz5I wIMxy1AXnKjaMfHOVaj5619Fcq9jfjGE5cFzr+AfS4AEZ1fHIw8raJKgniTYaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654017619; a=rsa-sha256; cv=none; b=h6/jUXK6l1YKw5TDu+KAu+tNg97mX9D4vozKQpm9QVpVirscM2D+n//PBB++VlfHHkLTTH atPRv2R2bOK4YInBErldEgDBcQiXLtpTVanhuBHtcbQxPuOREvUpVyfLaGSGg96ostK0/Z /ql+Ufac9ajpJfEKpWuu2Z77ebF7eCVM2dZgn9QGgosqeD7sWT+Vc+NdYc1jCc2hgpCCUX B8FRdbRnwgNTtB5XxOr/GVqxUFGqXduQSf3zyqgpnn5+djU0sukQw/6YAySYnIfbgP1FfS HGpdn8TBWKJU79Oqv3e1mrhdApUsKFs5gWghTHrcWr7ZJ5XpFnrCoDJPwBu24A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263845 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |x11@FreeBSD.org Attachment #234353| |maintainer-approval?(x11@Fr Flags| |eeBSD.org) --- 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. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=