Created attachment 563186 [details] media-video:vlc-3.0.6:20190129-141928.log I see the following error when building vlc on 32-bit x86 system, with gcc-7.4.0: ../doltlibtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++-7.4.0 -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="gui/qt/adapters/libqt_plugin_la-seekpoints.moc.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p=$(echo "$p"|sed 's/-/_/g'); p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -I./gui/qt -I./gui/qt -I../include -I../include -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtSvg -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT5_HAS_X11 -DQT5_HAS_XCB -O2 -pipe -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -std=c++11 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -fvisibility=hidden -c -o gui/qt/adapters/libqt_plugin_la-seekpoints.moc.lo `test -f 'gui/qt/adapters/seekpoints.moc.cpp' || echo './'`gui/qt/adapters/seekpoints.moc.cpp In file included from /usr/include/qt5/QtCore/qglobal.h:105:0, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from gui/qt/adapters/seekpoints.hpp:33, from gui/qt/adapters/seekpoints.moc.cpp:9: /usr/include/qt5/QtCore/qcompilerdetection.h:1242:49: internal compiler error: in expand_all_functions, at cgraphunit.c:2152 #define QT_DO_PRAGMA(text) _Pragma(#text) ^ /usr/include/qt5/QtCore/qcompilerdetection.h:1281:49: note: in expansion of macro ‘QT_DO_PRAGMA’ # define QT_WARNING_POP QT_DO_PRAGMA(GCC diagnostic pop) ^~~~~~~~~~~~ gui/qt/adapters/seekpoints.moc.cpp:113:1: note: in expansion of macro ‘QT_WARNING_POP’ QT_WARNING_POP ^~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. distcc[17772] ERROR: compile gui/qt/adapters/seekpoints.moc.cpp on localhost failed
Created attachment 563188 [details] emerge-info.txt
""" Please submit a full bug report, with preprocessed source if appropriate. """ https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide has a few hints on how to extract selfcontained example.
Tried to reproduce it on vanilla ~x86 chroot to match *FLAGS and USE flags and did not succeed. We'll need a preprocessed example. Reproducer likely heavily depends on headers of some dependencies (jpeg, qt, etc.) as gcc fails assertion on inlining decision.