aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/gcc: fix --with-isl pathSyrone Wong2017-05-301-2/+2
| | | | | | | | | | | This fixes GCC 7 compilation when GRAPHITE is selected. The path is replaced with $(TOOLCHAIN_DIR), while it should be $(STAGING_DIR_HOST). To keep in sync with the path of gmp, mpfr and mpc, I'm using $(TOPDIR)/staging_dir/host. Fixes: f62f4b3c5c9d ("build: stop overriding STAGING_DIR_HOST for toolchain build") Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* toolchain: add gcc 7.1.0 supportFelix Fietkau2017-05-251-1/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: stop overriding STAGING_DIR_HOST for toolchain buildFelix Fietkau2017-05-251-4/+4
| | | | | | | | | This causes various issues in other places that assume that host binaries are staged in STAGING_DIR_HOST. Since all the right places use HOST_BUILD_PREFIX, override that instead. This fixes some issues with quilt on toolchain dirs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/arc: update to the most recent release arc-2016.09Alexey Brodkin2017-05-021-5/+5
| | | | | | | | | | | | | | | | | | arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* toolchain/gcc: reduce source directory size by about 420 MBFelix Fietkau2017-02-011-0/+6
| | | | | | Remove gcc testsuite, ada and libjava (if not selected) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc: update 6.x to 6.3.0Syrone Wong2016-12-241-2/+2
| | | | | | | | This is a bugfix release Build and run tested on mvebu/Linksys WRT1900AC v1 Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* toolchain: remove ppl/cloog, disable graphite for gcc 4.8Felix Fietkau2016-12-241-5/+1
| | | | | | | | graphite is disabled by default and it's not worth carrying ppl and cloog for supporting this feature on the old gcc 4.8, which is only used for ARC Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-3/+3
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc: bump GCC 6.1.0 to 6.2.0Syrone Wong2016-09-041-2/+2
| | | | | | Compile and run tested on ar71xx and mvebu Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* gcc: optionally build gccgo compilerMatteo Croce2016-08-111-2/+10
| | | | | | Tested with eglibc on x86 and armv7 so far Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
* toolchain/gcc: disable libmpx to fix build errors on x86 with gcc 6.1Felix Fietkau2016-07-211-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc: add 6.1.0Syrone Wong2016-07-151-0/+4
| | | | | | | | | | | -fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.4. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
* toolchain/gcc: clean up remaining references to the old linaro versionFelix Fietkau2016-07-151-5/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* gcc: update gcc to version 5.4.0Hauke Mehrtens2016-07-131-2/+2
| | | | | | The removed patches are already integrated in upstream gcc. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain: skip gcc/minimal for muslFelix Fietkau2016-07-071-3/+23
| | | | | | | | No extra libc header build step is done, so no extra toolchain is needed for preparing it. This saves a significant amount of build time and disk space Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: Bump ARC tools to arc-2016.03Alexey Brodkin2016-05-191-4/+4
| | | | | | | | | | | | | | | | | This change switches ARC tools to the most recent arc-2016.03 version. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC * patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* branding: add LEDE brandingJohn Crispin2016-03-241-3/+3
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* gcc: update gcc 5 to version 5.3.0Felix Fietkau2016-02-291-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48826
* toolchain: add support of ARCv2 architectureJohn Crispin2016-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | This change adds support of ARC ISAv2 processors in OpenWRT toolchain. In general gcc for ARC may compile code for both ISA versions simultaneously but libgcc will be built only for default architecture that's why it's necessary to specify --with-cpu on gcc configuration. As for uClibc we need to use different configurations for different ARC ISAs. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48739
* gcc: drop version 4.8-linaroFelix Fietkau2016-01-201-22/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48395
* gcc: remove v4.6 relictsFelix Fietkau2015-12-231-10/+0
| | | | | | | | | Fixes: commit f17e56eff5b9 ("gcc: remove version 4.6, it is no longer needed") CC: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com> SVN-Revision: 47965
* gcc: make colors optional based on the GCC_COLORS env varFelix Fietkau2015-11-251-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47642
* gcc: set the isl/cloog prefix when graphite is enabled, disable it ↵Felix Fietkau2015-11-131-0/+10
| | | | | | | | explicitly if it is disabled in the config Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47465
* toolchain: add support of ARC architectureFelix Fietkau2015-11-101-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 47438
* gcc: use qstrip template to fix syntax highlightingFelix Fietkau2015-09-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47023
* gcc: remove 4.6.3 leftoversFelix Fietkau2015-09-061-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46799
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-061-8/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46798
* toolchain: gcc: add gcc 5.2.0Hauke Mehrtens2015-08-161-0/+3
| | | | | | | | This was boot tested on mipsel32, arm32 and x86 only. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46611
* toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03Imre Kaloz2015-06-111-4/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45944
* gcc: remove 4.4.7 (only used by avr32)Felix Fietkau2015-03-241-8/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44957
* gcc: update 4.9 to linaro 2014.10Felix Fietkau2014-10-201-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43003
* gcc: add 4.9-linaro based on the 2014.09 releaseFelix Fietkau2014-09-301-1/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42706
* toolchain/gcc: pass proper flags for arm hard float buildLuka Perkov2014-07-141-0/+7
| | | | | | | | | | | This fixes eglibc build failure. More information about the bug can be found on the link below. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61796 Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41657
* toolchain/gcc: fix build on arm with clang as host gcc replacementFelix Fietkau2014-05-151-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40772
* toolchain/gcc: update linaro-gcc-4.8 to 2014.04Felix Fietkau2014-05-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40664
* upgrade Linaro GCC 4.8 to 2014.01Imre Kaloz2014-02-061-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39501
* upgrade Linaro GCC 4.8 to 4.8-2013.12Imre Kaloz2014-01-071-2/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39209
* upgrade Linaro GCC 4.8 to 4.8-2013.11Imre Kaloz2013-11-261-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38922
* toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05Felix Fietkau2013-09-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37947
* toolchain/gcc: fix up breakage introduced in r37945Felix Fietkau2013-09-111-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37946
* upgrade Linaro gcc 4.8 to 4.8-2013.08Imre Kaloz2013-09-111-4/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37945
* gcc: remove version 4.7Felix Fietkau2013-05-231-9/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36694
* toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ ↵Felix Fietkau2013-05-091-1/+1
| | | | | | | | support mandatory - fixes recursive config symbol dependency issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36594
* toolchain/gcc: add support for 4.8-linaroFelix Fietkau2013-05-041-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36545
* toolchain: allow choosing the MIPS64 user-land ABIFlorian Fainelli2013-04-051-1/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36205
* remove the old (and nonworking) hack and identify our patched GCCs properlyImre Kaloz2013-04-031-0/+7
| | | | SVN-Revision: 36189
* toolchain/gcc: add support for GCC 4.8.0Florian Fainelli2013-04-021-0/+3
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36155
* toolchain/gcc: update 4.7-linaro to 2013.03Florian Fainelli2013-04-021-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36154
* drop 4.5 supportImre Kaloz2013-04-011-6/+0
| | | | SVN-Revision: 36149