Thread (16 messages) 16 messages, 2 authors, 2020-02-24

[Buildroot] QtWebEngine on RPI 0 W

flat view

From: Peter Seiderer <hidden>
Date: 2020-01-28 09:43:26

Hello Rafa,

On Tue, 28 Jan 2020 08:58:28 +0100, Peter Seiderer [off-list ref] wrote:
Hello Rafa,

On Tue, 28 Jan 2020 01:41:07 -0600 (CST), rscr [off-list ref] wrote:
quoted
quoted
Hi,

I have built a custom image for RPI 0 W. Now I need QT with QtWebEngine.

- As I am using  toolchain *arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf*, I
have to use Qt 5.6.3 because it is supported by GCC > 4.8

Why stay with this old-gcc-version toolchain?
- This toolchain is the one recommended in raspberry/tools github:
https://github.com/raspberrypi/tools/blob/master/arm-bcm2708/arm-linux-gnueabihf
<https://github.com/raspberrypi/tools/blob/master/arm-bcm2708/arm-linux-gnueabihf>

If there is a new version, I didn't know it. I could use, for example, these
toolchains? https://github.com/abhiTronix/raspberry-pi-cross-compilers
<https://github.com/abhiTronix/raspberry-pi-cross-compilers>
Use an up-to-date buildroot generated one (downside is an increased build duration) ;-)
quoted
quoted
ISSUE:

When trying to build the image, I got building failed. Some of the errors
are:

Running configuration tests (phase 1)...
/home/ibercomp/rcr/projects/cp4/buildroot/output/host/bin/arm-linux-gnueabihf-g++
-c -fvisibility=hidden fvisibility.c
Symbol visibility control enabled.
collect2: fatal error: cannot find 'ld'
compilation terminated
...
Makefile:192: recipe for target 'db2.o' failed
...
Makefile:192: recipe for target 'ibase.o' failed
...
Makefile:195: recipe for target 'icu.o' failed
make[2]: *** [icu.o] Error 1
ICU disabled.
The ICU library support cannot be enabled.


Find attached my defconfig: cp4_defconfig.cp4_defconfig
<http://buildroot-busybox.2317881.n4.nabble.com/file/t2824/cp4_defconfig.cp4_defconfig>

Important information missing, which buildroot version do you use?
I am using buildroot-2019.02.09

I will build the image again to provide the complete failure output....but
If there is any solution where I could keep using QT 5.11.3 version with a
GCC > 5 I prefer it.
Thanks for the info, will try to reproduce your failure (did try it with
buildroot-2019.11.1 but qt5webengine-5.6.3 compile failed because of
incompatibility with some of the version bumped dependent libs e.g.
ffmpeg, libjpeg, ...).
Your given failure maybe irrelevant or your are missing the real failure later on
(or it is a problem with your build host/setup)...

The only failure I get with your defconfig is while compiling
build/qt5webengine-5.6.3/src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc,
which can be fixed by the suggested buildroot-2019.02.9 patch (see [1]).

With this patch applied qt5webengine-5.6.3 builds fine here...

Regards,
Peter

[1] https://patchwork.ozlabs.org/patch/1230245
Regards,
Peter
quoted
Kind Regards,

Rafa

--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help