[From nobody Fri Aug 21 16:17:10 2026
Received: (at maintonly) by bugs.debian.org; 3 Mar 2021 15:39:28 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-22.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FOURLA,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE,TXREP
 autolearn=ham autolearn_force=no
 version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 76; hammy, 150; neutral, 201; spammy,
 0. spammytokens: hammytokens:0.000-+--H*F:U*doko,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--H*m:paradis, 0.000-+--H*MI:paradis
Return-path: &lt;doko@paradis.debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:37988)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=mailly.debian.org, EMAIL=hostmaster@mailly.debian.org (verified)
 by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1lHTax-0003rU-Uu
 for maintonly@bugs.debian.org; Wed, 03 Mar 2021 15:39:27 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:38696)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1lHTaw-00074n-Ds
 for maintonly@bugs.debian.org; Wed, 03 Mar 2021 15:39:26 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Content-Transfer-Encoding:Content-Type
 :MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
 In-Reply-To:References; bh=nU87USx8OTov+6PbcmHYfOB+LtVykrsNoaLVa6vo61I=; b=M6
 sDgIQG03frGq25qGB+ddX3NmmvCKjPE8hzDIAhzfC9pbqckv4C8kyHqrYjsFiE8wSCQPQB+7afAkq
 cLg/HfNw6g3UJ2pRDrgmf4ouWMmSmwgXUbA876VEnK/zlUAa36FOxL+YhLFU7F0grQkeX8ZNa2tW6
 UE8MLOxp+wQCbOI4hAyXFS20fURIpjZR902dUcEMzlNGmWv+2h9XEeWVN+MWXh6XfDtE4gA6BXVHX
 RGFo0A/cOF64jOy8zzVdlZderYzy+6tnZx5R/uU4K/A0exw1nkfyaiLp6dTaqYRIf30zZEUbZRes2
 WrvVF6wAEml/YdOlzaEfh8XP/RTF28Ig==;
Received: from doko by paradis.debian.org with local (Exim 4.92)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1lHTav-0005Vo-2z
 for maintonly@bugs.debian.org; Wed, 03 Mar 2021 15:39:25 +0000
To: maintonly@bugs.debian.org
Subject: teem: ftbfs with -march=x86-64-v3
From: Matthias Klose &lt;doko@debian.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit
Message-Id: &lt;E1lHTav-0005Vo-2z@paradis.debian.org&gt;
Date: Wed, 03 Mar 2021 15:39:25 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:teem
Version: 1.12.0~20160122-4
Severity: minor
User: debian-gcc@lists.debian.org
Usertags: ftbfs-x86-64-v3

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
/&lt;&lt;PKGBUILDDIR&gt;&gt;/obj-x86_64-linux-gnu/bin/test_probeSS: trouble (orig, orig):
[probeSS] probeTask1: on point 0 of kindIdx 0
[probeSS] multiAnswerCompare: man1-&gt;san[si] 1.2261255947091414e-06 != man2-&gt;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
/&lt;&lt;PKGBUILDDIR&gt;&gt;/obj-x86_64-linux-gnu/bin/test_probeSS: trouble (orig, orig):
[probeSS] probeTask1: on point 0 of kindIdx 0
[probeSS] multiAnswerCompare: man1-&gt;san[si] 8.8328547952638039e-07 != man2-&gt;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 '/&lt;&lt;PKGBUILDDIR&gt;&gt;/obj-x86_64-linux-gnu'
	rm -fr -- /tmp/dh-xdg-rundir-OcZWeHFb
dh_auto_test: error: cd obj-x86_64-linux-gnu &amp;&amp; make -j4 test LD_LIBRARY_PATH=/&lt;&lt;BUILDDIR&gt;&gt;/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 '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]