[oe] [warrior] [meta-qt4] qt4-xqq fails to compile on arm64

Mike Looijmans mike.looijmans at topic.nl
Thu Dec 5 14:48:58 UTC 2019


Apparently there's some cross-compiler badness in the Qt4-x11 stuff, since it 
attempts to use something from /usr/include.

Am I the only one seeing this, or is there a known workaround?


The error looks like this:


In file included from 
/home/mike/projects/my-desktop/build/tmp-glibc/work/aarch64-oe-linux/qt4-x11-free/4.8.7-r0/recipe-sysroot/usr/include/stdlib.h:55,
                   from 
/home/mike/projects/my-desktop/build/tmp-glibc/work/aarch64-oe-linux/qt4-x11-free/4.8.7-r0/recipe-sysroot/usr/include/c++/8.3.0/cstdlib:75,
                   from 
/home/mike/projects/my-desktop/build/tmp-glibc/work/aarch64-oe-linux/qt4-x11-free/4.8.7-r0/recipe-sysroot/usr/include/c++/8.3.0/bits/stl_algo.h:59,
                   from 
/home/mike/projects/my-desktop/build/tmp-glibc/work/aarch64-oe-linux/qt4-x11-free/4.8.7-r0/recipe-sysroot/usr/include/c++/8.3.0/algorithm:62,
                   from 
../../../include/QtCore/../../src/corelib/global/qglobal.h:68,
                   from ../../../include/QtCore/qglobal.h:1,
                   from 
../../../include/QtCore/../../src/corelib/global/qnamespace.h:45,
                   from ../../../include/QtCore/qnamespace.h:1,
                   from 
../../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
                   from ../../../include/QtCore/qobjectdefs.h:1,
                   from 
../../../include/QtGui/../../src/gui/kernel/qwindowdefs.h:45,
                   from ../../../include/QtGui/qwindowdefs.h:1,
                   from ../../../include/QtGui/../../src/gui/kernel/qwidget.h:46,
                   from ../../../include/QtGui/qwidget.h:1,
                   from ../../../include/QtGui/QWidget:1,
                   from testwidget.h:44,
                   from main.cpp:41:
/usr/include/bits/floatn.h:87:9: error: '__float128' does not name a type; did 
you mean '__cfloat128'?
   typedef __float128 _Float128;
           ^~~~~~~~~~
           __cfloat128

Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
Postbus 440, 5680 AK Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijmans at topicproducts.com
W: www.topicproducts.com

Please consider the environment before printing this e-mail


More information about the Openembedded-devel mailing list