diff options
author | wiz <wiz@pkgsrc.org> | 2021-09-29 13:34:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-09-29 13:34:48 +0000 |
commit | c39a0a2bf1542ea28998499b1ad5c7e3a21adce5 (patch) | |
tree | c58c5b9a25f7f470dd7363c54aadfecc3d016549 /math | |
parent | bee8084b68b4451d356b3760e6a760372ac3929a (diff) | |
download | pkgsrc-c39a0a2bf1542ea28998499b1ad5c7e3a21adce5.tar.gz |
fftw*: update to 3.3.10.
FFTW 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.
The following test triggers the bug (SSE2, double precision):
./tests/bench -oexhaustive r4*2:5:3
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.
This bug has been around at least since fftw-3.1.2 (July 2006), and
probably since fftw-3.0 (2003).
Diffstat (limited to 'math')
-rw-r--r-- | math/fftw/Makefile | 4 | ||||
-rw-r--r-- | math/fftw/Makefile.common | 6 | ||||
-rw-r--r-- | math/fftw/distinfo | 10 |
3 files changed, 9 insertions, 11 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile index d2d4a15c978..5871cd04d29 100644 --- a/math/fftw/Makefile +++ b/math/fftw/Makefile @@ -1,6 +1,4 @@ -# $NetBSD: Makefile,v 1.76 2021/06/12 07:30:47 nia Exp $ - -PKGREVISION= 8 +# $NetBSD: Makefile,v 1.77 2021/09/29 13:34:48 wiz Exp $ COMMENT= Fast C routines to compute DFTs (single and double precision) diff --git a/math/fftw/Makefile.common b/math/fftw/Makefile.common index 8429f6e3b5f..00f189ba4fe 100644 --- a/math/fftw/Makefile.common +++ b/math/fftw/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.4 2021/05/16 10:14:09 nia Exp $ +# $NetBSD: Makefile.common,v 1.5 2021/09/29 13:34:48 wiz Exp $ # used by math/fftw/Makefile # used by math/fftw-long/Makefile # used by math/fftw-quad/Makefile -DISTNAME= fftw-3.3.9 +DISTNAME= fftw-3.3.10 CATEGORIES= math MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ MASTER_SITES+= http://www.fftw.org/ @@ -13,7 +13,7 @@ HOMEPAGE= http://www.fftw.org/ LICENSE= gnu-gpl-v2 DISTINFO_FILE= ${.CURDIR}/../../math/fftw/distinfo -PATCHDIR= ${.CURDIR}/../../math/fftw/patches +#PATCHDIR= ${.CURDIR}/../../math/fftw/patches USE_LANGUAGES= c USE_LIBTOOL= yes diff --git a/math/fftw/distinfo b/math/fftw/distinfo index f9052e7a54c..2c405a36f32 100644 --- a/math/fftw/distinfo +++ b/math/fftw/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.25 2021/01/04 10:27:37 wiz Exp $ +$NetBSD: distinfo,v 1.26 2021/09/29 13:34:48 wiz Exp $ -SHA1 (fftw-3.3.9.tar.gz) = bf17b485417f0f6a896b8514a3813439fda075fc -RMD160 (fftw-3.3.9.tar.gz) = b0a522d47b97a63ba27720ae5f58e47fca23649e -SHA512 (fftw-3.3.9.tar.gz) = 52ebc2a33063a41fd478f6ea2acbf3b511867f736591d273dd57f9dfca5d3e0b0c73157921b3a36f1a7cfd741a8a6bde0fd80de578040ae730ea168b5ba466cf -Size (fftw-3.3.9.tar.gz) = 4146999 bytes +SHA1 (fftw-3.3.10.tar.gz) = 6abe7321c8c35ef52e56e299e66a9b967baf148a +RMD160 (fftw-3.3.10.tar.gz) = 067dd44017c42bf7f702ee66ea4f8c309624134d +SHA512 (fftw-3.3.10.tar.gz) = 2d34b5ccac7b08740dbdacc6ebe451d8a34cf9d9bfec85a5e776e87adf94abfd803c222412d8e10fbaa4ed46f504aa87180396af1b108666cde4314a55610b40 +Size (fftw-3.3.10.tar.gz) = 4144100 bytes |