Solved yocto boot2qt failing to compile qtwebengine in qt5.10 on Ubuntu 14.04
-
Hello,
I'm trying to compile a b2qt-embedded-qt5-image on a Ubuntu 14.04 machine, but it fails when doing qtwebengine, with the following errors:
| FAILED: v8_snapshot/obj/v8/v8_libbase/sys-info.o | /home/roberto/fsl-b2qt5.10-bsp/build-imx6m300/tmp/hosttools/g++ -MMD -MF v8_snapshot/obj/v8/v8_libbase/sys-info.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_INTL_SUPPORT -DV8_USE_SNAPSHOT -DV8_TARGET_ARCH_ARM -DCAN_USE_ARMV7_INSTRUCTIONS -DCAN_USE_VFP3_INSTRUCTIONS -DCAN_USE_VFP32DREGS -DCAN_USE_NEON -DUSE_EABI_HARDFLOAT=1 -Iv8_snapshot/gen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/v8 -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -fomit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -O3 -fno-ident -fdata-sections -ffunction-sections -std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -c ../../../../git/src/3rdparty/chromium/v8/src/base/sys-info.cc -o v8_snapshot/obj/v8/v8_libbase/sys-info.o | In file included from ../../../../git/src/3rdparty/chromium/v8/src/base/sys-info.cc:19:0: | /usr/include/c++/4.8/limits:1405:35: error: template argument 1 is invalid | struct numeric_limits<__int128> | ^ | /usr/include/c++/4.8/limits:1479:44: error: template argument 1 is invalid | struct numeric_limits<unsigned __int128> | ^ | In file included from /usr/include/c++/4.8/bits/move.h:57:0, | from /usr/include/c++/4.8/bits/stl_pair.h:59, | from /usr/include/c++/4.8/bits/stl_algobase.h:64, | from /usr/include/c++/4.8/bits/char_traits.h:39, | from /usr/include/c++/4.8/ios:40, | from /usr/include/c++/4.8/istream:38, | from /usr/include/c++/4.8/sstream:38, | from ../../../../git/src/3rdparty/chromium/v8/src/base/logging.h:9, | from ../../../../git/src/3rdparty/chromium/v8/src/base/sys-info.cc:21: | /usr/include/c++/4.8/type_traits:236:41: error: template argument 1 is invalid
Does anybody know how to fix this issue?
-
@roberto_abl Ok I found a solution: I replaced gcc-4.8 with gcc-4.9 in Ubuntu 14.04 (default is gcc-4.8 in this distribution at the moment). Now it compiles.
-
@roberto_abl Ok I found a solution: I replaced gcc-4.8 with gcc-4.9 in Ubuntu 14.04 (default is gcc-4.8 in this distribution at the moment). Now it compiles.