Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676800 - media-video/vlc-3.0.6: /usr/include/qt5/QtCore/qcompilerdetection.h:1242:49: internal compiler error: in expand_all_functions, at cgraphunit.c:2152
Summary: media-video/vlc-3.0.6: /usr/include/qt5/QtCore/qcompilerdetection.h:1242:49: ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-29 14:42 UTC by Michał Górny
Modified: 2019-06-23 22:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-video:vlc-3.0.6:20190129-141928.log (media-video:vlc-3.0.6:20190129-141928.log,380.36 KB, text/plain)
2019-01-29 14:42 UTC, Michał Górny
Details
emerge-info.txt (emerge-info.txt,6.59 KB, text/plain)
2019-01-29 14:42 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-29 14:42:01 UTC
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
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-29 14:42:16 UTC
Created attachment 563188 [details]
emerge-info.txt
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-29 20:07:16 UTC
"""
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.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-31 19:22:18 UTC
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.