Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659566 - dev-qt/qtgui-5.11 compiling block at qwindow.cpp
Summary: dev-qt/qtgui-5.11 compiling block at qwindow.cpp
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-29 04:50 UTC by Nicolas PARLANT
Modified: 2018-07-09 20:49 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info,7.29 KB, text/plain)
2018-06-29 04:50 UTC, Nicolas PARLANT
Details
build.log (build.log,567.59 KB, text/x-log)
2018-06-29 04:50 UTC, Nicolas PARLANT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas PARLANT 2018-06-29 04:50:03 UTC
Created attachment 537680 [details]
emerge --info

emerge dev-qt/qtgui-5.11.1 freeze when compiling qwindow.cpp :

x86_64-pc-linux-gnu-g++ -c -march=westmere -mtune=westmere -O2 -pipe -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Ws
hift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_G
UI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x05000
0 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.11.1 -I../../incl
ude/QtGui/5.11.1/QtGui -I.tracegen -isystem /usr/include/libdrm -isystem /usr/include/qt5/QtCore/5.11.1 -isystem /usr/include/qt5/QtCore/5.11.1/QtCore -isystem /usr/include/q
t5 -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libpng16 -I../../mkspecs/linux-g++ -o .obj/qwindow.o kernel/qwindow.cpp

successful build with dev-qt/qtgui-5.9.6 but since I tried to pass qt-5.11.1 (rc2 failed too), compiling seems to freeze at qwindow.cpp

Even while waiting several hours, the compilation is still at qwindow.cpp ant I need to stop with Ctrl+c.

dependencies build successful and others dev-qt/ too (qtdbus, qtcore ...)

build.log and emerge --info are attached
Comment 1 Nicolas PARLANT 2018-06-29 04:50:36 UTC
Created attachment 537682 [details]
build.log
Comment 2 Andreas Sturmlechner gentoo-dev 2018-06-30 22:34:54 UTC
Any relevant errors in dmesg?
Comment 3 Nicolas PARLANT 2018-07-03 05:31:21 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Any relevant errors in dmesg?

No errors in dmesg. Upgrade to gcc-7.3 and emerge -ev @system didn't fix it.
Comment 4 Petross404(Petros S) 2018-07-07 05:19:47 UTC
(In reply to ppn from comment #3)
> (In reply to Andreas Sturmlechner from comment #2)
> > Any relevant errors in dmesg?
> 
> No errors in dmesg. Upgrade to gcc-7.3 and emerge -ev @system didn't fix it.

Run htop with tree view for processes and try to find the emerge of qtgui. See what things are running.

It could be a script, a sed or as once happened to me a tcsh shell that was stuck. I solved it after upgrading tcsh.

Please report back, thanks.
Comment 5 Nicolas PARLANT 2018-07-09 20:27:14 UTC
Finally, it was an CFLAGS issue. --march options has been defined to westmere a long time ago (> 4 years) and I never had any error before. But I found that my cpu don't support AES instruction. Switch to nehalem fixed it. Sorry for the report ...
Comment 6 Andreas Sturmlechner gentoo-dev 2018-07-09 20:27:54 UTC
Thanks for checking back!