Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699496

Summary: dev-qt/qtgui - ?
Product: Gentoo Linux Reporter: Jason Howe <jason>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Howe 2019-11-07 00:53:07 UTC
Building dev-qt/qtgui fails on OLDER 32bit x86, without SSE2 support.

The qtgui build fails as one of the components calls /usr/lib/libQt5Core.so.5 (which gets built by dev-qt/qtcore

running the command through the gdb:
gdb /var/tmp/portage/dev-qt/qtgui-5.12.3-r1/work/qtbase-everywhere-src-5.12.3/bin/qvkgen

An Illegal Instruction is hit, which turns out to be movq.

Regardless, with enough digging I found the following from the qt project:
https://lists.qt-project.org/pipermail/development/2013-November/014085.html

The issue appears to be the blanket SSE2 enablement which can be found at 
 /var/tmp/portage/dev-qt/qtcore-5.12.3/work/qtbase-everywhere-src-5.12.3/mkspecs/features/qt_module.prf lines 184 - 194

it seems that the solution might just be to pass the -no-sse2 paramater in the right spot for pre SSE2 x86 processors.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-07 08:54:22 UTC
Please attach the entire build log to this bug report.
Please post your `emerge --info' output in a comment.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-07 08:55:58 UTC

*** This bug has been marked as a duplicate of bug 648004 ***