[Bug 263845] graphics/libglvnd: Library compiled in ARM mode, but executes in Thumb mode, crashing programs on FreeBSD 13 armv7 with SIGILL

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 May 2022 00:20:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263845

--- Comment #2 from Robert Clausecker <fuz@fuz.su> ---
(In reply to Kubilay Kocak from comment #1)

Hi there, I'm running my tests in an armv7 jail on a Raspberry Pi 4B (arm64,
Cortex-A72, ARMv8-A).  The OS version is FreeBSD 13.0 with a patch to fix
debugging (see bug #256468).

$ uname -a
FreeBSD tau.fuz.su 13.0-RELEASE-p7 FreeBSD 13.0-RELEASE-p7 #2: Fri Feb 18
23:08:54 CET 2022     fuz@tau.fuz.su:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC
 arm64

$ sed -ne '/CPU  0/,/CPU  3/p' /var/run/dmesg.boot
CPU  0: ARM Cortex-A72 r0p3 affinity:  0
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT
ICache,64 byte ERG,64 byte CWG>

 Instruction Set Attributes 0 = <CRC32>
 Instruction Set Attributes 1 = <>
         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <>
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB
PA>
      Memory Model Features 1 = <8bit VMID>
      Memory Model Features 2 = <32bit CCIDX,48bit VA>
             Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6
Breakpoints,PMUv3,Debugv8>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
CPU  1: ARM Cortex-A72 r0p3 affinity:  1
CPU  2: ARM Cortex-A72 r0p3 affinity:  2
CPU  3: ARM Cortex-A72 r0p3 affinity:  3

-- 
You are receiving this mail because:
You are the assignee for the bug.