Bug#983938: dart: ftbfs with -march=x86-64-v3

Matthias Klose doko at debian.org
Wed Mar 3 15:39:04 GMT 2021


Package: src:dart
Version: 6.9.5-3
Severity: minor
User: debian-gcc at 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/dart_6.9.5-3_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.

[...]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base6b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base6b) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base7b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base7b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base7b) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base8b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base8b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base8b) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base9b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base9b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base9b) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base10b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base10b) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base10b) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [base - visual shape] is a duplicate, so it has been renamed to [base - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [base - collision shape] is a duplicate, so it has been renamed to [base - collision shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [upper_link - visual shape] is a duplicate, so it has been renamed to [upper_link - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [upper_link - collision shape] is a duplicate, so it has been renamed to [upper_link - collision shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [upper_link - collision shape] is a duplicate, so it has been renamed to [upper_link - collision shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [lower_link - visual shape] is a duplicate, so it has been renamed to [lower_link - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | double_pendulum_with_base) The name [lower_link - collision shape] is a duplicate, so it has been renamed to [lower_link - collision shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(3)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(4)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - collision shape] is a duplicate, so it has been renamed to [utorso - collision shape(1)]
Warning [SoftBodyNode.cpp:1391] [SoftBodyNodeHelper::makeBoxProperties] Invalid argument for _frags. The number of vertices assigned to soft box edge #0 is 2, but it must be greater than or equal to 3. We will set it to 3.
Warning [SoftBodyNode.cpp:1391] [SoftBodyNodeHelper::makeBoxProperties] Invalid argument for _frags. The number of vertices assigned to soft box edge #1 is 2, but it must be greater than or equal to 3. We will set it to 3.
Warning [SoftBodyNode.cpp:1391] [SoftBodyNodeHelper::makeBoxProperties] Invalid argument for _frags. The number of vertices assigned to soft box edge #2 is 2, but it must be greater than or equal to 3. We will set it to 3.
Warning [SoftBodyNode.cpp:1391] [SoftBodyNodeHelper::makeBoxProperties] Invalid argument for _frags. The number of vertices assigned to soft box edge #0 is 2, but it must be greater than or equal to 3. We will set it to 3.
Warning [SoftBodyNode.cpp:1391] [SoftBodyNodeHelper::makeBoxProperties] Invalid argument for _frags. The number of vertices assigned to soft box edge #1 is 2, but it must be greater than or equal to 3. We will set it to 3.
Warning [SoftBodyNode.cpp:1391] [SoftBodyNodeHelper::makeBoxProperties] Invalid argument for _frags. The number of vertices assigned to soft box edge #2 is 2, but it must be greater than or equal to 3. We will set it to 3.
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(2)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(3)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - visual shape] is a duplicate, so it has been renamed to [utorso - visual shape(4)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | drc_skeleton) The name [utorso - collision shape] is a duplicate, so it has been renamed to [utorso - collision shape(1)]
[       OK ] SdfParser.ParsingSDFFiles (991 ms)
[ RUN      ] SdfParser.ReadMaterial

52/53 Test #37: test_Math .........................   Passed    1.66 sec
53/53 Test #26: test_Issue1184 ....................   Passed    4.64 sec

77% tests passed, 12 tests failed out of 53

Total Test time (real) =   5.53 sec

The following tests FAILED:
	 11 - test_Dynamics (SEGFAULT)
	 13 - test_Skeleton (SEGFAULT)
	 14 - test_MetaSkeleton (SEGFAULT)
	 16 - test_World (SEGFAULT)
	 17 - test_ForwardKinematics (SEGFAULT)
	 20 - test_Issue838 (SEGFAULT)
	 46 - test_FileInfoWorld (SEGFAULT)
	 48 - test_SdfParser (SEGFAULT)
	 49 - test_SkelParser (SEGFAULT)
	 50 - test_VskParser (SEGFAULT)
	 51 - test_DartLoader (SEGFAULT)
	 52 - test_IkFast (SEGFAULT)
Errors while running CTest
make[1]: *** [Makefile:140: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j4 test ARGS\+=-j4 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list