Since some day I have stability problems with GCC on Tumbleweed (20230808). Linux kernel compilation and also other compile tasks sometimes fail with "internal compiler error". Restarting the compilation helps, but especially within "rpmbuild" or "osc build" build jobs restarting means, that I have to start from the beginning. A hardware problem is possible, but "dmesg" or journalctl does not show any problem. Machine: Intel i5 750, 16 GB RAM, 256 GB SSD Does anyone has similar problems? Here is a sample from MythTV 33 rpmbuild: g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fomit-frame-pointer -fno-strict-aliasing -std=c++17 -faligned-new -DNDEBUG -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -Wall -Wextra -Wpointer-arith -Wundef -fvisibility-inlines-hidden -Wdouble-promotion -Wduplicated-cond -Wlogical-op -Wmissing-declarations -Wnull-dereference -Woverloaded-virtual -Wshadow -funit-at-a-time -Wzero-as-null-pointer-constant -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -std=gnu++1z -D_REENTRANT -fPIC -DMMX -Dusing_libcec -D_GNU_SOURCE -DHAVE_LIBBLURAY -DUSING_X11 -DUSING_OPENGL -DUSING_VDPAU -DUSING_VAAPI -DUSING_PULSE -DUSING_PULSEOUTPUT -DUSING_ALSA -DUSING_JACK -DUSING_OSS -DUSING_LIBCEC -DUSING_LIBDNS_SD -DUSING_AIRPLAY -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/libxml2 -I/usr/include -I../.. -I../../libs -I../../external/FFmpeg -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -Imoc -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/progdetails.o progdetails.cpp In file included from /usr/include/qt5/QtGui/qevent.h:53, from /usr/include/qt5/QtGui/QKeyEvent:1, from progdetails.cpp:4: /usr/include/qt5/QtCore/qset.h: In instantiation of 'QSet<T> QList<T>::toSet() const [with T = QPair<MythUIType*, bool>]': progdetails.cpp:920:1: required from here /usr/include/qt5/QtCore/qset.h:406:30: internal compiler error: Segmentation fault 406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const | ^~~~~~~~ 0x11eba97 internal_error(char const*, ...) ???:0 0x7efc0b256420 __strncmp_sse42 ???:0 0x1324237 mangle_decl(tree_node*) ???:0 0x1877614 symbol_table::finalize_compilation_unit() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.opensuse.org/> for instructions. make[2]: *** [Makefile:8423: obj/progdetails.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/data1/soft/rpmbuild/BUILD/mythtv-fixes-33.0+git20230727/mythtv/programs/mythfrontend' make[1]: *** [Makefile:92: sub-mythfrontend-make_first] Error 2 make[1]: Leaving directory '/data1/soft/rpmbuild/BUILD/mythtv-fixes-33.0+git20230727/mythtv/programs' make: *** [Makefile:66: programs] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2Jfadp (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2Jfadp (%build) Björn
On 09. 08. 23, 23:28, Bjoern Voigt wrote:
Since some day I have stability problems with GCC on Tumbleweed (20230808).
Would be nice to know if you updated gcc and/or kernel.
Linux kernel compilation and also other compile tasks sometimes fail with "internal compiler error". Restarting the compilation helps, but especially within "rpmbuild" or "osc build" build jobs restarting means, that I have to start from the beginning.
As a side-note: build with --ccache.
A hardware problem is possible, but "dmesg" or journalctl does not show any problem. Machine: Intel i5 750, 16 GB RAM, 256 GB SSD
Running memtest will definitely not hurt. (Install memtest86+ and run it from grub -- assuming this is an EFI system.)
Does anyone has similar problems?
No. And I am not aware of any OBS failures either. So it is either your HW is broken or it can be a your-HW-specific bug.
Here is a sample from MythTV 33 rpmbuild:
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fomit-frame-pointer -fno-strict-aliasing -std=c++17 -faligned-new -DNDEBUG -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -Wall -Wextra -Wpointer-arith -Wundef -fvisibility-inlines-hidden -Wdouble-promotion -Wduplicated-cond -Wlogical-op -Wmissing-declarations -Wnull-dereference -Woverloaded-virtual -Wshadow -funit-at-a-time -Wzero-as-null-pointer-constant -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -std=gnu++1z -D_REENTRANT -fPIC -DMMX -Dusing_libcec -D_GNU_SOURCE -DHAVE_LIBBLURAY -DUSING_X11 -DUSING_OPENGL -DUSING_VDPAU -DUSING_VAAPI -DUSING_PULSE -DUSING_PULSEOUTPUT -DUSING_ALSA -DUSING_JACK -DUSING_OSS -DUSING_LIBCEC -DUSING_LIBDNS_SD -DUSING_AIRPLAY -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/libxml2 -I/usr/include -I../.. -I../../libs -I../../external/FFmpeg -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -Imoc -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/progdetails.o progdetails.cpp In file included from /usr/include/qt5/QtGui/qevent.h:53, from /usr/include/qt5/QtGui/QKeyEvent:1, from progdetails.cpp:4: /usr/include/qt5/QtCore/qset.h: In instantiation of 'QSet<T> QList<T>::toSet() const [with T = QPair<MythUIType*, bool>]': progdetails.cpp:920:1: required from here /usr/include/qt5/QtCore/qset.h:406:30: internal compiler error: Segmentation fault 406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const | ^~~~~~~~ 0x11eba97 internal_error(char const*, ...) ???:0 0x7efc0b256420 __strncmp_sse42 ???:0 0x1324237 mangle_decl(tree_node*) ???:0 0x1877614 symbol_table::finalize_compilation_unit() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.opensuse.org/> for instructions. make[2]: *** [Makefile:8423: obj/progdetails.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/data1/soft/rpmbuild/BUILD/mythtv-fixes-33.0+git20230727/mythtv/programs/mythfrontend' make[1]: *** [Makefile:92: sub-mythfrontend-make_first] Error 2 make[1]: Leaving directory '/data1/soft/rpmbuild/BUILD/mythtv-fixes-33.0+git20230727/mythtv/programs' make: *** [Makefile:66: programs] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2Jfadp (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2Jfadp (%build)
Björn
-- js suse labs
participants (2)
-
Bjoern Voigt
-
Jiri Slaby