Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openpgm for openSUSE:Factory checked 
in at 2025-11-27 15:19:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openpgm (Old)
 and      /work/SRC/openSUSE:Factory/.openpgm.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openpgm"

Thu Nov 27 15:19:05 2025 rev:13 rq:1320027 version:5.3.128

Changes:
--------
--- /work/SRC/openSUSE:Factory/openpgm/openpgm.changes  2023-06-19 
22:50:14.369448702 +0200
+++ /work/SRC/openSUSE:Factory/.openpgm.new.14147/openpgm.changes       
2025-11-27 15:19:27.975679372 +0100
@@ -1,0 +2,6 @@
+Tue Nov 25 12:09:32 UTC 2025 - Giacomo Comes <[email protected]>
+
+- add fix_build_with_32_bits_MMX.patch to fix building packages on
+  i586 that do not define _mm_cvtm64_si64
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  fix_build_with_32_bits_MMX.patch

----------(New B)----------
  New:
- add fix_build_with_32_bits_MMX.patch to fix building packages on
  i586 that do not define _mm_cvtm64_si64
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openpgm.spec ++++++
--- /var/tmp/diff_new_pack.dT5LUW/_old  2025-11-27 15:19:29.067725422 +0100
+++ /var/tmp/diff_new_pack.dT5LUW/_new  2025-11-27 15:19:29.067725422 +0100
@@ -2,7 +2,7 @@
 #
 # spec file for package openpgm
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2012 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -35,6 +35,8 @@
 Source99:       baselibs.conf
 # PATCH-FIX-UPSTREAM https://github.com/steve-o/openpgm/pull/74
 Patch0:         Mark-pgm_family_string-as-inline.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/steve-o/openpgm/commit/b7fa865fa6b06d97d424c500fd1c4bc44c096359
+Patch1:         fix_build_with_32_bits_MMX.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++++++ _scmsync.obsinfo ++++++
mtime: 1764080537
commit: bd5d20e7be10920296f1ac868ca280a7b5bfd935cb65b5bf3a9899c5f39b88cf
url: https://src.opensuse.org/c_cpp/openpgm
revision: master

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-11-25 15:30:01.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ fix_build_with_32_bits_MMX.patch ++++++
>From b7fa865fa6b06d97d424c500fd1c4bc44c096359 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <[email protected]>
Date: Sun, 1 Nov 2020 22:46:18 +0100
Subject: [PATCH] openpgm/pgm/checksum.c: fix build with 32 bits MMX

Build with i386-pentium-mmx or i686 is broken since version 5-3-128 and
https://github.com/steve-o/openpgm/commit/b276dc15be5d4e6e1143b9de25d09f63f9c85135
because _mm_cvtm64_si64 is undefined resulting in the following build
failure for example on zeromq:

/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/8.3.0/../../../../i586-buildroot-linux-musl/bin/ld:
 
/srv/storage/autobuild/run/instance-3/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libpgm-5.3.so.0:
 undefined reference to `_mm_cvtm64_si64'

So use the fallback if __x86_64__ is not defined

Fixes:
 - 
http://autobuild.buildroot.org/results/01d9be37e8a743307128f53f41785654c9971e1a

Signed-off-by: Fabrice Fontaine <[email protected]>
---
 openpgm/pgm/checksum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openpgm/pgm/checksum.c b/openpgm/pgm/checksum.c
index fef89bce2..8d8dd3f32 100644
--- a/checksum.c
+++ b/checksum.c
@@ -948,7 +948,7 @@ do_csumcpy_mmx (
 
                sum = _mm_add_pi32 (sum, lo);
                sum = _mm_add_pi32 (sum, hi);
-#if 1
+#if defined(__x86_64__)
                *(int64_t*)dst = _mm_cvtm64_si64 (tmp);
 #else          
                ((int*)dst)[1] = _mm_cvtsi64_si32 (tmp);

Reply via email to