From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 1 Jul 2014 20:22:06 +0200 Subject: [Buildroot] Sparc Leon support in Buildroot Message-ID: <20140701202206.153b2cf6@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Konrad, Back in 2010, you contributed a number of patches to Buildroot to support the Sparc Leon processors. It turns out that today, those processors are the only one still needing gcc 4.4.x: prompt "GCC compiler Version" default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8 default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32 default BR2_GCC_VERSION_4_7_X if BR2_sparc default BR2_GCC_VERSION_4_8_ARC if BR2_arc default BR2_GCC_VERSION_4_9_X if BR2_microblaze || BR2_powerpc64le default BR2_GCC_VERSION_4_5_X if BR2_bfin default BR2_GCC_VERSION_4_8_X Do you know if there's any reason to still keep gcc 4.4 for those processors? Wasn't the support for Sparc Leon merged in upstream gcc? >From https://sourceware.org/ml/crossgcc/2011-12/msg00004.html, I see that some patches were still needed for gcc 4.6, but according to https://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html, Sparc Leon processors seem to be supported. According to https://gcc.gnu.org/gcc-4.6/changes.html, the Sparc Leon supported was merged in gcc 4.6: "GCC now supports the LEON series of SPARC V8 processors. The code generated by the compiler can either be tuned to it by means of the --with-tune=leon configure option and -mtune=leon compilation option, or the compiler can be built for the sparc-leon-{elf,linux} and sparc-leon3-{elf,linux} targets directly.". Could you update us on the Sparc Leon support, and maybe submit some patches to Buildroot to make the relevant changes? Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com