[Buildroot] AVR32 toolchain build failure
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Aug 9 20:29:06 UTC 2013
Dear Thomas De Schampheleire,
On Fri, 9 Aug 2013 13:12:51 +0200, Thomas De Schampheleire wrote:
> I can now also confirm that setting HOSTCC and HOSTCXX explicitly to
> gcc-4.6 and g++-4.8, is the key to getting C++ support to build for
> AVR32.
>
> One approach to guard against such problems is to check this in
> dependencies.sh/mk: if AVR32 is selected with C++ toolchain support,
> and the host gcc is newer than 4.6 (or maybe newer-or-equal-than
> 4.7.0; not sure where the problem was introduced), then we bail out
> and ask the user to either disable C++ support, set their host
> compiler to an older version, or select another architecture (kidding
> about that last one, of course).
That's the only reasonable solution I believe.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list