From 1a779be0280d986ae3d514dab87228fe5f53bb2d Mon Sep 17 00:00:00 2001 From: henderkes Date: Sun, 24 May 2026 20:54:21 +0700 Subject: [PATCH] imagemagick: --without-gcc-arch ax_gcc_archflag has no Zen cpuid pattern and falls back to -mtune=amdfam10, which under LLVM+LTO emits SSE4a extrq and SIGILLs on Intel hosts. Disable the implicit --with-gcc-arch so host CPU features do not bleed into the built binaries. --- src/Package/Library/imagemagick.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Package/Library/imagemagick.php b/src/Package/Library/imagemagick.php index fd5de9ed..d423163a 100644 --- a/src/Package/Library/imagemagick.php +++ b/src/Package/Library/imagemagick.php @@ -42,6 +42,9 @@ class imagemagick ->addConfigureArgs( '--disable-openmp', '--without-x', + // implicit --with-gcc-arch + // bleeds host cpu features into built binaries + '--without-gcc-arch', ); // special: linux-static target needs `-static`