From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Larsson Date: Wed, 20 Aug 2014 13:01:33 +0200 Subject: [Buildroot] Sparc Leon support in Buildroot In-Reply-To: <20140701202206.153b2cf6@free-electrons.com> References: <20140701202206.153b2cf6@free-electrons.com> Message-ID: <53F4800D.2060307@gaisler.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 2014-07-01 20:22, Thomas Petazzoni wrote: > 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? Hi! I am looking into this and will submit some patches. Best regards, Andreas Larsson Software Engineer Aeroflex Gaisler AB Aeroflex Microelectronic Solutions ? HiRel Kungsgatan 12 SE-411 19 Gothenburg, Sweden Phone: +46 31 7758669 andreas at gaisler.com www.Aeroflex.com/Gaisler