https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102588
Bug ID: 102588 Summary: ICE: in smallest_mode_for_size, at stor-layout.c:356 when building openorienteering-mapper Product: gcc Version: 10.3.0 URL: https://buildd.debian.org/status/fetch.php?pkg=openori enteering-mapper&arch=sparc64&ver=0.9.5-1&stamp=163312 0814&raw=0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: ebotcazou at gcc dot gnu.org, jrtc27 at jrtc27 dot com, matorola at gmail dot com Target Milestone: --- Target: sparc64-*-*-* Trying to build openorienteering-mapper on sparc64 fails on Debian unstable with: [ 68%] Building CXX object src/CMakeFiles/Mapper_Common.dir/tools/edit_line_tool.cpp.o cd /<<PKGBUILDDIR>>/obj-sparc64-linux-gnu/src && /usr/bin/c++ -DMAPPER_BIG_ENDIAN -DMAPPER_COMMON_LIB -DMAPPER_USE_GDAL -DMAPPER_USE_NMEA_POSITION_PLUGIN -DMAPPER_USE_POWERSHELL_POSITION_PLUGIN -DMAPPER_USE_SENSORS -DNDEBUG -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x050500 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DSCALING_ICON_ENGINE_PLUGIN -DUNICODE -DWITH_COVE -D_USE_MATH_DEFINES -I/<<PKGBUILDDIR>>/obj-sparc64-linux-gnu/src/Mapper_Common_autogen/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/3rd-party/cove -I/<<PKGBUILDDIR>>/obj-sparc64-linux-gnu/src -isystem /usr/include/sparc64-linux-gnu/qt5/QtCore/5.15.2 -isystem /usr/include/sparc64-linux-gnu/qt5/QtCore/5.15.2/QtCore -isystem /usr/include/sparc64-linux-gnu/qt5/QtGui/5.15.2 -isystem /usr/include/sparc64-linux-gnu/qt5/QtGui/5.15.2/QtGui -isystem /usr/include/polyclipping -isystem /usr/include/sparc64-linux-gnu/qt5 -isystem /usr/include/sparc64-linux-gnu/qt5/QtWidgets -isystem /usr/include/sparc64-linux-gnu/qt5/QtGui -isystem /usr/include/sparc64-linux-gnu/qt5/QtCore -isystem /usr/lib/sparc64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/sparc64-linux-gnu/qt5/QtConcurrent -isystem /<<PKGBUILDDIR>>/src/printsupport -isystem /usr/include/sparc64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/sparc64-linux-gnu/qt5/QtNetwork -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpedantic -Wextra -O3 -DNDEBUG -fPIC -std=gnu++14 -MD -MT src/CMakeFiles/Mapper_Common.dir/tools/edit_line_tool.cpp.o -MF CMakeFiles/Mapper_Common.dir/tools/edit_line_tool.cpp.o.d -o CMakeFiles/Mapper_Common.dir/tools/edit_line_tool.cpp.o -c /<<PKGBUILDDIR>>/src/tools/edit_line_tool.cpp during RTL pass: expand In file included from /<<PKGBUILDDIR>>/src/tools/cut_tool.h:34, from /<<PKGBUILDDIR>>/src/tools/cut_tool.cpp:22: /<<PKGBUILDDIR>>/src/core/objects/object.h: In member function ‘OpenOrienteering::ObjectPathCoord OpenOrienteering::CutTool::findEditPoint(const OpenOrienteering::MapCoordF&, int, int) const’: /<<PKGBUILDDIR>>/src/core/objects/object.h:1275:50: internal compiler error: in smallest_mode_for_size, at stor-layout.c:356 1275 | : PathCoord { object->findPathCoordForIndex(index) } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions. Attaching preprocessed source. Full log in: https://buildd.debian.org/status/fetch.php?pkg=openorienteering-mapper&arch=sparc64&ver=0.9.5-1&stamp=1633120814&raw=0