Bug#983939: fcl: ftbfs with -march=x86-64-v3

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


Package: src:fcl
Version: 0.6.1-5
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/fcl_0.6.1-5_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.

[...]
[ RUN      ] DoSimplex2Test.OriginInSimplex
./test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp:72: Failure
Value of: 0
Expected: norm_OB_.dot(phat_OB_)
Which is: 7.5711e-18
[  FAILED  ] DoSimplex2Test.OriginInSimplex (0 ms)
[ RUN      ] DoSimplex2Test.NeedMoreComputing
./test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp:72: Failure
Value of: 0
Expected: norm_OB_.dot(phat_OB_)
Which is: 7.5711e-18
[  FAILED  ] DoSimplex2Test.NeedMoreComputing (0 ms)
[ RUN      ] DoSimplex2Test.Region1Boundary1
./test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp:72: Failure
Value of: 0
Expected: norm_OB_.dot(phat_OB_)
Which is: 7.5711e-18
[  FAILED  ] DoSimplex2Test.Region1Boundary1 (2 ms)
[ RUN      ] DoSimplex2Test.Region1Boundary2
./test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp:72: Failure
Value of: 0
Expected: norm_OB_.dot(phat_OB_)
Which is: 7.5711e-18
[  FAILED  ] DoSimplex2Test.Region1Boundary2 (2 ms)
[ RUN      ] DoSimplex2Test.Region1Boundary3
./test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp:72: Failure
Value of: 0
Expected: norm_OB_.dot(phat_OB_)
Which is: 7.5711e-18
[  FAILED  ] DoSimplex2Test.Region1Boundary3 (3 ms)
[----------] 5 tests from DoSimplex2Test (7 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (7 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] DoSimplex2Test.OriginInSimplex
[  FAILED  ] DoSimplex2Test.NeedMoreComputing
[  FAILED  ] DoSimplex2Test.Region1Boundary1
[  FAILED  ] DoSimplex2Test.Region1Boundary2
[  FAILED  ] DoSimplex2Test.Region1Boundary3

 5 FAILED TESTS

      Start 35: test_sphere_box
32/37 Test #35: test_sphere_box .................................   Passed    0.15 sec
      Start 36: test_sphere_cylinder
33/37 Test #19: test_fcl_profiler ...............................   Passed    1.51 sec
      Start 37: test_broadphase_dynamic_AABB_tree
34/37 Test #37: test_broadphase_dynamic_AABB_tree ...............   Passed    0.01 sec
35/37 Test #29: test_fcl_octomap_distance .......................   Passed    0.56 sec
36/37 Test #36: test_sphere_cylinder ............................   Passed    0.28 sec
37/37 Test #28: test_fcl_octomap_collision ......................   Passed    0.81 sec

92% tests passed, 3 tests failed out of 37

Total Test time (real) =   3.36 sec

The following tests FAILED:
	  9 - test_fcl_capsule_capsule (Failed)
	 32 - test_gjk_libccd-inl_epa (Failed)
	 34 - test_gjk_libccd-inl_gjk_doSimplex2 (Failed)
Errors while running CTest
make[2]: *** [Makefile:140: test] Error 8
make[2]: 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[1]: *** [debian/rules:34: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list