[Interest] Building Qt Creator - mtune=atom?

Syam Krishnan syamcr at gmail.com
Mon Jun 10 03:38:16 CEST 2013


On 06/09/2013 10:17 PM, Thiago Macieira wrote:
> On sábado, 8 de junho de 2013 23.09.44, Thiago Macieira wrote:
>> How about the environment?
>>
>> env | grep atom
> Go to your project's directory and run this please:
>
> qmake -d -d 2>&1 | grep atom > output
>
> The first line in the "output" file will be where the "atom" string came from.
> It should tell you also file and line.
I've attached the file. atom came from 
/usr/lib/qt4/mkspecs/default/qmake.conf
As suggested by Rex (of Fedora KDE SIG, who built these RPMs), when I run:

rpm --eval "%{optflags}"

I get:
-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


Now I'm even more confused. It seems like 'atom' is coming from a lower 
layer (that Qt).


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 Interest mailing list