On Tue, 01 Sep 2026 at 12:01:23 +0200, Marc Leeman wrote:
I opened an upstream ticket yesterday
I saw, I've marked the bug as forwarded.
>convert_fc32_to_int32:
>dest array 0 bad
> backup function : FAILED
> compiled function: PASSED
This seems to be the actual failure, the others seem to be expected or
otherwise harmless.
It looks like building orc with either -msse2 or -msse2 -mfpmath=sse
avoids this test failure.
It's possible that -ffloat-store or -fexcess-precision=standard would
also work, but I'm not sure that it's really useful to spend time
experimenting with those, given that the Debian 13 release notes already
say that it's OK to require SSE2 now (and certainly enabling SSE2 seems
like it's more appropriate for the purpose of liborc, which is to speed
up GStreamer, if I understand correctly).
Perhaps consider the attached? But note that I haven't been able to test
it yet, because my **amd64** build in my usual environment (qemu/kvm) is
currently failing (which is why I haven't tagged the bug + patch).
Thanks,
smcv
>From 61ad13569b837e3184e8a970cce30c661ea31e3e Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Tue, 1 Sep 2026 11:03:03 +0100
Subject: [PATCH] d/rules: Enable SSE2 on i386
Otherwise the compiler will use i387 floating-point with excess precision,
resulting in one of the unit tests failing. Debian on i386 officially
requires MMX, SSE and SSE2 since Debian 13 (see the release notes),
but the gcc baseline has not yet been raised to match (#1127352).
Closes: #1146393
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 67c3c29..c243535 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
+ifeq ($(DEB_HOST_ARCH_CPU),i386)
+# https://www.debian.org/releases/trixie/release-notes/issues.en.html#reduced-support-for-i386
+# 0.4.43 fails tests without enabling SSE2: https://bugs.debian.org/1146393
+export DEB_CFLAGS_MAINT_APPEND += -msse2 -mfpmath=sse
+endif
+
%:
dh $@
--
2.55.0