#983948 opensurgsim: ftbfs with -march=x86-64-v3

#983948#5
Date:
2021-03-03 15:39:18 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/opensurgsim_0.7.0-11_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.

[...]
[----------] 7 tests from AabbTreeTests
[ RUN      ] AabbTreeTests.InitTest
[       OK ] AabbTreeTests.InitTest (0 ms)
[ RUN      ] AabbTreeTests.AddTest
[       OK ] AabbTreeTests.AddTest (0 ms)
[ RUN      ] AabbTreeTests.BuildTest
[       OK ] AabbTreeTests.BuildTest (505 ms)
[ RUN      ] AabbTreeTests.BatchBuildTest
[       OK ] AabbTreeTests.BatchBuildTest (503 ms)
[ RUN      ] AabbTreeTests.EasyIntersectionTest
[       OK ] AabbTreeTests.EasyIntersectionTest (0 ms)
[ RUN      ] AabbTreeTests.MeshIntersectionTest
[       OK ] AabbTreeTests.MeshIntersectionTest (503 ms)
[ RUN      ] AabbTreeTests.SpatialJoinTest
[       OK ] AabbTreeTests.SpatialJoinTest (504 ms)
[----------] 7 tests from AabbTreeTests (2015 ms total)

[----------] 2 tests from BufferedValueTests
[ RUN      ] BufferedValueTests.InitTest
[       OK ] BufferedValueTests.InitTest (0 ms)
[ RUN      ] BufferedValueTests.SafeAndUnsafeGettersTest
[       OK ] BufferedValueTests.SafeAndUnsafeGettersTest (0 ms)
[----------] 2 tests from BufferedValueTests (0 ms total)

[----------] 12 tests from DataGroupTests
[ RUN      ] DataGroupTests.CanConstruct
[       OK ] DataGroupTests.CanConstruct (0 ms)
[ RUN      ] DataGroupTests.CanCreateShared
[       OK ] DataGroupTests.CanCreateShared (0 ms)
[ RUN      ] DataGroupTests.Uninitialized
[       OK ] DataGroupTests.Uninitialized (0 ms)
[ RUN      ] DataGroupTests.PutName
[       OK ] DataGroupTests.PutName (0 ms)
[ RUN      ] DataGroupTests.GetName
[       OK ] DataGroupTests.GetName (0 ms)
[ RUN      ] DataGroupTests.ResetAll
[       OK ] DataGroupTests.ResetAll (0 ms)
[ RUN      ] DataGroupTests.ResetOne
[       OK ] DataGroupTests.ResetOne (0 ms)
[ RUN      ] DataGroupTests.CopyConstruction
[       OK ] DataGroupTests.CopyConstruction (1 ms)
[ RUN      ] DataGroupTests.Assignment
SurgSimDataStructuresTest: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.


14% tests passed, 12 tests failed out of 14

Total Test time (real) =   2.03 sec

The following tests FAILED:
	  1 - SurgSimBlocksTest (Child aborted)
	  2 - SurgSimCollisionTest (Child aborted)
	  3 - SurgSimDataStructuresTest (Child aborted)
	  4 - SurgSimDeviceFiltersTest (Child aborted)
	  5 - IdentityPoseDeviceTest (Child aborted)
	  8 - ReplayPoseDeviceTest (Child aborted)
	  9 - SurgSimDevicesTest (Child aborted)
	 10 - SurgSimFrameworkTest (Child aborted)
	 11 - SurgSimInputTest (Child aborted)
	 12 - SurgSimMathTest (Child aborted)
	 13 - SurgSimParticlesTest (Child aborted)
	 14 - SurgSimPhysicsTest (Child aborted)
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:47: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#983948#10
Date:
2022-06-19 19:31:01 UTC
From:
To:
Dear submitter,

as the package opensurgsim has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1010510

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)