REPRODUCIBILITY: Always
OS VERSION: 4.6.0.13
HARDWARE: N/A
UI LANGUAGE: N/A
REGRESSION: Not known
DESCRIPTION:
While compiling Qt6 QtBase, gcc experiences an internal error on i486. On Aarch64, it works fine
PRECONDITIONS:
OBS or SDK
STEPS TO REPRODUCE:
- Clone Qt6 Qtbase
- Build it with gcc
EXPECTED RESULT:
Package compiled
ACTUAL RESULT:
On aarch64 it works without issues. On i486, error log:
[ 634s] /usr/bin/c++ -DHAVE_CONFIG_H -DPROEVALUATOR_FULL -DQMAKE_VERSION_STR=\"3.1\" -DQT_BUILD_QMAKE -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_HOST_DATADIR=\"lib/qt6\" -DQT_HOST_MKSPEC=\"linux-g++\" -DQT_LEAN_HEADERS=1 -DQT_NO_AS_CONST -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_TARGET_MKSPEC=\"linux-g++\" -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/generators -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/generators/mac -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/generators/unix -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/generators/win32 -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/mkspecs/linux-g++ -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/include -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/src/corelib -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/include/QtCore/6.7.2 -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/include/QtCore/6.7.2/QtCore -I/home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/include/QtCore -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -msse -msse2 -march=i686 -mfpmath=sse -mtune=generic -fno-omit-frame-pointer -fasynchronous-unwind-tables -g -DNDEBUG -O2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -Wsuggest-override -Winvalid-pch -include /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/CMakeFiles/qmake.dir/cmake_pch.hxx -MD -MT qmake/CMakeFiles/qmake.dir/library/qmakeevaluator.cpp.o -MF qmake/CMakeFiles/qmake.dir/library/qmakeevaluator.cpp.o.d -o qmake/CMakeFiles/qmake.dir/library/qmakeevaluator.cpp.o -c /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library/qmakeevaluator.cpp
[ 634s] during RTL pass: pro_and_epilogue
[ 634s] In file included from /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library/qmakeparser.h:9,
[ 634s] from /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library/qmakeevaluator.h:11,
[ 634s] from /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library/qmakeevaluator.cpp:4:
[ 634s] /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library/proitems.h: In member function 'bool ProString::operator==(const ProString&) const':
[ 634s] /home/abuild/rpmbuild/BUILD/qt6-qtbase-6.7.2+dev1+main.20240929091800.2.ge2b0b69/upstream/qmake/library/proitems.h:85:102: internal compiler error: in find_oldest_value_reg, at regcprop.c:438
[ 634s] 85 | bool operator==(const ProString &other) const { return toQStringView() == other.toQStringView(); }
[ 634s] | ^
[ 634s] Please submit a full bug report,
[ 634s] with preprocessed source if appropriate.
[ 634s] See <https://git.sailfishos.org/> for instructions.