Accepting request 935864 from home:dirkmueller:Factory

- update to 3.3.10:
  * Fix bug that would cause 2-way SIMD (notably SSE2 in double precision)
    to attempt unaligned accesses in certain obscure cases, causing
    segfaults.
  * This test computes a pair of length-4 real->complex transforms where
    the second input is 5 real numbers away from the first input.  That
    is, there is a gap of one real number between the first and second
    input array.  The -oexhaustive level allow FFTW to attempt to
    compute this transform by reducing it to a pair of complex
    transforms of length 2, but now the second input is not aligned to a
    complex-number boundary.  The fact that 5 is odd is the problem.
  * The bug cannot occur in complex->complex transforms because the
    complex interface accepts strides in units of complex numbers, so
    strides are aligned by construction.

OBS-URL: https://build.opensuse.org/request/show/935864
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=93
This commit is contained in:
Takashi Iwai 2021-12-06 08:01:37 +00:00 committed by Git OBS Bridge
parent 2f55f7993e
commit d354e8ca93
4 changed files with 27 additions and 20 deletions

BIN
fftw-3.3.10.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d
size 4146999

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sun Dec 5 20:52:00 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 3.3.10:
* Fix bug that would cause 2-way SIMD (notably SSE2 in double precision)
to attempt unaligned accesses in certain obscure cases, causing
segfaults.
* This test computes a pair of length-4 real->complex transforms where
the second input is 5 real numbers away from the first input. That
is, there is a gap of one real number between the first and second
input array. The -oexhaustive level allow FFTW to attempt to
compute this transform by reducing it to a pair of complex
transforms of length 2, but now the second input is not aligned to a
complex-number boundary. The fact that 5 is odd is the problem.
* The bug cannot occur in complex->complex transforms because the
complex interface accepts strides in units of complex numbers, so
strides are aligned by construction.
-------------------------------------------------------------------
Fri Apr 30 11:40:09 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,5 +1,5 @@
#
# spec file for package fftw3
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@ -21,8 +21,7 @@
%define bname fftw
%define BNAME FFTW
%define pname fftw3
%define vers 3.3.9
%define _ver 3_3_9
%define _ver 3_3_10
%bcond_with ringdisabled
@ -368,7 +367,7 @@ ExclusiveArch: do_not_build
Name: %package_name
BuildRequires: fdupes
BuildRequires: pkgconfig
Version: %vers
Version: 3.3.10
Release: 0
Summary: Discrete Fourier Transform (DFT) C Subroutine Library
License: GPL-2.0-or-later
@ -497,7 +496,6 @@ data, and of arbitrary input size.
%endif
%ifnarch s390 s390x
%package -n libfftw3_mpi3
Summary: Discrete Fourier Transform (DFT) C subroutine library
Group: Productivity/Scientific/Math
@ -701,7 +699,6 @@ EOF
%postun -n libfftw3_omp3 -p /sbin/ldconfig
%ifnarch s390 s390x
%post -n libfftw3_mpi3 -p /sbin/ldconfig
%postun -n libfftw3_mpi3 -p /sbin/ldconfig
@ -709,14 +706,12 @@ EOF
%endif
%files -n %package_libname
%defattr(-,root,root)
%{package_libdir}/libfftw3.so.3*
%{package_libdir}/libfftw3f.so.3*
%{package_libdir}/libfftw3l.so.3*
%if %{without hpc}
%files -n libfftw3_threads3
%defattr(-,root,root)
%endif
# ENDIF FOR {without hpc}
%{package_libdir}/libfftw3_threads.so.3*
@ -725,7 +720,6 @@ EOF
%if %{without hpc}
%files -n libfftw3_omp3
%defattr(-,root,root)
%else
%hpc_modules_files
%endif
@ -738,7 +732,6 @@ EOF
%if %{with mpi}
%if %{without hpc}
%files -n libfftw3_mpi3
%defattr(-,root,root)
%endif
# ENDIF FOR {without hpc}
%{package_libdir}/libfftw3_mpi.so.3*
@ -750,7 +743,6 @@ EOF
# ENDIF FOR ARCH s390 s390x
%files devel
%defattr(-,root,root)
%if %{with hpc}
%{package_infodir}/
%hpc_dirs
@ -762,7 +754,8 @@ EOF
%dir %package_bindir
%dir %package_datadir
%endif
%doc AUTHORS CONVENTIONS COPYING COPYRIGHT ChangeLog NEWS README TODO
%license COPYING
%doc AUTHORS CONVENTIONS COPYRIGHT ChangeLog NEWS README TODO
%doc doc/*
%doc %{package_mandir}/man?/*
%dir %package_libdir/cmake
@ -782,7 +775,6 @@ EOF
%if %{without hpc}
%files threads-devel
%defattr(-,root,root)
%endif
# ENDIF FOR {without hpc}
%{package_libdir}/libfftw3_threads.so
@ -791,7 +783,6 @@ EOF
%if %{without hpc}
%files openmp-devel
%defattr(-,root,root)
%endif
# ENDIF FOR {without hpc}
%{package_libdir}/libfftw3_omp.so
@ -802,7 +793,6 @@ EOF
%if %{with mpi}
%if %{without hpc}
%files mpi-devel
%defattr(-,root,root)
%endif
# ENDIF FOR {without hpc}
%{package_libdir}/libfftw3_mpi.so
@ -816,8 +806,7 @@ EOF
# ENDIF FOR arch s390 s390x
%if %{with hpc}
%files devel-static
%defattr(-,root,root)
%files devel-static
%{package_libdir}/*.*a
%endif