Your message dated Sun, 23 Nov 2014 21:19:51 +0000
with message-id <e1xsezt-0000q1...@franck.debian.org>
and subject line Bug#767138: fixed in fftw3 3.3.4-2
has caused the Debian Bug report #767138,
regarding fftw3: runtime detection of NEON is perhaps broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
767138: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767138
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: fftw3
Version: 3.3.4-1.1

In simd-support/neon.c I found:

  static int really_have_neon(void)
  {
       void (*oldsig)(int);
       oldsig = signal(SIGILL, sighandler);
       if (setjmp(jb)) {
            signal(SIGILL, oldsig);
            return 0;
       } else {
            /* paranoia: encode the instruction in binary because the
               assembler may not recognize it without -mfpu=neon */
            /*asm volatile ("vand q0, q0, q0");*/
            asm volatile (".long 0xf2000150");
            signal(SIGILL, oldsig);
            return 1;
       }
  }

Of course, that binary encoding of the VAND instruction is only valid
for ARM mode, not Thumb, and the library is mostly compiled for Thumb,
I think.

In fact, I think I have tracked down where this code appears in the
binary. In libfftw3f.so.3.4.4 I found:

   a9f84:       490f            ldr     r1, [pc, #60]   ; (a9fc4
<fftwf_guru64_kosherp+0xa4>)
   a9f86:       2004            movs    r0, #4
   a9f88:       b500            push    {lr}
   a9f8a:       4479            add     r1, pc
   a9f8c:       b083            sub     sp, #12
   a9f8e:       f765 ed0c       blx     f9a8 <_init+0x33c>
   a9f92:       9001            str     r0, [sp, #4]
   a9f94:       480c            ldr     r0, [pc, #48]   ; (a9fc8
<fftwf_guru64_kosherp+0xa8>)
   a9f96:       4478            add     r0, pc
   a9f98:       f765 ec66       blx     f868 <_init+0x1fc>
   a9f9c:       b948            cbnz    r0, a9fb2 <fftwf_guru64_kosherp+0x92>

!  a9f9e:       0150            lsls    r0, r2, #5
!  a9fa0:       f200 2004       addw    r0, r0, #516    ; 0x204
   a9fa4:       9901            ldr     r1, [sp, #4]
   a9fa6:       f765 ed00       blx     f9a8 <_init+0x33c>
   a9faa:       2001            movs    r0, #1
   a9fac:       b003            add     sp, #12
   a9fae:       f85d fb04       ldr.w   pc, [sp], #4

   a9fb2:       9901            ldr     r1, [sp, #4]
   a9fb4:       2004            movs    r0, #4
   a9fb6:       f765 ecf8       blx     f9a8 <_init+0x33c>
   a9fba:       2000            movs    r0, #0
   a9fbc:       b003            add     sp, #12
   a9fbe:       f85d fb04       ldr.w   pc, [sp], #4

This may explain some problems that people have experienced with
libfftw3:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752514

http://lists.debian.org/debian-arm/2014/10/msg00051.html

Is this signal-handling approach the best way of detecting NEON? The
following blog suggests using HWCAP, but I don't know if that would
work with the freebsd kernels:

http://community.arm.com/groups/android-community/blog/2014/10/10/runtime-detection-of-cpu-features-on-an-armv8-a-cpu

--- End Message ---
--- Begin Message ---
Source: fftw3
Source-Version: 3.3.4-2

We believe that the bug you reported is fixed in the latest version of
fftw3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 767...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebast...@debian.org> (supplier of updated fftw3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 23 Nov 2014 20:49:59 +0100
Source: fftw3
Binary: libfftw3-3 libfftw3-single3 libfftw3-double3 libfftw3-long3 
libfftw3-quad3 libfftw3-bin libfftw3-mpi3 libfftw3-dev libfftw3-mpi-dev 
libfftw3-doc libfftw3-dbg
Architecture: source all armhf
Version: 3.3.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebast...@debian.org>
Description:
 libfftw3-3 - Library for computing Fast Fourier Transforms
 libfftw3-bin - Library for computing Fast Fourier Transforms - Tools
 libfftw3-dbg - Library for computing Fast Fourier Transforms - debug symbols
 libfftw3-dev - Library for computing Fast Fourier Transforms - development
 libfftw3-doc - Documentation for fftw version 3
 libfftw3-double3 - Library for computing Fast Fourier Transforms - Double 
precision
 libfftw3-long3 - Library for computing Fast Fourier Transforms - Long precision
 libfftw3-mpi-dev - MPI Library for computing Fast Fourier Transforms - 
development
 libfftw3-mpi3 - MPI Library for computing Fast Fourier Transforms
 libfftw3-quad3 - Library for computing Fast Fourier Transforms - Quad precision
 libfftw3-single3 - Library for computing Fast Fourier Transforms - Single 
precision
Closes: 767138
Changes:
 fftw3 (3.3.4-2) unstable; urgency=medium
 .
   * Team upload.
   * fix-runtime-neon-detection.patch: new patch, fixes runtime NEON
     detection on armhf (and also arm64, but NEON is currently
     unconditionnally disabled there). Thanks to Edmund Grimley Evans for
     the patch. (Closes: #767138)
Checksums-Sha1:
 47cfdb439cab578195e815b3ce645986b0d27335 2860 fftw3_3.3.4-2.dsc
 fa0d6f8a97be5ec9338f1b01336021df7c1559eb 12568 fftw3_3.3.4-2.debian.tar.xz
 b55ab962d4a335e9040623d9d8f3775c1d5533c6 178806 libfftw3-doc_3.3.4-2_all.deb
 3657f9ca2fca59330b190d7e71242bdf5f5443ef 18774 libfftw3-3_3.3.4-2_armhf.deb
 95319a3b538efb78b6b377c8e9f6b323228346d1 727316 
libfftw3-single3_3.3.4-2_armhf.deb
 306db7de734a4589e26de1312849a3f39945edad 441850 
libfftw3-double3_3.3.4-2_armhf.deb
 d8eec3b8bca7b875adc3e5ae1da71ec381876ece 41704 libfftw3-bin_3.3.4-2_armhf.deb
 41d5571bdd6f73977ccc7fe7850e5bbf60c3e5eb 49688 libfftw3-mpi3_3.3.4-2_armhf.deb
 70388612c8cbc98644a39970160c6a2343c504a8 1170540 libfftw3-dev_3.3.4-2_armhf.deb
 f882ba7879dc9284350f06ec3ecf2b55ed83b9ce 53762 
libfftw3-mpi-dev_3.3.4-2_armhf.deb
 a3d7a644b936e1949fbefef84715b933702241fa 5153740 libfftw3-dbg_3.3.4-2_armhf.deb
Checksums-Sha256:
 56e65d2b02fc7dae23a76eb082aee6ea3cdb6613897ed7f5f777beb462eaaf2b 2860 
fftw3_3.3.4-2.dsc
 788fe6fdf0a0070436e14407ed0065e65876f46a935b24bed0c9753f07887e7e 12568 
fftw3_3.3.4-2.debian.tar.xz
 4c3a86983553491815e98aab2d466fa0318d79f5d3b28ea7a42fb884db46b997 178806 
libfftw3-doc_3.3.4-2_all.deb
 b7ea11d18ef7427f33b8f1f0471ae0e6113eca2bb59ee59350f1992f418356f3 18774 
libfftw3-3_3.3.4-2_armhf.deb
 6cd830ca322f1c9234481ee025bde09503aedaf1cb7dc2e833faa041023da2bb 727316 
libfftw3-single3_3.3.4-2_armhf.deb
 3e12a28f48af4ed9809fe62c916d7f0f90985cac61e305813b5694976c5b35df 441850 
libfftw3-double3_3.3.4-2_armhf.deb
 45f87fe1ceb10050b6be296c00c04b441565330b80e7f5b3eb6fb7cf20d9951e 41704 
libfftw3-bin_3.3.4-2_armhf.deb
 4f69a4d19dba0f344e07fe1345e16698d2d61b9ca457796c9b1117a8f2f9441e 49688 
libfftw3-mpi3_3.3.4-2_armhf.deb
 dff0de62bdf114c49b7f435014598cbb22b81c25f864a1d7cb72146de9c70104 1170540 
libfftw3-dev_3.3.4-2_armhf.deb
 c7ccac63e28d5ea65555cae79cc5ac8981dacdb2825f0c545142c401b870becd 53762 
libfftw3-mpi-dev_3.3.4-2_armhf.deb
 56b1859f50a0f831ffd20fe7a0d84c71dd029c09001ace45b1cdbb28484ea189 5153740 
libfftw3-dbg_3.3.4-2_armhf.deb
Files:
 4f52b64288bea8077052b8db2474b6e9 2860 libs optional fftw3_3.3.4-2.dsc
 34152b45fa92ac12abe2f5ee53fa84bd 12568 libs optional 
fftw3_3.3.4-2.debian.tar.xz
 eedc1f0bbc94f79e7f5c6c14f51f0314 178806 doc optional 
libfftw3-doc_3.3.4-2_all.deb
 ec236f3e65eb1a0503576b9332aa33f7 18774 oldlibs extra 
libfftw3-3_3.3.4-2_armhf.deb
 539316d323c15930e605979b34a269cb 727316 libs optional 
libfftw3-single3_3.3.4-2_armhf.deb
 02e9ec079e5463853aa1e047057a1090 441850 libs optional 
libfftw3-double3_3.3.4-2_armhf.deb
 35230bf3eb81badb72272e8586369f0d 41704 libs optional 
libfftw3-bin_3.3.4-2_armhf.deb
 fb941193808d6e6fe66c80d7443276bb 49688 libs optional 
libfftw3-mpi3_3.3.4-2_armhf.deb
 8145f34046955f382ad0da9cc8ec88f0 1170540 libdevel optional 
libfftw3-dev_3.3.4-2_armhf.deb
 2b2497e35e42b129c8175b9ee0ae0638 53762 libdevel optional 
libfftw3-mpi-dev_3.3.4-2_armhf.deb
 79838c576d49197badbe9cce32d175e0 5153740 debug extra 
libfftw3-dbg_3.3.4-2_armhf.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUckHaAAoJECzs6TUOzr5KsKEQAJhFEAlXLrglhsF9Y/zz0YmI
yyVgfXcP3sfJCcJnkh+25vuu7EaQEhbjacu+ExoSSRD3rHX1T4P1YyKZ2MVCr/au
s7kg+AkCfwkRxtd1kRBAdID3oR6n4dUPWzlfykQDKeclqN4YJw79tcnRxLVDb1aG
7xR5kaD8nqJnxWpAK5bnHZEkaRFabunJo0cjGNG/VrURuJkZZjf+sLpEf5AzpSrm
QyiK54b2uuILLVvio9I/CuRFkhLESQCe+8bCZ1XGaIveziA8bNG3qDtnLF4GCLuX
AU/iXfDE2Louz+VYuMLTLgPplAiztJj33R6Jd/K2niPSrgJfT2+cyLx+O1+t6L7E
JGsPUgSYZI1YJwk5w/S4Zjpkus6TitjY1noMQXUe3MuM1zYTfTboQiEbpFVHtfrs
avy8ok50WgYjgY75D89LqQ9eiv5GZMZz9WzrqnuhwnM+cMDu7pqQQZEU3/B26mrK
tgaMIam7a/GG/N6sRGwJmQD6/5Cv1nGTQ8acOa3AYo5oOHH7ALunYHpQTJGxpXgR
/hazSQlzCqcovZG7U1L9IDFQR08vZ0S8DmNAYDDb9S930Zre88HkCvunweRuM6yQ
qOFB4Gniyj1c1tPdtavS8ufcIVCguLuNA0cXQ44V3knXM0+lkRMiM/s/sNcXX/gj
6F3IqoNkmhgcXS66arCr
=d+xd
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to