[Buildroot] [PATCH 3/9] toolchain-external: add support for gcc version dependency

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Aug 12 08:30:16 UTC 2015


Dear Carlos Santos,

On Tue, 11 Aug 2015 09:19:43 -0300 (BRT), Carlos Santos wrote:

> The problem goes away if I add BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y to my
> custom defconfig. It was missing in the original file but the absence
> was harmless.
> 
> Anyone using an external toolchain will face the same problem, so I
> think it's important to emphasize the consequences of the change in
> the release notes.

There is no need for that, the error message tells you that the
selection of the gcc version is incorrect. It is exactly the same sort
of checks that is used to validate the selected C library, etc.

The mechanism to specify the gcc version has been added very recently,
so that's why you're seeing the problem now.

If you hand-edit your defconfig, you're supposed to know what you're
doing. Otherwise, 'make menuconfig' will show an option to select the
gcc version used in your external toolchain.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list