From nobody Fri Jun 3 13:42:57 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 A33C41B56A46 for ; Fri, 3 Jun 2022 13:42:57 +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 4LF3wx2KGWz4vHc for ; Fri, 3 Jun 2022 13:42:57 +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 2EB642232 for ; Fri, 3 Jun 2022 13:42:57 +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 253DgvmA075176 for ; Fri, 3 Jun 2022 13:42:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 253Dgv72075175 for x11@FreeBSD.org; Fri, 3 Jun 2022 13:42:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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: Fri, 03 Jun 2022 13:42:57 +0000 X-Bugzilla-Reason: AssignedTo CC 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: commit-hook@FreeBSD.org 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: 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=1654263777; 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=jUL9mFtjpKnqEbB7lqDRTqIYj8sWlw4Y+DrVrfxvOlk=; b=YumE07InxUM66SOuJ9qvudrr4YygSVjiyiTnnfbfaBAy/mFPQjjn63gSaDHTgT5GIOtV7e iRjG3cyYyFjR7AiboNipGWpfvNzxF8sdivku/5lnP6NDpYmNMHDmzazsK89noGhYwGCY+d jIp08KoEU1t0K85S6PdJj+uA17GWS/8kkQa9UXkC3TBM6ryiGFxB3V6j1+1RNSFwQyda0v Hoa11spZtu9kZd00AheihxhF6gTWYF+znq2YUk7vrnX+2nqWuT3AXLFCeht0LGkM1TMQ+T I0XgxBlgySDPkjL8eitTV1FRIbo9P112Ta9GQ+NtpSQHrVAD1Ey1yPr7vA5EBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654263777; a=rsa-sha256; cv=none; b=xxDloql3xvalIdY+txbaxbtFt9LCSXU1kemj+f963aa8Qi6sl4m1pZjZNfetx+R+67pfRm ygrMyzzo7K7O9P+UW02v1Fn9Y/vzGm7eXzc3YSmNAu7eLDB44txhYN62UkKxcgO7mqAUeQ Q4rBWlxQWB2kZWpINqQnqcP9GyQ23S3TMyYT6KElImxfeWW3RVqvI+gE1c7E/11jtfPppP wXOVIWwxZ/yCGXOPt6zhlSTVuTkdZy3rReCxDRiWej9JmDlOwz1T8aSf/CQStaEdHN0d1s AIgUU6TDBI3mItZcyFIUUtBnbI2EqSfNO+kxPTBaSoryCIkCf5CPgB3ABjalmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263845 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D239ba7a240fd6fd611ac6a72986de6b= 26ab5da64 commit 239ba7a240fd6fd611ac6a72986de6b26ab5da64 Author: Robert Clausecker AuthorDate: 2022-06-03 13:18:05 +0000 Commit: Emmanuel Vadot CommitDate: 2022-06-03 13:41:40 +0000 graphics/libglvnd: fix on armv6/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. Fix this issue by applying an upstream patch set to have the entry stubs be in ARM mode instead of Thumb mode. See also:=20=20=20=20=20=20 https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/267 See also: https://gitlab.freedesktop.org/glvnd/libglvnd/-/issues/= 232 PR: 263845 graphics/libglvnd/Makefile | 7 ++++++- graphics/libglvnd/distinfo | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=