aboutsummaryrefslogtreecommitdiff
path: root/package/gcc/Config.in.host
Commit message (Collapse)AuthorAgeFilesLines
* gcc: bump 4.8.x series to version 4.8.4Gravatar Gustavo Zacarias2014-12-191-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: set e5500 and e6500 version maskGravatar Gustavo Zacarias2014-12-071-2/+4
| | | | | | | | Freescale e5500 and e6500 cores are supported for versions >= 4.8 So filter out all of the older versions to avoid build failures. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gcc/mpfr: remove deprecated featuresGravatar Gustavo Zacarias2014-12-011-19/+0
| | | | | | | | Remove the fortran and objective C language support since these have been deprecated since more than a year ago. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: use correct symbol for powerpc version maskGravatar Gustavo Zacarias2014-11-181-3/+3
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: remove version 4.4.xGravatar Andreas Larsson2014-10-301-24/+0
| | | | | | | | | | That gcc series is old and is not used as the default version for any of the architectures we support, so this commit gets rid of it. [Thomas: move the Config.in.legacy option at the right location.] Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arch: sparc: Add leon3 cpu type and remove sparc{s,h}fleon{,v8}Gravatar Andreas Larsson2014-10-301-13/+6
| | | | | | | | | | | There is support for -mcpu=leon3 from gcc 4.8.3. Use this for LEON systems instead of the non-mainline targets sparcsfleon, sparchfleon, sparcsfleonv8, and sparchfleonv8. [Thomas: add Config.in.legacy handling for the removed options.] Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc: bump 4.9.x series to version 4.9.2Gravatar Gustavo Zacarias2014-10-301-1/+1
| | | | | | | Drop PR60102 patch which is now upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc: remove gcc snapshot optionGravatar Peter Korsgaard2014-10-121-23/+0
| | | | | | | | As discussed during the dev days. It is broken for uClibc/musl and architectures not using mainline gcc, so it has only very limited usefulness. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gcc: cleanup arch/cpu combinationsGravatar Gustavo Zacarias2014-09-231-17/+67
| | | | | | | | | | | | | | | Cleanup arch/cpu combination limits, we had super-wide depends and it doesn't help readability, version bumps or testing. Make the bool/depends/select order the same for all entries. Drop redundant limitations, for example sparc* if sparc wasn't supported in general. Power8 requires at least gcc 4.9. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu-sparc: use default gccGravatar Waldemar Brodkorb2014-09-211-4/+3
| | | | | | | | | With the kernel patch from: http://patchwork.ozlabs.org/patch/384285/ There is no problem with latest gcc anymore. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ARC: bump tools to 2014.08 releaseGravatar Alexey Brodkin2014-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Now when new shiny tools are released by Synopsys we're ready for version update in Buildroot. Important change in this release is switching to combined "binutils-gdb" repo in accordance to upstream move. Following patch now is a part of the most recent relese: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/e6ab8cac627a44a7594aeb907a579d8d2f066ba5 So dropping it. package/binutils/arc-4.8-R3/0001-arc-Honor-DESTDIR-in-custom-Makefile.patch Since arc-2014.08 tools are still based on GCC 4.8 following patch is still relevant so moving to the new folder to matxh ARC gcc bump. package/gcc/arc-4.8-R3/100-libstdcxx-uclibc-c99.patch -> package/gcc/arc-2014.08/100-libstdcxx-uclibc-c99.patch Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc 4.9.1: add patch for PR60102Gravatar Gustavo Zacarias2014-08-061-1/+0
| | | | | | | | | | Fixes ICE for SPE ABI, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102 And re-enable gcc 4.9.1 for SPE. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc 4.9.x: Exclude for PPC SPE because of PR60102Gravatar Gustavo Zacarias2014-07-181-0/+2
| | | | | | | | | | Exclude gcc 4.9.x for PowerPC SPE toolchains because of an ICE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102 There's a patch available but it's somewhat intrusive with PPC in general and hasn't been well tested yet. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc: bump 4.9.x series to version 4.9.1Gravatar Gustavo Zacarias2014-07-171-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc: remove versions 4.3.x and 4.6.xGravatar Thomas Petazzoni2014-07-101-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | Those gcc series are old and are not used as the default versions for any of the architectures we support, so this commit gets rid of them. The gcc 4.3.x series technically remains used by the LPC32xx defconfigs we have: configs/ea3250_defconfig:BR2_GCC_VERSION_4_3_X=y configs/fdi3250_defconfig:BR2_GCC_VERSION_4_3_X=y configs/phy3250_defconfig:BR2_GCC_VERSION_4_3_X=y Back when those defconfigs were introduced, gcc 4.3 was chosen because it was the only one capable of building a fully working kernel for those ARM-based platforms. However, the original submitter, Alexandre Belloni, no longer has access to the hardware platforms, so he is unable to test if newer gcc versions have fixed the problem. It certainly doesn't make sense to keep gcc 4.3.x just for those three boards, so we'll wait for someone actually using those defconfigs to complain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: drop redundant explicit version handling for aarch64Gravatar Peter Korsgaard2014-06-131-1/+0
| | | | | | Not needed anymore now that we default to gcc 4.8.x Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc 4.8.x does not compile a working kernel for sparcGravatar Waldemar Brodkorb2014-06-131-3/+4
| | | | | | | | | | | | | | | Since the switch to 4.8.x as default, the qemu-sparc target is broken. For a gcc bug report see here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60624 Switch back to gcc 4.7.x as default for sparc. Disable 4.8/4.9 as suggested by Thomas Petazzoni. I even disabled gcc snapshot, it works right now, because it is an old 4.8.0 snapshot by default, but as soon as this is updated sparc build will break. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: bump 4.7.x series to version 4.7.4Gravatar Gustavo Zacarias2014-06-131-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: add a BR2_GCC_ENABLE_GRAPHITE optionGravatar Steve Thomas2014-06-091-0/+13
| | | | | | | | | | | | | The gcc graphite optimisations such as loop-interchange, blocking and loop-flattening, also known as graphite are an optional feature of gcc that is very well supported since about gcc version 4.5. This patch adds support for graphite for the toolchain as an optional flag for versions 4.8 onwards as an optional flag, that is disabled by default. Signed-off-by: Steve Thomas <scjthm@live.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gcc: switch to gcc 4.8.x as the default compiler versionGravatar Thomas Petazzoni2014-06-011-1/+1
| | | | | | | | | | | | gcc 4.7.x is going to be retired soon, and now that gcc 4.9.0 is out, it's time for Buildroot to switch to gcc 4.8.x as the default gcc compiler version. See https://gcc.gnu.org/ml/gcc/2014-05/msg00324.html for details about gcc 4.7.x life cycle. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* powerpc: add powerpc64 and powerpc64le supportGravatar Cody P Schafer2014-05-261-6/+6
| | | | | | | | | | This enables powerpc64 and powerpc64le. Currently, le needs at least glibc 2.19 and gcc 4.9.0. For gdb, 7.7.1 works (added in an earlier patch). [Peter: also disallow gcc 4.8 for ppc64le] Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Add support for powerpc64leGravatar Jeff Bailey2014-05-251-1/+1
| | | | | | | | | | | This patch adds support for powerpc64le-linux-gnu. This includes needed patches to fakeroot and gmp. gmp patch is from upstream HG tree. fakeroot patch is from Ubuntu written by Adam Conrad. Signed-off-by: Jeff Bailey <jeffbailey@google.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: bump 4.8.x series to version 4.8.3Gravatar Gustavo Zacarias2014-05-221-1/+1
| | | | | | | | | | | | | Update 900-musl-support.patch with upstreamed chunks. Now upstreamed hence dropped: 840-PR57717.patch (in another way). 842-gcc-4.8.2-Fix-PR-target-58854.patch 843-gcc-4.8.2-Fix-PR-target-58595.patch 850-xtensa-libgcc-linker-script.patch Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain/gcc: musl is not available for gcc 4.3.x eitherGravatar Gustavo Zacarias2014-05-061-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: musl patches only available for gcc 4.7+Gravatar Thomas Petazzoni2014-05-051-0/+8
| | | | | | | | | | For the moment, the musl support is not in mainline gcc, so it requires a few patches. We have integrated those patches only for gcc 4.7 and gcc 4.8 at the moment, so only allow those gcc versions when the musl library is selected. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arch: add support for "corei7" Intel CPU optimisationsGravatar Bernd Kuhls2014-05-031-3/+3
| | | | | | | | gcc support was added in version 4.6: http://gcc.gnu.org/gcc-4.6/changes.html Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: switch microblaze to version 4.9.xGravatar Gustavo Zacarias2014-05-011-2/+2
| | | | | | | | | Switch to gcc 4.9.x for microblaze since it's a better target than 4.8.x, and also add a build patch that fixes (e)glibc build issues. Hence disable 4.8.x for microblaze. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: arc: bump to arc-4.8-R3 releaseGravatar Anton Kolesov2014-04-291-1/+1
| | | | | | | | | | | | | | This patch fixes several internal compiler errors including: http://autobuild.buildroot.net/results/2858bb1ca1d12955c837da5a8b7d69c587a75646/ http://autobuild.buildroot.net/results/85deef67654019a630d6cbc37f3dbbbc071aad38/ Support for the GCC built-in atomic functions is also added and is enabled with option -matomic. Atomic built-ins require LLOCK/SCOND instructions to be enabled in the ARC 700 CPU. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* use default gcc 4.8.2 for microblazeGravatar Waldemar Brodkorb2014-04-281-9/+3
| | | | | | | | | | Upstream gcc 4.8.2 works fine for microblaze, no need for Xilinx Git. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: enable for aarch64Gravatar Gustavo Zacarias2014-04-241-5/+6
| | | | | | | Only version 4.8+ supports it so keep it narrowed down. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arm: update processor typesGravatar Gustavo Zacarias2014-04-241-6/+6
| | | | | | | | Update the arm processor types: add the cortex A12 variant supported by gcc 4.9.x Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain: add gcc 4.9 seriesGravatar Gustavo Zacarias2014-04-241-0/+7
| | | | | | | | | | Add the recently released gcc 4.9.0. Use 4.8.2 patches and remove those that no longer apply/are needed (mostly PR fixes and xtensa). libmudflap was removed upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: arc: bump to git commit c6227bcGravatar Anton Kolesov2014-02-131-1/+1
| | | | | | | | | | | | This fixes two issues: one segmentation fault in GCC and one invalid code generation. Those fix numerous autobuild failures, including: http://autobuild.buildroot.net/results/715/7158a2a19da6bfa950125a951a39061ccaa73101/ http://autobuild.buildroot.net/results/9d4/9d4fbcb91cf76e01c833d70c401c0828ad37631a/ http://autobuild.buildroot.net/results/ef6/ef6a0e2d382ae202bb8f0e9fc9f5e48c90119faf/ http://autobuild.buildroot.net/results/276/27692619efee482cded56967017f260bd30eefe7/ Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arch: add support for "jaguar" AMD CPU optimisationsGravatar Adrien BĂ©raud2014-01-151-5/+5
| | | | | | | | | | | | | AMD Jaguar ( https://en.wikipedia.org/wiki/Jaguar_%28microarchitecture%29 ) is suddenly a popular architecture since it is used in the PS4 and the XBox One. Many embedded systems are also likely to use it in the next years. This patch adds support for GCC architecture-specific optimisations and tuning for these CPUs. These optimizations are available with GCC 4.8+. Signed-off-by: Adrien Beraud <adrien.beraud@savoirfairelinux.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* deprecated handling: introduce BR2_DEPRECATED_SINCE_xxxx_xxGravatar Thomas De Schampheleire2014-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | In order to keep better track of when a feature got deprecated, and hence when it can be removed, a new set of symbols BR2_DEPRECATED_SINCE_xxxx_xx is introduced. These symbols are automatically selected when BR2_DEPRECATED is selected, and thus are transparent to the user. A deprecated feature will no longer depend on BR2_DEPRECATED directly, but rather on the appropriate BR2_DEPRECATED_SINCE_xxxx_xx. If that symbol does not yet exist, it has to be created in Config.in. When removing a deprecated feature, one should also check whether this was the last feature using the BR2_DEPRECATED_SINCE_xxxx_xx symbol, in which case the latter can be removed from Config.in. A followup patch will make sure the overview is added to the list of deprecated features in the manual, so that a buildroot core developer can easily determine which features to remove in a given development cycle. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: add microblaze internal toolchainGravatar Spenser Gilliland2013-12-061-8/+15
| | | | | | Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: arc: Download from github instead of Synopsys websiteGravatar Mischa Jonker2013-12-061-1/+1
| | | | | | | | | The github release mechanism only supports .tar.gz, hence the ugly GCC_UNPACK variable. Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Remove redundant dollar signs in Config.in filesGravatar Thomas De Schampheleire2013-10-261-1/+1
| | | | | | | | | | | | | | | Some Config.in(.host) files have constructs like: config FOO_VERSION string default "1.0" if FOO_1_0 default "2.0" if FOO_2_0 default $FOO_CUSTOM_VERSION if FOO_CUSTOM The dollar sign here is not needed and confusing, so can be removed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: bump 4.8.x series to version 4.8.2Gravatar Gustavo Zacarias2013-10-221-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "toolchain-internal: skip gcc-intermediate when possible"Gravatar Thomas Petazzoni2013-10-041-11/+0
| | | | | | | | | | | | | While the idea of skipping the intermediate gcc step seems to work fine in most situations, it causes problems with the SSP support. Until we can figure out a proper solution for this problem, we need to revert back to the previous solution of a three stages build. This reverts commit 2babed4a50fcd050abc4686e05e24d0e374d10a8. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: deprecate objective C and fortran supportGravatar Peter Korsgaard2013-09-191-0/+2
| | | | | | | As discussed on the list. They have been broken for a long time, and are not commonly used in embedded systems. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: provide option to enable mudflap supportGravatar Thomas Petazzoni2013-09-151-0/+15
| | | | | | | | | | | | | | | | | | The mudflap library is only useful if one uses the -fmudflap gcc option to do more checks on pointers/arrays. This commit adds an option to enable/disable mudflap support at the gcc level. By default, it is disabled, which saves a little bit of build time compared to the default of gcc which consists in enabling mudflap support. Since mudflap is now disabled by default, and ensured to never be enabled on platforms where it is not available, some gcc.mk code that was used to disable mudflap in problematic configurations can be removed. Whether -fmudflap is used when building is left to the user. [Peter: tweak commit text, fix white space] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add support for glibcGravatar Thomas Petazzoni2013-09-151-1/+1
| | | | | | | | | | | | | The support for eglibc 2.17 was added to the internal toolchain backend for 2013.08. This commit now adds glibc 2.18 support to the internal toolchain backend. Since the building procedure is very similar to the one of eglibc, we have renamed the 'eglibc' package to 'glibc', and made it capable of handling either glibc or eglibc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: move C++ support option next to Fortran/Objective-CGravatar Thomas Petazzoni2013-09-151-0/+13
| | | | | | | | | | | | The option to enable C++ support was still located in toolchain/toolchain-buildroot/Config.in.2, with misc other toolchain options. It seems more logical to have this option with the other options to select the languages supported by the cross-compiler, so we move it next to the Fortran/Objective-C options in package/gcc/Config.in.host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: fix Objective-C supportGravatar Thomas Petazzoni2013-09-151-2/+4
| | | | | | | | | | | | | | | | | This commit fixes the Objective-C support in the gcc package by making sure that the runtime Objective-C library is properly installed to the target. It also takes this opportunity to slightly reword the Config.in option help text to have a more meaningful explanation. Finally, it fixes the gcc-final.mk code to use the correct BR2_INSTALL_OBJC option rather than the non-existing BR2_GCC_CROSS_OBJC option, to decide whether Objective-C support should be enabled or not in the cross-compiler. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: fix Fortran supportGravatar Thomas Petazzoni2013-09-151-4/+4
| | | | | | | | | | | | | | | | | | This commit fixes the Fortran support in the gcc package by making sure that the runtime Fortran library is properly installed to the target. It also takes this opportunity to slightly reword the Config.in option help text, to no longer mention gcc < 4.2 since they are no longer supported in Buildroot, and to have a more meaningful explanation. Finally, it fixes the gcc-final.mk code to use the correct BR2_INSTALL_FORTRAN option rather than the non-existing BR2_GCC_CROSS_FORTRAN option, to decide whether Fortran support should be enabled or not in the cross-compiler. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-internal: skip gcc-intermediate when possibleGravatar Thomas Petazzoni2013-09-151-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When NPTL support was introduced, gcc required a three stages build process. Since gcc 4.7, this is no longer necessary, and it is possible to get back to a two stages build process. This patch takes advantage of this, by doing a two stages build process when possible. We introduce a few hidden kconfig options: * BR2_GCC_VERSION_NEEDS_THREE_STAGE_BUILD, which is set by the gcc Config.in logic to indicate that the compiler might need a three stages build. Currently, all versions prior to 4.7.x are selecting this kconfig option. * BR2_TOOLCHAIN_LIBC_NEEDS_THREE_STAGE_BUILD, which indicates whether the C library might need a three stages build. This is the case for eglibc, and uClibc when NPTL is enabled. * BR2_TOOLCHAIN_NEEDS_THREE_STAGE_BUILD finally is enabled when both of the previous options are enabled. It indicates that a three stages build is actually needed. In addition to those options, the uClibc/gcc build logic is changed to use only a two stages build process when possible. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc/bfin: 4.{6,7,8}.x are brokenGravatar Gustavo Zacarias2013-07-271-3/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* arc: gcc: Go from 4.4.7 to 4.8 for ARCGravatar Mischa Jonker2013-07-191-6/+7
| | | | | | | | | | This fixes multiple issues, including: - 'operand out of range' errors (due to defaulting to medium calls instead of short calls) - library dependencies that were not being found Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: take into account ARM floating point capabilitiesGravatar Thomas Petazzoni2013-07-161-0/+7
| | | | | | | | | | | | The ARM EABIhf support was introduced in gcc 4.6.x, so versions earlier than this one should not be used when EABIhf is selected. The ARM VFPv4 support was introduced in gcc 4.5.x, so versions earlier than this one should not be used when VFPv4 is used. [Peter: drop OABI dependencies] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>