From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Seiderer Date: Tue, 28 Jan 2020 10:43:26 +0100 Subject: [Buildroot] QtWebEngine on RPI 0 W In-Reply-To: <20200128085828.5959e493@gmx.net> References: <1579861270269-0.post@n4.nabble.com> <20200125172550.45366ce5@gmx.net> <1580197267384-0.post@n4.nabble.com> <20200128085828.5959e493@gmx.net> Message-ID: <20200128104326.030b51d9@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Rafa, On Tue, 28 Jan 2020 08:58:28 +0100, Peter Seiderer wrote: > Hello Rafa, > > On Tue, 28 Jan 2020 01:41:07 -0600 (CST), rscr wrote: > > > > 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 > > > > > > 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 > > > > > > Use an up-to-date buildroot generated one (downside is an increased build duration) ;-) > > > > > > > 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 > > > > > > > > >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 > > > > > 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