[Debichem-devel] Bug#983946: openstructure: ftbfs with -march=x86-64-v3

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


Package: src:openstructure
Version: 2.2.0-6
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/openstructure_2.2.0-6_unstable_gcc10-v3.log
The last lines of the build log are at the end of this report.

[...]
...s
----------------------------------------------------------------------
Ran 4 tests in 0.002s

OK (skipped=1)
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 97%] Built target test_io_pdb.py_run
make  -f modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/build.make modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/modules/mol/base/tests /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/mol/base/tests /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/DependInfo.cmake --color=
Scanning dependencies of target ost_mol_tests_run
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/build.make modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 98%] running checks for module mol
cd /<<PKGBUILDDIR>>/modules/mol/base/tests && env OST_ROOT=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/ost_mol_tests
Running 70 test cases...
./modules/mol/base/tests/test_ics.cc(216): error: in "mol_base/ics_settorsion_linear_unbuffered": difference{4} between s.t2.GetAngle(){-2.3561945} and Real(3.14159265358979323846/4){0.785398185} exceeds 0.0001%

*** 1 failure is detected in the test module "ost_mol_base"
make[4]: *** [modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/build.make:80: modules/mol/base/tests/CMakeFiles/ost_mol_tests_run] Error 201
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:5452: modules/mol/base/tests/CMakeFiles/ost_mol_tests_run.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
.[ 98%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_io_sequence_profile.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_io_sequence_profile.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_io_sequence_profile.cc
........s
----------------------------------------------------------------------
Ran 10 tests in 0.701s

OK (skipped=1)
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 98%] Built target test_io_mmcif.py_run
[ 98%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_pir.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_pir.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_pir.cc
[ 98%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_iomanager.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_iomanager.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_iomanager.cc
[ 98%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/tests.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/tests.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/tests.cc
[ 98%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_star_parser.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_star_parser.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_star_parser.cc
[ 98%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_mmcif_reader.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_mmcif_reader.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_mmcif_reader.cc
[100%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_mmcif_info.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_mmcif_info.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_mmcif_info.cc
.
----------------------------------------------------------------------
Ran 2 tests in 22.683s

OK
Could not find CAD score classic executables: ignoring unit tests
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[100%] Built target test_cadscore.py_run
[100%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_io_img.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_io_img.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_io_img.cc
[100%] Building CXX object modules/io/tests/CMakeFiles/ost_io_tests.dir/test_exceptions.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/include -I/usr/include/eigen3 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -fPIC -o CMakeFiles/ost_io_tests.dir/test_exceptions.cc.o -c /<<PKGBUILDDIR>>/modules/io/tests/test_exceptions.cc
[100%] Linking CXX executable ../../../tests/ost_io_tests
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/modules/io/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/ost_io_tests.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-attributes -g -Wl,-z,relro CMakeFiles/ost_io_tests.dir/test_clustal.cc.o CMakeFiles/ost_io_tests.dir/test_io_pdb.cc.o CMakeFiles/ost_io_tests.dir/test_io_crd.cc.o CMakeFiles/ost_io_tests.dir/test_io_dcd.cc.o CMakeFiles/ost_io_tests.dir/test_io_sdf.cc.o CMakeFiles/ost_io_tests.dir/test_io_sequence_profile.cc.o CMakeFiles/ost_io_tests.dir/test_pir.cc.o CMakeFiles/ost_io_tests.dir/test_iomanager.cc.o CMakeFiles/ost_io_tests.dir/tests.cc.o CMakeFiles/ost_io_tests.dir/test_star_parser.cc.o CMakeFiles/ost_io_tests.dir/test_mmcif_reader.cc.o CMakeFiles/ost_io_tests.dir/test_mmcif_info.cc.o CMakeFiles/ost_io_tests.dir/test_io_img.cc.o CMakeFiles/ost_io_tests.dir/test_exceptions.cc.o -o ../../../tests/ost_io_tests   -L/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/lib  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/stage/lib /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so ../../../stage/lib/libost_io.so.2.2.0 ../../../stage/lib/libost_mol_alg.so.2.2.0 ../../../stage/lib/libost_conop.so.2.2.0 ../../../stage/lib/libost_db.so.2.2.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libboost_program_options.so /usr/lib/x86_64-linux-gnu/libboost_thread.so -lpthread /usr/lib/x86_64-linux-gnu/libboost_chrono.so /usr/lib/x86_64-linux-gnu/libboost_date_time.so /usr/lib/x86_64-linux-gnu/libboost_atomic.so ../../../stage/lib/libost_seq_alg.so.2.2.0 ../../../stage/lib/libost_seq.so.2.2.0 ../../../stage/lib/libost_mol.so.2.2.0 ../../../stage/lib/libost_img_alg.so.2.2.0 ../../../stage/lib/libost_img.so.2.2.0 ../../../stage/lib/libost_info.so.2.2.0 ../../../stage/lib/libost_base.so.2.2.0 ../../../stage/lib/libost_geom.so.2.2.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so /usr/lib/x86_64-linux-gnu/libboost_system.so /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.2 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.2 /usr/lib/x86_64-linux-gnu/libfftw3f.so /usr/lib/x86_64-linux-gnu/libfftw3f_threads.so /usr/lib/x86_64-linux-gnu/libboost_iostreams.so /usr/lib/x86_64-linux-gnu/libboost_regex.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[100%] Built target ost_io_tests
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1881: CMakeFiles/check.dir/rule] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:221: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j4 check ARGS\+=-j4 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debichem-devel mailing list