aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: Bump ARC tools to arc-2016.03Alexey Brodkin2016-06-2020-5/+5
| | | | | | | | | | | | | | | | | 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>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: fix build with GCC 6Luka Perkov2016-06-191-0/+117
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update gcc 5 to version 5.3.0Felix Fietkau2016-02-2939-65/+30
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: backport a libgcc fix for a dependency on libc write() on ARMFelix Fietkau2016-01-251-0/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: drop version 4.8-linaroFelix Fietkau2016-01-2040-1610/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: make colors optional based on the GCC_COLORS env varFelix Fietkau2015-11-251-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix internal compiler error on MIPS with MIPS16 enabled (triggered by ↵Felix Fietkau2015-11-182-1/+24
| | | | | | | | libpcap) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: switch to 5.2.0 by defaultFelix Fietkau2015-11-172-5/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add a patch to 5.x that supports translation of __FILE__ pathsFelix Fietkau2015-11-171-0/+182
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add isl (used for graphite on GCC 5)Felix Fietkau2015-11-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.6, it is no longer neededFelix Fietkau2015-11-1026-1101/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: enable LTO support unconditionallyFelix Fietkau2015-11-101-5/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use version 5.x for octeon instead of 4.6 - it has been tested with glibcFelix Fietkau2015-11-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add support of ARC architectureFelix Fietkau2015-11-1021-11/+803
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch ↵Felix Fietkau2015-09-221-0/+13
| | | | | | | | (fixes #20501) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use qstrip template to fix syntax highlightingFelix Fietkau2015-09-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)Felix Fietkau2015-09-131-0/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update gcc 5.x musl patchesHauke Mehrtens2015-09-1115-200/+612
| | | | | | | | | | This replaces the musl patches for gcc with the versions which are in gcc trunk. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add missing powerpc patch for 5.2.0Felix Fietkau2015-09-071-0/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove 4.6.3 leftoversFelix Fietkau2015-09-062-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-0636-1304/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add ARM codegen fix from PR 65932Felix Fietkau2015-09-032-1/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: add gcc 5.2.0Hauke Mehrtens2015-08-1633-0/+1275
| | | | | | | | | This was boot tested on mipsel32, arm32 and x86 only. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix gcc 4.6 build with gcc5John Crispin2015-07-145-6/+27
| | | | | | | | | | | | | | | | build error: cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p' cfns.gperf:26:14: error: but not here observed on Arch Linux affected versions gcc 4.6, gcc 4.7 reported & fixed in DragonFlyBSD issue #136 https://github.com/DragonFlyBSD/DPorts/issues/136 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-122-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc/musl: rework SSP-supportSteven Barth2015-06-223-12/+15
| | | | | | | | | | | Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARMFelix Fietkau2015-06-211-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: musl comes with its own SSP, so use it instead of libsspSteven Barth2015-06-202-0/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hardening: enable regular SSP support by defaultSteven Barth2015-06-171-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03Imre Kaloz2015-06-1116-38/+34
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add some size optimization patchesFelix Fietkau2015-05-104-0/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove 4.4.7 (only used by avr32)Felix Fietkau2015-03-2417-23285/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix an ICE on ARM (PR58595)Nicolas Thill2015-02-111-0/+117
| | | | | | | | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595 Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: don't clobber stamp-bits with a symlink to itselfFelix Fietkau2014-12-123-0/+35
| | | | | | | | | | | | | | | | | Several versions of gcc have an issue in libstdc++v3 where the build may clobber stamp-bits with a link to itself. This doesn't manifest itself on all systems. On several Ubuntu systems, this doesn't appear to be a problem, but it is an issue on Fedora 16 systems. To fix the issue, we'll simply filter out stamp-bits from the symlinks to be generated. Note: gcc 4.4.7 is unaffected by this issue, so no fix is necessary there. Signed-off-by: John Szakmeister <john@szakmeister.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix mips64 musl linker namesFlorian Fainelli2014-10-242-0/+44
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update 4.9 to linaro 2014.10Felix Fietkau2014-10-204-27/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: do not assume that the Mac OS X filesystem is case insensitiveFelix Fietkau2014-10-192-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update, split and rework 4.9 musl patchesFelix Fietkau2014-10-1916-355/+531
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update, split and rework 4.8 musl patchesFelix Fietkau2014-10-1918-373/+638
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: backport an upstream fix for extern vars with local weak definitionsFelix Fietkau2014-10-191-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.8.0Felix Fietkau2014-10-0517-864/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix broken implementation of NOEXECSTACK flag for MIPS architectures for ↵Felix Fietkau2014-10-052-0/+235
| | | | | | | | | | | | gcc-linaro-4.8 This patch ensures that libgcc_s.so properly honours the NOEXECSTACK flag for MIPS builds, when gcc-linaro-4.8 or 4.9 is the chosen C compiler. Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: gcc 4.9.x disable libsanitizeFelix Fietkau2014-10-052-0/+2
| | | | | | | | | | | | | | | | | gcc 4.9.x enables building of libsanitize - libsanitize needs some headers that are not available in uclibc (netrom/netrom.h) according to buildroot project: - build fail with musl - need wordexp with uclibc which increases uclibc size http://git.buildroot.net/buildroot/commit/?id=5f4d658d888b539de9a6247ae5b1a0999de5d4ec http://git.buildroot.net/buildroot/commit/?id=554e29e267e6b36a0fd78c82cbad2c82d939eb7f Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add 4.9-linaro based on the 2014.09 releaseFelix Fietkau2014-09-3020-1/+936
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove another bogus copy of libiberty.aFelix Fietkau2014-09-201-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: select gcc 4.6 by defaultJohn Crispin2014-07-272-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41843 3c298f89-4303-0410-b956-a3cf2f4a3e73