Andreas Tille pushed to branch master at Debian Med / libdozeu
Commits: e8ad502d by Andreas Tille at 2026-11-04T10:01:39+01:00 Use the compiler's own <smmintrin.h> on SSE4.1-capable x86 instead of forcing SIMDe native aliases (needed to build vg) - - - - - 5bbc0a02 by Andreas Tille at 2026-11-04T10:04:05+01:00 Upload to unstable - - - - - 3 changed files: - debian/changelog - + debian/patches/series - + debian/patches/use_native_smmintrin_on_sse4_1_x86.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +libdozeu (0.0~git20260825.d0e9ba6-2) unstable; urgency=medium + + * Use the compiler's own <smmintrin.h> on SSE4.1-capable x86 instead of + forcing SIMDe native aliases (needed to build vg) + + -- Andreas Tille <[email protected]> Wed, 04 Nov 2026 10:02:20 +0100 + libdozeu (0.0~git20260825.d0e9ba6-1) unstable; urgency=medium * Initial release (Closes: #1151890) ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +use_native_smmintrin_on_sse4_1_x86.patch ===================================== debian/patches/use_native_smmintrin_on_sse4_1_x86.patch ===================================== @@ -0,0 +1,34 @@ +Description: Use native SSE4.1 intrinsics on x86 instead of forcing SIMDe aliases + dozeu.h unconditionally defined SIMDE_ENABLE_NATIVE_ALIASES and included + simde/x86/sse4.1.h. GCC 16 now defines those SSE intrinsics natively in its + own headers (avx512vlintrin.h/smmintrin.h/tmmintrin.h), so any translation + unit including dozeu.h that later pulls in a native intrinsic header fails + with redefinition errors, breaking reverse dependencies such as vg on + unstable. On SSE4.1-capable x86 include the compiler's own <smmintrin.h> + instead and keep the SIMDe fallback elsewhere. Also include <stdio.h> + explicitly because the header uses fprintf(stderr, ...) and previously + relied on SIMDe providing it transitively. +Author: Andreas Tille <[email protected]> +Last-Update: 2026-11-04 +Assisted-By: deepseek-v4.1-flash-free + +diff --git a/dozeu.h b/dozeu.h +index b851419..98eb0c7 100644 +--- a/dozeu.h ++++ b/dozeu.h +@@ -42,8 +42,13 @@ + # define _BSD_SOURCE + #endif + +-#define SIMDE_ENABLE_NATIVE_ALIASES +-#include "simde/x86/sse4.1.h" ++#include <stdio.h> ++#if defined(__SSE4_1__) ++# include <smmintrin.h> ++#else ++# define SIMDE_ENABLE_NATIVE_ALIASES ++# include "simde/x86/sse4.1.h" ++#endif + + // Only turn on extern "C" after including code that can use C++ features. + #ifdef __cplusplus View it on GitLab: https://salsa.debian.org/med-team/libdozeu/-/compare/0dec518bc4dfabec5925e9ab452812cdc9b2b79d...5bbc0a02d0e146d215debebf4e5e8b750743f07b -- View it on GitLab: https://salsa.debian.org/med-team/libdozeu/-/compare/0dec518bc4dfabec5925e9ab452812cdc9b2b79d...5bbc0a02d0e146d215debebf4e5e8b750743f07b You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
