aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
Commit message (Collapse)AuthorAgeFilesLines
* gcc: remove obsolete uclibc patchFelix Fietkau2017-02-013-99/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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-2425-9/+7
| | | | | | | | 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-242-11/+2
| | | | | | | | 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>
* gcc: rip out transactional memory related bloat from crtbeginFelix Fietkau2016-12-142-0/+22
| | | | | | | Slightly improves compression for each executable, saving about 4k from the default ar71xx rootfs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: gcc: disable ifunc on *-musl by defaultYousong Zhou2016-11-242-0/+76
| | | | | | | | Otherwise the built binaries may fail with Error relocating /usr/bin/qemu-system-x86_64: unsupported relocation type 37 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* toolchain: fix MIPS softfloat build issue for gcc-5.4.0BangLang Huang2016-11-141-0/+174
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* toolchain/gcc: bump GCC 6.1.0 to 6.2.0Syrone Wong2016-09-0423-8/+8
| | | | | | Compile and run tested on ar71xx and mvebu Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* gcc: optionally build gccgo compilerMatteo Croce2016-08-115-2/+49
| | | | | | Tested with eglibc on x86 and armv7 so far Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
* gcc: add a patch to generate better code with Os on mipsFelix Fietkau2016-08-042-0/+25
| | | | | | Also happens to reduce compressed code size a bit Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.xAlexey Brodkin2016-07-271-0/+153
| | | | | | | | | | | | | On attempt to build ARC toolchain on the host with gcc 6.1 I saw the same failure as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 This change adds a back-port of the fix from upstream gcc, see https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=233572 Note the fix is already a part of gcc-5.4 and gcc-6.1 so no need for the same fix for others. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.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-1523-0/+892
| | | | | | | | | | | -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: get rid of GCC_VERSION_5 config symbolFelix Fietkau2016-07-152-5/+0
| | | | | | Replace it with !GCC_VERSION_4_8 to be more future compatible Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc: clean up remaining references to the old linaro versionFelix Fietkau2016-07-152-7/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* gcc: update gcc to version 5.4.0Hauke Mehrtens2016-07-1339-153/+15
| | | | | | 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-073-22/+25
| | | | | | | | 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-1920-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>
* toolchain: gcc: fix build with GCC 6Matthias Schiffer2016-05-081-0/+117
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* 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-2939-65/+30
| | | | | | 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: 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> SVN-Revision: 48485
* gcc: drop version 4.8-linaroFelix Fietkau2016-01-2040-1610/+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: 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> SVN-Revision: 47494
* gcc: switch to 5.2.0 by defaultFelix Fietkau2015-11-172-5/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47492
* 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> SVN-Revision: 47490
* 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
* tools: add isl (used for graphite on GCC 5)Felix Fietkau2015-11-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47464
* gcc: remove version 4.6, it is no longer neededFelix Fietkau2015-11-1026-1101/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47443
* gcc: enable LTO support unconditionallyFelix Fietkau2015-11-101-5/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47442
* 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> SVN-Revision: 47441
* 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> SVN-Revision: 47438
* 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> SVN-Revision: 47024
* 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: 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> SVN-Revision: 46897
* 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> SVN-Revision: 46873
* gcc: add missing powerpc patch for 5.2.0Felix Fietkau2015-09-071-0/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46800
* gcc: remove 4.6.3 leftoversFelix Fietkau2015-09-062-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46799
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-0636-1304/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46798
* gcc: add ARM codegen fix from PR 65932Felix Fietkau2015-09-032-1/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46774
* 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> SVN-Revision: 46611
* 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> SVN-Revision: 46355
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-122-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46313
* 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> SVN-Revision: 46108
* 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> SVN-Revision: 46089