Date: Wed, 25 Feb 2026 00:50:02 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Daniel Engberg <diizzy@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org, Matthias Andree <mandree@freebsd.org> Subject: Re: git: 6ae2ea6b9804 - 2026Q1 - graphics/openexr*: Security update to v3.4.5 and i386 fix Message-ID: <aZ5HOjRpVwPLsHg8@FreeBSD.org> In-Reply-To: <699e17e5.321a5.6f727be1@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
On Tue, Feb 24, 2026 at 09:28:05PM +0000, Daniel Engberg wrote:
> commit 6ae2ea6b9804ed95bc7a67f4bff6954441d9890f
>
> graphics/openexr*: Security update to v3.4.5 and i386 fix
>
> To prevent people seeing SIGILL crashes down late at run-time,
> check if the CPU is sse2-capable by querying the clang compiler
> from the pre-install script (pkg-plist's @preexec).
> [...]
> --- a/graphics/openexr/pkg-plist
> +++ b/graphics/openexr/pkg-plist
> @@ -1,3 +1,4 @@
> +%%i386%%@preexec clang </dev/null -m32 -E - -march=native -### 2>&1 | tr ' ' $'\n' | grep -q +sse2 || { echo >&2 "This port requires a CPU with SSE2 instruction set extension." ; exit 1; }
Is this hackery really that useful? SSE2 was introduced more than
twenty years ago, it is fairly safe to assume that 32-bit x86 CPUs
people might still use for doing graphics these days support it.
./danfe
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aZ5HOjRpVwPLsHg8>
