[meta-freescale] meta-toolchain-qt5 compiles for soft float in hardfp i.mx6 image

Alfonso Tamés alfonso at tames.com
Mon Jul 7 18:37:38 PDT 2014


Hello,

I bitbaked meta-toolchain-qt5 using the master branches in yocto and meta-qt5 (in order to use Qt5.3). 

When trying to cross compile in Qt Creator I get this error:

arm-linux-gnueabi-g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-arm-gnueabi-g++ -I/opt/Qt5.3.0/Examples/Qt-5.3/quick/demos/clocks -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtQuick -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtQml -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtNetwork -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtGui -I/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtCore -I. -I../yocto_master/build/tmp/sysroots/wandboard-quad/usr/include/libdrm -I. -o main.o /opt/Qt5.3.0/Examples/Qt-5.3/quick/demos/clocks/main.cpp
In file included from /opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/features.h:402:0,
                 from /opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/arm-poky-linux-gnueabi/bits/os_defines.h:39,
….
                 from /opt/Qt5.3.0/Examples/Qt-5.3/quick/demos/clocks/../../shared/shared.h:40,
                 from /opt/Qt5.3.0/Examples/Qt-5.3/quick/demos/clocks/main.cpp:40:
/opt/poky/1.6+snapshot/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
 # include <gnu/stubs-soft.h>
                             ^
compilation terminated.
make: *** [main.o] Error 1

I suppose the toolchain got configured to use soft floating point. Is there a way to force the toolchain to be baked for hard float?

Thanks,

Alfonso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2541 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140707/b37056a2/attachment.bin>


More information about the meta-freescale mailing list