On Mon, Jul 15, 2024 at 01:42:50PM +0200, Andreas Ronnquist wrote: > I'm maintaining a package (filezilla) which just got a bug report that > it simply crashes on program start - It gets a SIGILL - "Illegal > instruction". (#1076312 report [1]). > > After the reporter debugged it, it seems like it crashes on the > assembler instruction "pinsrd", which looks like it was added in > SSE4.1, while the reporter runs this on a > > Intel(R) Celeron(R) M CPU 420 @ 1.60GHz > > which only supports SSE2. (Full cpuinfo available in the report) - So, my > question is - is this a cpu that is too old for Debian to support, or > should we support it, and Debian gcc generates invalid code requiring SSE4.1 > while it still should support SSE2? (Or is the problem something else > completely?) Neither. Packages built for the i386 arch need to conform to the i386 baseline, which is currently i686. If a package contains a newer instruction it's a bug in that package and gcc is not the cause of it, the package is. https://buildd.debian.org/status/fetch.php?pkg=filezilla&arch=i386&ver=3.63.0-1%2Bdeb12u3&stamp=1704758683&raw=0 indeed contains at least one compile command with -msse4.1. (there is also a "workaround", adding a dep on some isa-support subpackage, but it's unlikely to be the correct course of action here and I still don't know why is it even allowed in general) -- WBR, wRAR
Attachment:
signature.asc
Description: PGP signature