Good day,
EDIT: I most likely applied the patch wrong. I will test a build and delete this post if that is the case.
EDIT2: Ok I still have the same problem as discribed below.
Currently, I am running tests on QT, but I have problems building the qt5webengine package in buildroot_B2019.08, while running on the F&S Development VM.
I have added the toolchain fix referenced here: Build error of package QtWebEngine with new release fsimx6-B2019.08
On the first try for make I got the following error:
QuoteYour Buildroot configuration needs a compiler capable of building 32 bits binaries.
If you're running a Debian/Ubuntu distribution, install the gcc-multilib package.
For other distributions, refer to their documentation.
make[1]: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
make: *** [Makefile:84: _all]
I fixed this problem by installing the following packages: glibc-devel.i686 and libstdc++-devel.i686. Please tell me if these were a wrong options, since I am not quite sure those are correct for a PicoModA9.
After installing these packages the build can start like expected, but I get the following error when the build reaches qt5webengine:
QuoteDisplay More>>> qt5webengine 5.12.2 Building
PATH="/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin:/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/sbin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/usr/local/arm/fs-toolchain-8.3-armv7ahf/bin:/home/developer/.local/bin:/home/developer/bin:/usr/local/arm/fs-toolchain-8.3-armv7ahf/bin" PATH=/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/host-bin:"/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin:/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/sbin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/usr/local/arm/fs-toolchain-8.3-armv7ahf/bin:/home/developer/.local/bin:/home/developer/bin:/usr/local/arm/fs-toolchain-8.3-armv7ahf/bin" NINJAFLAGS="-j5" GN_PKG_CONFIG_HOST=/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/host-bin/host-pkg-config /usr/bin/make -j5 -C /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2
cd src/ && ( test -e Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/src.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile
cd buildtools/ && ( test -e Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/buildtools/buildtools.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile
cd webengine/ui/ && ( test -e Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/webengine/ui/ui.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile
cd webengine/ui2/ && ( test -e Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/webengine/ui2/ui2.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile
/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -install qinstall qmldir ../../../qml/QtWebEngine/Controls2Delegates/qmldir
( test -e Makefile.configure_host /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile.configure_host /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/buildtools/configure_host.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile.configure_host
( test -e Makefile.ninja /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile.ninja /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/buildtools/ninja.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile.ninja
/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -install qinstall qmldir ../../../qml/QtWebEngine/Controls1Delegates/qmldir
bootstrapping ninja...
make[5]: Nothing to be done for 'first'.
( test -e Makefile.configure_target /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile.configure_target /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/buildtools/configure_target.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile.configure_target
make[5]: Nothing to be done for 'first'.
warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build.
wrote build.ninja.
bootstrap complete. rebuilding...
[26/26] LINK ninja
make[5]: Nothing to be done for 'first'.
( test -e Makefile.gn /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/host/bin/qmake -o Makefile.gn /home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/src/buildtools/gn.pro WEBENGINE_CONFIG+=use_system_ffmpeg ) && /usr/bin/make -f Makefile.gn
[172/172] LINK gn
FAILED: gn
c++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -static-libstdc++ -Wl,--as-needed -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl -lpthread
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Project ERROR: GN build error!
Makefile:98: recipe for target 'sub-gn-pro-make_first' failed
make[4]: *** [sub-gn-pro-make_first] Error 3
Makefile:54: recipe for target 'sub-buildtools-make_first' failed
make[3]: *** [sub-buildtools-make_first] Error 2
Makefile:48: recipe for target 'sub-src-make_first' failed
make[2]: *** [sub-src-make_first] Error 2
package/pkg-generic.mk:238: recipe for target '/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/.stamp_built' failed
make[1]: *** [/home/developer/fsimx6-B2019.08/build/buildroot-2019.05.1-fsimx6-B2019.08/output/build/qt5webengine-5.12.2/.stamp_built] Error 2
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
[developer@localhost buildroot-2019.05.1-fsimx6-B2019.08]$
I would be glad, if you could show me in the right direction to fix this problem.
Best regards