On Tue, 2023-10-17 at 10:57 -0500, Justin wrote: > Hello all, > > I have recently encountered a case where a VIA C3 Nehemaiah CPU returns > "Illegal > Instruction" when trying to run 'sudo' or 'visudo'. > > After some poking around, I discovered that the FreeBSD folks have > encountered this > as well, and that it appears to be an issue with GCC where the > --fcf-protection > option results in the use of the ENDBR32 instruction, which is not supported > on the > VIA C3 Nehemaiah processor (despite being otherwise i686-compatible). [...]
ENDBR32 uses one of the previously reserved hint encodings that i686 processors are supposed to ignore if they don't specifically support them. The release notes for Debian 12 "bookworm" state that the i386 architecture now requires that: https://www.debian.org/releases/testing/release-notes/issues.en.html#i386-is-i686 Ben. -- Ben Hutchings Who are all these weirdos? - David Bowie, on joining IRC
signature.asc
Description: This is a digitally signed message part