Build error of package QtWebEngine with new release fsimx6-B2019.08

  • Hello,


    the QtWebEngine package in the provided release does not compile.

    Please see the following output of the build:


    This seems to be a bug in the gcc and seems to be fixed with gcc >= 8 which is mentioned here:

    https://patchwork.ozlabs.org/patch/1138934/ and https://gist.github.com/ericfo…6bfe441466bf04d4575c4e750


    Can you please provide a toolchain with the required gcc version? Or is there a description available how i can compile a newer toolchain on my own?


    Best regards

    Maik Dilger

  • We are currently testing a new toolchain based on GCC-8.3. The above error is gone, but we are running into a new problem right now. When this can be solved, we will make the new toolchain available for everyone.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • We have uploaded a new toolchain to our server (Linux-Tools/toolchain/fs-toolchain-8.3-armv7ahf.tar.bz2). Unpack the tar archive in /usr/local/arm

    Code
    1. sudo tar xvf fs-toolchain-8.3-armv7ahf.tar.bz2

    Then change your PATH variable accordingly. Usually you have to change .bashrc or a similar file to make this permanent. When changing the toolchain, you should also remove the compiler cache:

    Code
    1. rm -rf ~/.ccache ~/.buildroot-ccache

    Finally in Buildroot, call make menuconfig and go to "Toolchain" -> "Toolchain path". Replace the 7.4 in the string with 8.3. Then change entry "External toolchain gcc version" from "7.x" to "8.x".


    The new toolchain does not solve all problems. There are two modifications required, one for package qt5base and one for package qt5webengine. The attached patch will handle this. In the top Buildroot directory, apply the patch with

    Code
    1. patch -p1 < 0001-Fix-Qt5-webengine-build.patch

    Please note the less-than sign "<" for input redirection. Now rebuild Buildroot from scratch, i.e. call

    Code
    1. make clean
    2. make

    Qt5 webengine should compile now without error.


    Your F&S Support Team

    Files

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.