From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 9 Aug 2013 22:29:06 +0200 Subject: [Buildroot] AVR32 toolchain build failure In-Reply-To: References: <20130807172033.564940d1@skate> <20130808000726.66ab7194@skate> Message-ID: <20130809222906.16bb49ce@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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