#983955 teem: ftbfs with -march=x86-64-v3

#983955#5
Date:
2021-03-03 15:39:25 UTC
From:
To:
Starting with LLVM 12 and GCC 11 (and backported to gcc-10 for Debian),
GCC introduces optimizations for new micro-architecture levels from
the x86-64 psABI.  Filing these bug reports for packages building with
the current level (x86-64), but not with x86-64-v3.

To reproduce these issues, append -march=x86-64-v3 to the compiler
flags (CFLAGS, CXXFLAGS, ...).  You also need hardware supporting these.
The easiest way is to call the dynamic linker in glibc 2.33 like
  /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 --help
Otherwise look at the flags in /proc/cpuinfo and compare these with
those from table 3.1 in the System V Application Binary Interface doc:
https://gitlab.com/x86-psABIs/x86-64-ABI/-/wikis/x86-64-psABI

Please don't upload a package setting these flags by default.  The
x86-64 baseline is still unchanged.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc10-v3/teem_1.12.0~20160122-4_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.

[...]
      Start 18: macros
15/37 Test #17: sanity ...........................   Passed    0.00 sec
      Start 19: bspec
16/37 Test #19: bspec ............................   Passed    0.00 sec
      Start 20: unulist
17/37 Test #20: unulist ..........................   Passed    0.01 sec
      Start 21: stackBlurParm
18/37 Test #21: stackBlurParm ....................   Passed    0.00 sec
      Start 22: probeScl
19/37 Test #16: tskip10n .........................   Passed    0.06 sec
      Start 23: probePolynomial
20/37 Test #22: probeScl .........................   Passed    0.11 sec
      Start 24: probeMulti
21/37 Test #18: macros ...........................   Passed    0.16 sec
      Start 25: tendlist
22/37 Test #25: tendlist .........................   Passed    0.01 sec
      Start 26: glyphBqd
23/37 Test #26: glyphBqd .........................   Passed    0.01 sec
      Start 27: enmall
24/37 Test #27: enmall ...........................   Passed    0.03 sec
      Start 28: kernall
25/37 Test  #2: misc .............................   Passed    0.37 sec
      Start 29: buildinfo
26/37 Test #29: buildinfo ........................   Passed    0.00 sec
      Start 30: probeSS_box01
27/37 Test #30: probeSS_box01 ....................   Passed    0.36 sec
      Start 31: probeSS_cos01
28/37 Test #31: probeSS_cos01 ....................   Passed    0.37 sec
      Start 32: probeSS_cos02
29/37 Test #32: probeSS_cos02 ....................   Passed    0.41 sec
      Start 33: probeSS_cos04
30/37 Test #33: probeSS_cos04 ....................   Passed    0.61 sec
      Start 34: probeSS_cos10
31/37 Test #23: probePolynomial ..................   Passed    2.48 sec
      Start 35: probeSS_ctmr02
32/37 Test #35: probeSS_ctmr02 ...................   Passed    0.44 sec
      Start 36: probeSS_ctmr04
33/37 Test #36: probeSS_ctmr04 ...................***Failed    0.33 sec
kpack = ctmrsup, ctmrsupD, ctmrsupDD
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bin/test_probeSS: trouble (orig, orig):
[probeSS] probeTask1: on point 0 of kindIdx 0
[probeSS] multiAnswerCompare: man1->san[si] 1.2261255947091414e-06 != man2->san[si] 1.2261255947091416e-06

      Start 37: probeSS_ctmr10
34/37 Test #24: probeMulti .......................   Passed    3.30 sec
35/37 Test #37: probeSS_ctmr10 ...................***Failed    0.32 sec
kpack = ctmrsup, ctmrsupD, ctmrsupDD
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bin/test_probeSS: trouble (orig, orig):
[probeSS] probeTask1: on point 0 of kindIdx 0
[probeSS] multiAnswerCompare: man1->san[si] 8.8328547952638039e-07 != man2->san[si] 8.832854795263805e-07

36/37 Test #28: kernall ..........................   Passed    3.80 sec
37/37 Test #34: probeSS_cos10 ....................   Passed    2.09 sec

95% tests passed, 2 tests failed out of 37

Total Test time (real) =   4.21 sec

The following tests FAILED:
	 36 - probeSS_ctmr04 (Failed)
	 37 - probeSS_ctmr10 (Failed)
