Unsolved QT5.7 cross compile on raspberry pi3 issue
-
hi,
i 'm following the process in http://wiki.qt.io/RaspberryPi2EGLFS
my host is centos 7 , and i use qt-everywhere-opensource-src-5.7.1 instead of qtbase from git, now there is an error ,how to solve it ?thank you!
114/11199] CC obj/src/3rdparty/chromi...d_party/ffmpeg/libavcodec/ffmpeg.vp8.o
FAILED: /home/Tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc -MMD -MF obj/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ffmpeg.vp8.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES '-DOPENSSLDIR="/usr/lib/ssl"' -DOPENSSL_LOAD_CONF -DEGL_API_FB=1 -DLINUX=1 -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_MEDIA_ROUTER=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_BACKGROUND=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DHAVE_AV_CONFIG_H -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DFF_API_CONVERGENCE_DURATION=0 -D_ISOC99_SOURCE -D_LARGEFILE_SOURCE -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DNDEBUG -DNO_UNWIND_TABLES -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen -I/home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/arm-neon -I/home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg -I/home/Tong/raspi/sysroot/opt/vc/include -I/home/Tong/raspi/sysroot/opt/vc/include/interface/vcos/pthreads -I/home/Tong/raspi/sysroot/opt/vc/include/interface/vmcs_host/linux -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -fPIC -fomit-frame-pointer -Wno-deprecated-declarations -w -DHAVE_VFP_ARGS=1 -std=c99 -pthread -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -I/home/Tong/raspi/sysroot/usr/include/dbus-1.0 -I/home/Tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/home/Tong/raspi/sysroot/usr/include/dbus-1.0 -I/home/Tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/Tong/raspi/sysroot -Os -fno-ident -fdata-sections -ffunction-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c /home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/vp8.c -o obj/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ffmpeg.vp8.o
{standard input}: Assembler messages:
{standard input}:42: Error: bad instructionldrhcs r0,[r2],#2' {standard input}:96: Error: bad instruction
ldrhcs r6,[ip],#2'
[114/11199] CC obj/src/3rdparty/chromi...ty/ffmpeg/libavcodec/ffmpeg.h264pred.o
ninja: build stopped: subcommand failed.
make[4]: *** [invoke_ninja] Error 1
make[4]: Leaving directory `/home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/core'
make[3]: *** [sub-gyp_run-pro-make_first] Error 2 -
@JiujiuTong said in QT5.7 cross compile on raspberry pi3 issue:
hi,
i 'm following the process in http://wiki.qt.io/RaspberryPi2EGLFS
my host is centos 7 , and i use qt-everywhere-opensource-src-5.7.1 instead of qtbase from git, now there is an error ,how to solve it ?thank you!
114/11199] CC obj/src/3rdparty/chromi...d_party/ffmpeg/libavcodec/ffmpeg.vp8.o
FAILED: /home/Tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc -MMD -MF obj/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ffmpeg.vp8.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES '-DOPENSSLDIR="/usr/lib/ssl"' -DOPENSSL_LOAD_CONF -DEGL_API_FB=1 -DLINUX=1 -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_MEDIA_ROUTER=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_BACKGROUND=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DHAVE_AV_CONFIG_H -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DFF_API_CONVERGENCE_DURATION=0 -D_ISOC99_SOURCE -D_LARGEFILE_SOURCE -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DNDEBUG -DNO_UNWIND_TABLES -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen -I/home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/arm-neon -I/home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg -I/home/Tong/raspi/sysroot/opt/vc/include -I/home/Tong/raspi/sysroot/opt/vc/include/interface/vcos/pthreads -I/home/Tong/raspi/sysroot/opt/vc/include/interface/vmcs_host/linux -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -fPIC -fomit-frame-pointer -Wno-deprecated-declarations -w -DHAVE_VFP_ARGS=1 -std=c99 -pthread -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -I/home/Tong/raspi/sysroot/usr/include/dbus-1.0 -I/home/Tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/home/Tong/raspi/sysroot/usr/include/dbus-1.0 -I/home/Tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard --sysroot=/home/Tong/raspi/sysroot -Os -fno-ident -fdata-sections -ffunction-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c /home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/vp8.c -o obj/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ffmpeg.vp8.o
{standard input}: Assembler messages:
{standard input}:42: Error: bad instructionldrhcs r0,[r2],#2' {standard input}:96: Error: bad instruction
ldrhcs r6,[ip],#2'
[114/11199] CC obj/src/3rdparty/chromi...ty/ffmpeg/libavcodec/ffmpeg.h264pred.o
ninja: build stopped: subcommand failed.
make[4]: *** [invoke_ninja] Error 1
make[4]: Leaving directory `/home/Tong/raspi/qt-everywhere-opensource-src-5.7.1/qtwebengine/src/core'
make[3]: *** [sub-gyp_run-pro-make_first] Error 2
current steps, skip webengine, but i'd to know how to solve the problem....