Fedora Account System
Red Hat Associate
Red Hat Customer
With latest GCC 16 and Fedora Mass Rebuild, my package (qt6-qtscxml) fails to build. The snippet from the build log: FAILED: [code=1] src/scxmlqml/CMakeFiles/ScxmlQml.dir/scxmlqml_qmltyperegistrations.cpp.o /usr/bin/g++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_SCXMLQML_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_NO_STD_FORMAT_SUPPORT -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_SCXML_LIB -DQT_USE_QSTRINGBUILDER -DScxmlQml_EXPORTS -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/src/scxmlqml/ScxmlQml_autogen/include -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/include -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/include/QtScxmlQml -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/src/scxmlqml -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/src/scxmlqml -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/include/QtScxmlQml/6.10.1 -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/include/QtScxmlQml/6.10.1/QtScxmlQml -I/builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/include/QtScxml -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6 -isystem /usr/include/qt6/QtCore -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtCore/6.10.1 -isystem /usr/include/qt6/QtCore/6.10.1/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -DNDEBUG -O2 -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-expansion-to-defined -U_FORTIFY_SOURCE -Wsuggest-override -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -fstack-clash-protection -fno-exceptions -Winvalid-pch -include /builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/src/scxmlqml/CMakeFiles/ScxmlQml.dir/cmake_pch.hxx -MD -MT src/scxmlqml/CMakeFiles/ScxmlQml.dir/scxmlqml_qmltyperegistrations.cpp.o -MF src/scxmlqml/CMakeFiles/ScxmlQml.dir/scxmlqml_qmltyperegistrations.cpp.o.d -o src/scxmlqml/CMakeFiles/ScxmlQml.dir/scxmlqml_qmltyperegistrations.cpp.o -c /builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/src/scxmlqml/scxmlqml_qmltyperegistrations.cpp *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbols In file included from /builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/include/QtScxmlQml/6.10.1/QtScxmlQml/private/eventconnection_p.h:1, from /builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/redhat-linux-build/src/scxmlqml/scxmlqml_qmltyperegistrations.cpp:11: /builddir/build/BUILD/qt6-qtscxml-6.10.1-build/qtscxml-everywhere-src-6.10.1/src/scxmlqml/eventconnection_p.h:54:10: internal compiler error: in write_type, at cp/mangle.cc:2478 54 | void setEvents(const QStringList &events); | ^~~~~~~~~ Reproducible: Always
Created attachment 2123958 [details] Preprocessed source file Attaching the preprocessed source file.
This seems to be finally fixed with gcc-16.0.1-0.7.fc45.
Fixed in Rawhide, I assume build for F44 will follow, but I could at least tag the Rawhide build temporarily into my F44 side-tag.