Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bulk_extractor for openSUSE:Factory 
checked in at 2023-08-01 15:38:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bulk_extractor (Old)
 and      /work/SRC/openSUSE:Factory/.bulk_extractor.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bulk_extractor"

Tue Aug  1 15:38:08 2023 rev:4 rq:1101591 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bulk_extractor/bulk_extractor.changes    
2023-04-04 21:26:22.879223338 +0200
+++ /work/SRC/openSUSE:Factory/.bulk_extractor.new.32662/bulk_extractor.changes 
2023-08-01 15:38:09.537682497 +0200
@@ -1,0 +2,6 @@
+Mon Jul 31 07:52:06 UTC 2023 - Andreas Schwab <[email protected]>
+
+- cpuid-check.patch: robustify cpuid check
+- Don't disable LTO
+
+-------------------------------------------------------------------

New:
----
  cpuid-check.patch

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

Other differences:
------------------
++++++ bulk_extractor.spec ++++++
--- /var/tmp/diff_new_pack.WFr8iL/_old  2023-08-01 15:38:10.513688541 +0200
+++ /var/tmp/diff_new_pack.WFr8iL/_new  2023-08-01 15:38:10.517688566 +0200
@@ -16,11 +16,6 @@
 #
 
 
-%ifarch aarch64 %{arm}
-# Workaround until fixed upstream - 
https://github.com/simsong/bulk_extractor/issues/360
-%define _lto_cflags %{nil}
-%endif
-
 Name:           bulk_extractor
 Version:        2.0.0
 Release:        0
@@ -30,6 +25,10 @@
 URL:            
https://github.com/simsong/bulk_extractor/wiki/Introducing-bulk_extractor
 Source:         
https://github.com/simsong/bulk_extractor/releases/download/v2.0.0/bulk_extractor-2.0.0.tar.gz
 Patch1:         gcc13.diff
+# https://github.com/dfxml-working-group/dfxml_cpp/issues/15
+Patch2:         cpuid-check.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  java-devel
@@ -53,6 +52,7 @@
 %autosetup -p1
 
 %build
+autoreconf -fi
 %configure
 %make_build
 

++++++ cpuid-check.patch ++++++
>From 054ff3b4c82c028446839660335df44cd6c9ab0b Mon Sep 17 00:00:00 2001
From: Jason Solomon <[email protected]>
Date: Tue, 24 May 2022 15:43:25 +1000
Subject: [PATCH] Fix detection of x86 cpuid instruction

---
 src/dfxml_configure.m4 | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/be20_api/dfxml_cpp/src/dfxml_configure.m4 
b/src/be20_api/dfxml_cpp/src/dfxml_configure.m4
index e60b397..f90737f 100644
--- a/src/be20_api/dfxml_cpp/src/dfxml_configure.m4
+++ b/src/be20_api/dfxml_cpp/src/dfxml_configure.m4
@@ -33,7 +33,19 @@ AM_COND_IF([FOUND_GIT],
         [AC_MSG_WARN([git not found])])
 
 # Do we have the CPUID instruction?
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define cpuid(id) __asm__( "cpuid" : 
"=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), 
"d"(0))]], [[unsigned long eax, ebx, ecx, 
edx;cpuid(0);]])],[have_cpuid=yes],[have_cpuid=no])
+# Based on https://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html
+AC_RUN_IFELSE([AC_LANG_PROGRAM([int eax, ebx, ecx, edx;], [
+    __asm__ __volatile__ ("xchg %%ebx, %1\n"
+      "cpuid\n"
+      "xchg %%ebx, %1\n"
+      : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
+      : "a" (0), "2" (0));
+    return 0;
+])],
+[have_cpuid=yes],
+[have_cpuid=no],
+[have_cpuid=no])
+AC_MSG_NOTICE([have_cpuid: $have_cpuid])
 if test "$have_cpuid" = yes; then
   AC_DEFINE(HAVE_ASM_CPUID, 1, [define to 1 if __asm__ CPUID is available])
 fi
-- 
2.41.0

Reply via email to