Bug#983952: solvespace: ftbfs with -march=x86-64-v3

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


Package: src:solvespace
Version: 3.0.rc2+repack1-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/solvespace_3.0.rc2+repack1-3_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.

[...]
  OK   test constraint/symmetric_line/normal_migrate_from_v22
  OK   test constraint/symmetric_vert/normal_roundtrip
  OK   test constraint/angle/skew_render
  OK   test constraint/symmetric/normal_migrate_from_v22
  OK   test core/path/with_extension
  OK   test constraint/same_orientation/same_group_roundtrip
  OK   test request/cubic/normal_migrate_from_v20
  OK   test core/path/from_portable
  OK   test constraint/cubic_line_tangent/normal_migrate_from_v20
  OK   test core/expr/literal
  OK   test constraint/symmetric/free_in_3d_roundtrip
  OK   test constraint/parallel/free_in_3d_roundtrip
  OK   test constraint/where_dragged/free_in_3d_roundtrip
  OK   test request/datum_point/normal_migrate_from_v22
  OK   test constraint/where_dragged/normal_roundtrip
  OK   test constraint/pt_on_face/normal_migrate_from_v22
  OK   test constraint/pt_on_circle/normal_migrate_from_v20
  OK   test request/arc_of_circle/normal_migrate_from_v22
  OK   test constraint/angle/reference_migrate_from_v22
  OK   test constraint/eq_len_pt_line_d/normal_migrate_from_v20
  OK   test constraint/pt_line_distance/normal_migrate_from_v22
  OK   test constraint/vertical/line_migrate_from_v20
  OK   test constraint/angle/free_in_3d_migrate_from_v22
  OK   test constraint/angle/normal_migrate_from_v20
  OK   test constraint/parallel/free_in_3d_migrate_from_v20
  OK   test constraint/length_ratio/reference_migrate_from_v22
  OK   test constraint/vertical/pt_pt_migrate_from_v22
  OK   test constraint/pt_pt_distance/free_in_3d_roundtrip
  OK   test constraint/pt_pt_distance/reference_migrate_from_v20
  OK   test constraint/at_midpoint/line_pt_free_in_3d_migrate_from_v22
  OK   test request/circle/free_in_3d_dof
  OK   test constraint/pt_line_distance/normal_migrate_from_v20
  OK   test constraint/proj_pt_distance/normal_roundtrip
  OK   test constraint/points_coincident/normal_migrate_from_v20
  OK   test constraint/pt_on_line/normal_roundtrip
  OK   test constraint/proj_pt_distance/reference_migrate_from_v22
  OK   test constraint/pt_pt_distance/normal_migrate_from_v22
  OK   test constraint/horizontal/pt_pt_migrate_from_v20
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
Vector::WithMagnitude(1) of zero vector!
  OK   test constraint/pt_plane_distance/normal_roundtrip
  OK   test constraint/diameter/normal_migrate_from_v22
  OK   test constraint/where_dragged/free_in_3d_migrate_from_v22
  OK   test constraint/pt_pt_distance/free_in_3d_migrate_from_v20
  OK   test constraint/horizontal/pt_pt_roundtrip
  OK   test constraint/equal_line_arc_len/pi
  OK   test constraint/pt_in_plane/normal_migrate_from_v22
  OK   test core/path/is_absolute_unix
  OK   test constraint/diameter/reference_migrate_from_v20
  OK   test constraint/symmetric_vert/normal_migrate_from_v20
  OK   test constraint/curve_curve_tangent/arc_cubic_migrate_from_v20
Failure! 1 checks failed
make[5]: *** [test/CMakeFiles/test_solvespace.dir/build.make:80: test/CMakeFiles/test_solvespace] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[4]: *** [CMakeFiles/Makefile2:542: test/CMakeFiles/test_solvespace.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:549: test/CMakeFiles/test_solvespace.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:329: test_solvespace] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [debian/rules:34: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:26: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list