Errors while running CTest
make[2]: *** [Makefile:129: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
	rm -fr -- /tmp/dh-xdg-rundir-OcZWeHFb
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j4 test LD_LIBRARY_PATH=/<<BUILDDIR>>/teem-1.12.0\~20160122/obj-x86_64-linux-gnu/bin:D_LIBRARY_PATH ARGS\+=-j4 returned exit code 2
make[1]: *** [debian/rules:39: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#983955#10
Date:
2026-08-21 15:16:46 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
teem, 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 983955@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Belhachemi <domibel@debian.org> (supplier of updated teem 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 21 Aug 2026 09:17:15 -0400
Source: teem
Architecture: source
Version: 1.12.0~20160122-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Dominique Belhachemi <domibel@debian.org>
Closes: 983955 1144920
Changes:
 teem (1.12.0~20160122-9) unstable; urgency=medium
 .
   * Install libraries into the standard libdir (Closes: #1144920)
   * debian/control: Bump Standards-Version to 4.7.4 (no changes needed)
   * debian/control: Bump debhelper-compat to 14
   * Rename debian/docs to debian/libteem-dev.docs
   * Drop libteem1-dev Conflicts/Provides/Replaces
   * debian/control: Drop Priority and Rules-Requires-Root fields
   * debian/copyright: Drop stale FSF postal address and fix LGPL-2.1 symlink
   * Refresh debian/patches
   * debian/rules: Remove unused override_dh_install_d-shlibs target
   * debian/rules: Default DEB_CFLAGS_MAINT_APPEND to -ffp-contract=off
     to fix FTBFS with -march=x86-64-v3 (Closes: #983955)
Checksums-Sha1:
 34cd67b75f3c979f0df4abae654100e197aef303 2147 teem_1.12.0~20160122-9.dsc
 4e700516f812d0b29eeebbfb67f694778bfd8cb1 24424 teem_1.12.0~20160122-9.debian.tar.xz
 cc6148714538dc8ccacdc96a4cb4eff370d9ad39 7700 teem_1.12.0~20160122-9_amd64.buildinfo
Checksums-Sha256:
 03a6ff54ba1ab7c420f95d4c0771000782bfdff14293784f9ab01c11c5152763 2147 teem_1.12.0~20160122-9.dsc
 5aab762d1da8e1a9577782700a4755963d258d52446493ed3fa29488b2406236 24424 teem_1.12.0~20160122-9.debian.tar.xz
 f9bc1b0ad1f664f16583c28b6df70c120d1753796b2dcabcbf41379c523fce05 7700 teem_1.12.0~20160122-9_amd64.buildinfo
Files:
 474c822480c53a59a7491db7e8ad9d54 2147 science optional teem_1.12.0~20160122-9.dsc
 f8e7067f37662f7c77c68d951faccf46 24424 science optional teem_1.12.0~20160122-9.debian.tar.xz
 245c460f1b134ba3a59217f435ba972b 7700 science optional teem_1.12.0~20160122-9_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE6kgtUJkuk2zr2l/SGbXmyGIZEAEFAmqIaMkTHGRvbWliZWxA
ZGViaWFuLm9yZwAKCRAZtebIYhkQAV5MD/9yOgGJ1GKynjLFPwz4ml1a+PF12DZB
zC8CKhHf555+m2tCBO4Ch1fdxKZo6fo2olf9hkz8rCc0c6iTt+qlq3Ogtp5mA9I2
qLV6cSpux4lUADODvGvm+32BHa7KdNzNyvXFbOoXTONKAPkDgHVCF7I99hhPuNKU
pnTX9ZVqiplKztiOlfX3enY6pkYaJ8fyJsNjnleGdHvd249DClXvZUPateeJnu2i
3hrq039EJnudbq9xZdtr2tSYKdgS/bCfEZdIcVpSZVDZAyYL23L2t3zcIXCD+5Bv
6JgK7iuYf8hbiVwLn3aN1TRniVzNBsEIT+NOqd7Gx5Z/PsVJhlX7w7EJjrrNMIg+
KCN8aOOmrKssFklaL9xaIwpFxQm2FQmC9vc32EM7esKElWhTp7CLBH2aHTJz2g4A
4wYQvx5EbA0vTmv1AuviCGwi0r/QLiXAMoeyYmbkpaIhAJxMxZ2HwM0tU2EuUWgh
PMFX7dD0Zaij9BgLc3Y5OR8kldQJicUEwCQDzT/AC36uCT6TM67aB4YWyGnjsSGO
skwm9OloZrfYdsaoVXtiW9dCOEaMkVhjJOTlIDDWS3zxMlUUEdjG01fmwlUvfQ+r
yQYai5KlGX/iL1Kd+AJkaUHAGwqicgZfO/M9n63PaiVvJMvaBTf+HKZfShWyMGEd
mn0sB4zGZwjhAg==
=ld9g
-----END PGP SIGNATURE-----