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

Bug 680280

Summary: dev-qt/qtgui-5.11.3: Incompatible processor. This Qt build requires the following features: aes
Product: Gentoo Linux Reporter: Seong-ho Cho <darkcircle.0426>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-qt/qtgui-5.11.3 build.log
The result of 'emerge --info' in my system.
cat /proc/cpuinfo

Description Seong-ho Cho 2019-03-14 00:28:45 UTC
Created attachment 569068 [details]
dev-qt/qtgui-5.11.3 build.log

I tried to build qtgui number of time to use many qt-based program,
I could not use everything which is depending on qt graphic libraries.
there was no error message. 

but, yesterday, I saw below link and tried again, It does well.

https://forums.gentoo.org/viewtopic-t-1088810-start-0.html

we need to add -mno-aes flag into qtgui ebuild process as a patch.
-mno-aes made stopping issue on qwidget.cpp compile step.
Comment 1 Seong-ho Cho 2019-03-14 00:31:46 UTC
Created attachment 569070 [details]
The result of 'emerge --info' in my system.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2019-03-16 05:29:40 UTC
For some reason, Qt is trying to use AES CPU instructions, but your CPU doesn't support that.

Could you please attach output of 'emerge --info' and 'cat /proc/cpuinfo'?
Comment 3 Seong-ho Cho 2019-03-29 05:13:34 UTC
Created attachment 571130 [details]
cat /proc/cpuinfo
Comment 4 Michael Palimaka (kensington) gentoo-dev 2019-03-31 08:55:46 UTC
According to your emerge --info, you are using in your CFLAGS: -march=sandybridge. Per the GCC docs[1], this implies that your CPU supports the AES instruction set. However, according to your /proc/cpuinfo, your CPU does not support the AES instruction set.

Please try again with correct CFLAGS (-march=native is recommended for most cases).

1: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#x86-Options