* [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain > linaro-7.3-2018.05 !?
[not found] <mailman.2252.1612552067.250548.buildroot@busybox.net>
@ 2021-02-06 11:11 ` Andreas Ziegler
[not found] ` <CAGshWo1TDiuuYmRWOF-=jbxdMkbDeuK6Ukp3fnzvx6PKtbad5A@mail.gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Ziegler @ 2021-02-06 11:11 UTC (permalink / raw)
To: buildroot
> Date: Fri, 5 Feb 2021 20:07:34 +0100
> Subject: [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain
> linaro-7.3-2018.05 !?
> Message-ID:
> <CAGshWo2d2hWBWQ-02Eb89YpdnR7Ck6cezX=+grKu91sRf1ObQw@mail.gmail.com>
Hi Emmanuel,
> I build buildroot 2018.11.4 with external toolchain linaro-7.3-2018.05.
> I could not activate the QT5WEBENGINE because I have
> BR2_HOST_GCC_AT_LEAST_4_8 [=n]
HOST_GCC is your host compiler, the Linaro toolchain the cross compiler.
HOST_GCC refers to the toolchain on your build machine. Since it is
improbable your host computer has a compiler with version < 5 installed,
something must be wrong in your configuration or the way you start the
Buildroot make. Do you have environment variables set related to
compiler or cross compiling? The host path should not contain the target
toolchain,@least not in first place ...
Buildroot parses the output of 'gcc --version' to eventually set the
BR2_HOST_GCC_AT_LEAST variables, so maybe start looking there.
Kind regards,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain > linaro-7.3-2018.05 !?
[not found] ` <CAGshWo1TDiuuYmRWOF-=jbxdMkbDeuK6Ukp3fnzvx6PKtbad5A@mail.gmail.com>
@ 2021-02-09 17:05 ` Andreas Ziegler
2021-02-09 17:38 ` manu f
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Ziegler @ 2021-02-09 17:05 UTC (permalink / raw)
To: buildroot
Hi Emmanuel,
... please keep the mailing list on CC.
On 2021-02-09 15:42, manu f wrote:
> I think the problem come from the fact my gcc host is version 9 and
> there are no rule in buildroot 2018.11.x version I compile for this
> version (gcc 9 was not existing)
> Could you confirm this ?
You already found it by yourself: the 2018 version stops at gcc-8; gcc-9
was added in Feb 2020. [1]
I can think of three options:
(1) Patch your current Buildroot installation (no support)
(2) Upgrade to Buildroot 2020.02 (may break your target firmware)
(3) Install gcc 8.x on your host machine
Any specific reason for the 2018.11 version?
Kind regards,
Andreas
[1] https://github.com/buildroot/buildroot/commit/1776190fb19f
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain > linaro-7.3-2018.05 !?
2021-02-09 17:05 ` Andreas Ziegler
@ 2021-02-09 17:38 ` manu f
2021-02-09 18:38 ` Andreas Ziegler
0 siblings, 1 reply; 6+ messages in thread
From: manu f @ 2021-02-09 17:38 UTC (permalink / raw)
To: buildroot
Sorry Andreas ..
Reason is the initial project was with this version.
Regards
Le mar. 9 f?vr. 2021 ? 18:05, Andreas Ziegler <br015@umbiko.net> a ?crit :
> Hi Emmanuel,
>
> ... please keep the mailing list on CC.
>
> On 2021-02-09 15:42, manu f wrote:
>
> > I think the problem come from the fact my gcc host is version 9 and
> > there are no rule in buildroot 2018.11.x version I compile for this
> > version (gcc 9 was not existing)
> > Could you confirm this ?
>
> You already found it by yourself: the 2018 version stops at gcc-8; gcc-9
> was added in Feb 2020. [1]
>
> I can think of three options:
>
> (1) Patch your current Buildroot installation (no support)
> (2) Upgrade to Buildroot 2020.02 (may break your target firmware)
> (3) Install gcc 8.x on your host machine
>
> Any specific reason for the 2018.11 version?
>
> Kind regards,
> Andreas
>
> [1] https://github.com/buildroot/buildroot/commit/1776190fb19f
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210209/fe282303/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain > linaro-7.3-2018.05 !?
2021-02-09 17:38 ` manu f
@ 2021-02-09 18:38 ` Andreas Ziegler
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Ziegler @ 2021-02-09 18:38 UTC (permalink / raw)
To: buildroot
Hi Emmanuel
On 2021-02-09 17:38, manu f wrote:
> Sorry Andreas ..
No problem.
> Reason is the initial project was with this version.
You could try a quick port. Export /import your defconfig into a more
recent Buildroot version. If this builds with less problems, stick with
the new version, otherwise recreate the original build environment,
starting with the Linux distribution.
Kind regards,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain linaro-7.3-2018.05 !?
2021-02-05 19:07 [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain " manu f
@ 2021-02-06 20:01 ` manu f
0 siblings, 0 replies; 6+ messages in thread
From: manu f @ 2021-02-06 20:01 UTC (permalink / raw)
To: buildroot
OK, I think I understand what's happened... my linux computer is an ubuntu
20.04 with host gcc 9.
but in the version 2018.11.4, there are no case in ../buildroot/config.in
for version 9, so the gcc host identification is broken.
Could somebody confirm ?
Le ven. 5 f?vr. 2021 ? 20:07, manu f <e.fiancette@gmail.com> a ?crit :
> Hello all,
>
> I am the wink link! :-/
> I build buildroot 2018.11.4 with external toolchain linaro-7.3-2018.05.
> I could not activate the QT5WEBENGINE because I have
> BR2_HOST_GCC_AT_LEAST_4_8 [=n]
> I check in /output/host/opt/ext-toolchain/bin$ :
>
> user at LinuxDev:~/lmn6_kernel/lmn6_system/output/host/opt/ext-toolchain/bin$
> ls
> arm-linux-gnueabihf-addr2line arm-linux-gnueabihf-g++
> arm-linux-gnueabihf-gcov-tool arm-linux-gnueabihf-objcopy
> arm-linux-gnueabihf-ar arm-linux-gnueabihf-gcc
> arm-linux-gnueabihf-gdb arm-linux-gnueabihf-objdump
> arm-linux-gnueabihf-as arm-linux-gnueabihf-gcc-7.3.1
> arm-linux-gnueabihf-gfortran arm-linux-gnueabihf-ranlib
> arm-linux-gnueabihf-c++ arm-linux-gnueabihf-gcc-ar
> arm-linux-gnueabihf-gprof arm-linux-gnueabihf-readelf
> arm-linux-gnueabihf-c++filt arm-linux-gnueabihf-gcc-nm
> arm-linux-gnueabihf-ld arm-linux-gnueabihf-size
> arm-linux-gnueabihf-cpp arm-linux-gnueabihf-gcc-ranlib
> arm-linux-gnueabihf-ld.bfd arm-linux-gnueabihf-strings
> arm-linux-gnueabihf-dwp arm-linux-gnueabihf-gcov
> arm-linux-gnueabihf-ld.gold arm-linux-gnueabihf-strip
> arm-linux-gnueabihf-elfedit arm-linux-gnueabihf-gcov-dump
> arm-linux-gnueabihf-nm
> user at LinuxDev:~/lmn6_kernel_mod/lmn6_system/output/host/opt/ext-toolchain/bin$
> ./arm-linux-gnueabihf-gcc -v
> Using built-in specs.
> COLLECT_GCC=./arm-linux-gnueabihf-gcc
>
> COLLECT_LTO_WRAPPER=/home/user/lmn6_kernel_mod/lmn6_system/output/host/opt/ext-toolchain/bin/../libexec/gcc/arm-linux-gnueabihf/7.3.1/lto-wrapper
> Target: arm-linux-gnueabihf
> Configured with:
> '/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/snapshots/gcc.git~linaro-7.3-2018.05/configure'
> SHELL=/bin/bash
> --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
> --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
> --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
> --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto
> --enable-shared --without-included-gettext --enable-nls --with-system-zlib
> --disable-sjlj-exceptions --enable-gnu-unique-object
> --enable-linker-build-id --disable-libstdcxx-pch --enable-c99
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long
> --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib
> --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb
> --with-tune=cortex-a9 --with-arch=armv7-a --enable-threads=posix
> --enable-multiarch --enable-libstdcxx-time=yes
> --enable-gnu-indirect-function
> --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf
> --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc
> --enable-checking=release --disable-bootstrap
> --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu
> --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf
> --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
> Thread model: posix
> gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision
> d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)
>
> So what's wrong?
>
> Thanks for help.
>
> Emmanuel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210206/0ea134be/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain linaro-7.3-2018.05 !?
@ 2021-02-05 19:07 manu f
2021-02-06 20:01 ` manu f
0 siblings, 1 reply; 6+ messages in thread
From: manu f @ 2021-02-05 19:07 UTC (permalink / raw)
To: buildroot
Hello all,
I am the wink link! :-/
I build buildroot 2018.11.4 with external toolchain linaro-7.3-2018.05.
I could not activate the QT5WEBENGINE because I have
BR2_HOST_GCC_AT_LEAST_4_8 [=n]
I check in /output/host/opt/ext-toolchain/bin$ :
user at LinuxDev:~/lmn6_kernel/lmn6_system/output/host/opt/ext-toolchain/bin$
ls
arm-linux-gnueabihf-addr2line arm-linux-gnueabihf-g++
arm-linux-gnueabihf-gcov-tool arm-linux-gnueabihf-objcopy
arm-linux-gnueabihf-ar arm-linux-gnueabihf-gcc
arm-linux-gnueabihf-gdb arm-linux-gnueabihf-objdump
arm-linux-gnueabihf-as arm-linux-gnueabihf-gcc-7.3.1
arm-linux-gnueabihf-gfortran arm-linux-gnueabihf-ranlib
arm-linux-gnueabihf-c++ arm-linux-gnueabihf-gcc-ar
arm-linux-gnueabihf-gprof arm-linux-gnueabihf-readelf
arm-linux-gnueabihf-c++filt arm-linux-gnueabihf-gcc-nm
arm-linux-gnueabihf-ld arm-linux-gnueabihf-size
arm-linux-gnueabihf-cpp arm-linux-gnueabihf-gcc-ranlib
arm-linux-gnueabihf-ld.bfd arm-linux-gnueabihf-strings
arm-linux-gnueabihf-dwp arm-linux-gnueabihf-gcov
arm-linux-gnueabihf-ld.gold arm-linux-gnueabihf-strip
arm-linux-gnueabihf-elfedit arm-linux-gnueabihf-gcov-dump
arm-linux-gnueabihf-nm
user at LinuxDev:~/lmn6_kernel_mod/lmn6_system/output/host/opt/ext-toolchain/bin$
./arm-linux-gnueabihf-gcc -v
Using built-in specs.
COLLECT_GCC=./arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/home/user/lmn6_kernel_mod/lmn6_system/output/host/opt/ext-toolchain/bin/../libexec/gcc/arm-linux-gnueabihf/7.3.1/lto-wrapper
Target: arm-linux-gnueabihf
Configured with:
'/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/snapshots/gcc.git~linaro-7.3-2018.05/configure'
SHELL=/bin/bash
--with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
--with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
--with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
--with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto
--enable-shared --without-included-gettext --enable-nls --with-system-zlib
--disable-sjlj-exceptions --enable-gnu-unique-object
--enable-linker-build-id --disable-libstdcxx-pch --enable-c99
--enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long
--with-cloog=no --with-ppl=no --with-isl=no --disable-multilib
--with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb
--with-tune=cortex-a9 --with-arch=armv7-a --enable-threads=posix
--enable-multiarch --enable-libstdcxx-time=yes
--enable-gnu-indirect-function
--with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf
--with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc
--enable-checking=release --disable-bootstrap
--enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf
--prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision
d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)
So what's wrong?
Thanks for help.
Emmanuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210205/47496e5b/attachment-0002.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-02-09 18:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.2252.1612552067.250548.buildroot@busybox.net>
2021-02-06 11:11 ` [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain > linaro-7.3-2018.05 !? Andreas Ziegler
[not found] ` <CAGshWo1TDiuuYmRWOF-=jbxdMkbDeuK6Ukp3fnzvx6PKtbad5A@mail.gmail.com>
2021-02-09 17:05 ` Andreas Ziegler
2021-02-09 17:38 ` manu f
2021-02-09 18:38 ` Andreas Ziegler
2021-02-05 19:07 [Buildroot] BR2_HOST_GCC_AT_LEAST_4_8 not set but toolchain " manu f
2021-02-06 20:01 ` manu f
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.