aarch64 Qt5.7 for Odroid-C2 cross-compilation problem.
Unsolved
Mobile and Embedded
-
Hi, I'm trying to cross-compile Qt5.7 for Odroid-C2 (aarch64)
compilation stopped on qjsonvalue.cpp
int QJsonValue::toInt(int defaultValue) const { if (t == Double && int(dbl) == dbl). return int(dbl); return defaultValue; }
error log is
/virtual/gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -c -pipe -pipe -mtune=cortex-a53 --sysroot=/opt/cb2/rootfs-oc2 -pthread -I/opt/cb2/rootfs-oc2/usr/include/glib-2.0 -I/opt/cb2/rootfs-oc2/usr/lib/aarch64-linux-gnu/glib-2.0/include -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_USING_NAMESPACE -DQT_USE_ICU -DQT_HAVE_POLL -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include -I../3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.7.0 -I../../include/QtCore/5.7.0/QtCore -I.moc -I../../mkspecs/devices/linux-odroid-c2-g++ -o .obj/qjsonvalue.o json/qjsonvalue.cpp json/qjsonvalue.cpp: In member function 'int QJsonValue::toInt(int) const': json/qjsonvalue.cpp:538:1: error: unable to generate reloads for: } ^ (insn 40 18 41 3 (set (reg:CCFP 66 cc) (compare:CCFP (reg:DF 75 [ D.149099 ]) (reg:DF 32 v0))) json/qjsonvalue.cpp:537 386 {*cmpdf} (expr_list:REG_DEAD (reg:DF 75 [ D.149099 ]) (expr_list:REG_DEAD (reg:DF 32 v0) (nil)))) json/qjsonvalue.cpp:538:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3509 0x9ee533 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/aarch64-linux-gnu/snapshots/gcc-linaro-5.3-2016.02/gcc/rtl-error.c:110 0x935f8b curr_insn_transform /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/aarch64-linux-gnu/snapshots/gcc-linaro-5.3-2016.02/gcc/lra-constraints.c:3509 0x936a5e lra_constraints(bool) /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/aarch64-linux-gnu/snapshots/gcc-linaro-5.3-2016.02/gcc/lra-constraints.c:4465 0x927d1c lra(_IO_FILE*) /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/aarch64-linux-gnu/snapshots/gcc-linaro-5.3-2016.02/gcc/lra.c:2344 0x8eca19 do_reload /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/aarch64-linux-gnu/snapshots/gcc-linaro-5.3-2016.02/gcc/ira.c:5421 0x8eca19 execute /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/aarch64-linux-gnu/snapshots/gcc-linaro-5.3-2016.02/gcc/ira.c:5592 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.linaro.org> for instructions. Makefile:39987: recipe for target '.obj/qjsonvalue.o' failed make[3]: *** [.obj/qjsonvalue.o] Error 1
any advice ?
-
Hi,
Like suggested on the error message, you should get in touch with the Linaro folks.