qmake/Qt 4.8 on RHEL6 - mtune=atom

Syam Krishnan syamcr at gmail.com
Mon Jun 10 01:41:41 UTC 2013


On 06/09/2013 07:42 PM, Rex Dieter wrote:
> Syam Krishnan wrote:
>
> ...
>> Can anybody tell me why 'mtune=atom' is generated by qmake?
> distro default optimization flags, to query for your OS/arch,
>
> rpm --eval "%{optflags}"
The output is:
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables


What exactly does this mean? As far as I know, the VM shouldn't have 
anything to do with Atom processor.

uname -a gives:
Linux nutan 2.6.32-358.el6.i686 #1 SMP Thu Feb 21 21:50:49 UTC 2013 i686 
i686 i386 GNU/Linux

As suggested by Thiago Macieira of Qt-Interest, I ran

qmake -d -d 2>&1 | grep atom > output

The output is attached. 'atom' came from /usr/lib/qt4/mkspecs/default/qmake.conf.



Regards,

Syam

-------------- next part --------------
DEBUG 1: Project Parser: /usr/lib/qt4/mkspecs/default/qmake.conf:12 :QMAKE_CFLAGS_RELEASE: :+=: (-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables)
DEBUG 1: Project Parser: /usr/lib/qt4/mkspecs/common/gcc-base.conf:49 :QMAKE_CXXFLAGS_RELEASE: :+=: (-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2)
DEBUG 1: Project Parser: /usr/lib/qt4/mkspecs/features/release.prf:2 :QMAKE_CFLAGS: :+=: (-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2)
DEBUG 1: Project Parser: /usr/lib/qt4/mkspecs/features/release.prf:3 :QMAKE_CXXFLAGS: :+=: (-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2)
DEBUG 1: QMAKE_CFLAGS === -pipe :: -O2 :: -g :: -pipe :: -Wall :: -Wp,-D_FORTIFY_SOURCE=2 :: -fstack-protector :: --param=ssp-buffer-size=4 :: -m32 :: -march=i686 :: -mtune=atom :: -fasynchronous-unwind-tables :: -O2 :: -Wall :: -W :: -D_REENTRANT
DEBUG 1: QMAKE_CFLAGS_RELEASE === -O2 :: -g :: -pipe :: -Wall :: -Wp,-D_FORTIFY_SOURCE=2 :: -fstack-protector :: --param=ssp-buffer-size=4 :: -m32 :: -march=i686 :: -mtune=atom :: -fasynchronous-unwind-tables :: -O2
DEBUG 1: QMAKE_CXXFLAGS === -pipe :: -O2 :: -g :: -pipe :: -Wall :: -Wp,-D_FORTIFY_SOURCE=2 :: -fstack-protector :: --param=ssp-buffer-size=4 :: -m32 :: -march=i686 :: -mtune=atom :: -fasynchronous-unwind-tables :: -O2 :: -Wall :: -W :: -D_REENTRANT
DEBUG 1: QMAKE_CXXFLAGS_RELEASE === -O2 :: -g :: -pipe :: -Wall :: -Wp,-D_FORTIFY_SOURCE=2 :: -fstack-protector :: --param=ssp-buffer-size=4 :: -m32 :: -march=i686 :: -mtune=atom :: -fasynchronous-unwind-tables :: -O2


More information about the kde mailing list