Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680280 - dev-qt/qtgui-5.11.3: Incompatible processor. This Qt build requires the following features: aes
Summary: dev-qt/qtgui-5.11.3: Incompatible processor. This Qt build requires the follo...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-14 00:28 UTC by Seong-ho Cho
Modified: 2019-03-31 08:55 UTC (History)
0 users

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


Attachments
dev-qt/qtgui-5.11.3 build.log (build.log,578.56 KB, text/plain)
2019-03-14 00:28 UTC, Seong-ho Cho
Details
The result of 'emerge --info' in my system. (emerge_info,6.63 KB, text/plain)
2019-03-14 00:31 UTC, Seong-ho Cho
Details
cat /proc/cpuinfo (proc_cpuinfo.cat,3.80 KB, text/plain)
2019-03-29 05:13 UTC, Seong-ho Cho
Details

Note You need to log in before you can comment on or make changes to this bug.
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