Bug#983954: simbody: ftbfs with -march=x86-64-v3
Matthias Klose
doko at debian.org
Wed Mar 3 15:39:22 GMT 2021
Package: src:simbody
Version: 3.6.1+dfsg-7
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/simbody_3.6.1+dfsg-7_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.
[...]
Start 81: VerletIntegratorTest
78/107 Test #81: VerletIntegratorTest ........................... Passed 0.93 sec
Start 82: GazeboBasicControllerResponse
79/107 Test #82: GazeboBasicControllerResponse .................. Passed 0.66 sec
Start 83: GazeboInelasticCollision
80/107 Test #83: GazeboInelasticCollision ....................... Passed 1.52 sec
Start 84: GazeboReactionForce
81/107 Test #84: GazeboReactionForce ............................ Passed 0.79 sec
Start 85: GazeboReactionForceWithAppliedForceCompliant
82/107 Test #56: ExplicitEulerIntegratorTest .................... Passed 9.41 sec
Start 86: GazeboReactionForceWithAppliedForceRigid
83/107 Test #85: GazeboReactionForceWithAppliedForceCompliant ... Passed 10.56 sec
Start 87: TestAngleConversions
84/107 Test #87: TestAngleConversions ........................... Passed 0.01 sec
Start 88: TestCollisionDetectionAlgorithm
85/107 Test #88: TestCollisionDetectionAlgorithm ................ Passed 0.12 sec
Start 89: TestConstraints
86/107 Test #71: SemiExplicitEuler2IntegratorTest ............... Passed 16.69 sec
Start 90: TestCustomConstraints
87/107 Test #89: TestConstraints ................................ Passed 1.09 sec
Start 91: TestCustomMobilizedBodies
88/107 Test #91: TestCustomMobilizedBodies ...................... Passed 0.07 sec
Start 92: TestElasticFoundationForce
89/107 Test #90: TestCustomConstraints .......................... Passed 2.91 sec
Start 93: TestForces
90/107 Test #93: TestForces ..................................... Passed 0.33 sec
Start 94: TestFunctionBasedMobilizedBodies
91/107 Test #94: TestFunctionBasedMobilizedBodies ............... Passed 0.35 sec
Start 95: TestGravity
92/107 Test #95: TestGravity .................................... Passed 0.02 sec
Start 96: TestHuntCrossleyForce
93/107 Test #96: TestHuntCrossleyForce .......................... Passed 0.03 sec
Start 97: TestLinearBushing
94/107 Test #97: TestLinearBushing .............................. Passed 0.20 sec
Start 98: TestLoneParticle
95/107 Test #98: TestLoneParticle ............................... Passed 0.03 sec
Start 99: TestMassMatrix
96/107 Test #99: TestMassMatrix ................................. Passed 0.04 sec
Start 100: TestMobilizedBody
97/107 Test #100: TestMobilizedBody .............................. Passed 0.27 sec
Start 101: TestMobilizerReactionForces
98/107 Test #101: TestMobilizerReactionForces .................... Passed 0.03 sec
Start 102: TestNoseHooverThermostat
99/107 Test #72: SemiExplicitEulerIntegratorTest ................ Passed 20.76 sec
Start 103: TestObservedPointFitter
100/107 Test #86: GazeboReactionForceWithAppliedForceRigid ....... Passed 16.23 sec
Start 104: TestOrientedBoundingBox
101/107 Test #104: TestOrientedBoundingBox ........................ Passed 0.01 sec
Start 105: TestParallelForces
102/107 Test #103: TestObservedPointFitter ........................ Passed 1.86 sec
Start 106: TestPimpl1
103/107 Test #106: TestPimpl1 ..................................... Passed 0.00 sec
Start 107: TestReverseMobilizers
104/107 Test #107: TestReverseMobilizers .......................... Passed 0.02 sec
105/107 Test #102: TestNoseHooverThermostat ....................... Passed 2.47 sec
106/107 Test #105: TestParallelForces ............................. Passed 6.32 sec
107/107 Test #92: TestElasticFoundationForce ..................... Passed 12.33 sec
99% tests passed, 1 tests failed out of 107
Total Test time (real) = 32.63 sec
The following tests FAILED:
76 - TestGeo (Failed)
Errors while running CTest
make[1]: *** [Makefile:129: 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:38: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list