Date: Tue, 31 May 2022 17:20:19 +0000 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 Message-ID: <bug-263845-7141-CJkIOojtlg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263845-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-263845-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263845 Robert Clausecker <fuz@fuz.su> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |x11@FreeBSD.org Attachment #234353| |maintainer-approval?(x11@Fr Flags| |eeBSD.org) --- Comment #4 from Robert Clausecker <fuz@fuz.su> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263845-7141-CJkIOojtlg>