aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: backport a fix for issues with accessing weak data referencesFelix Fietkau2014-07-101-0/+42
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: only default eglibc for octeon and not all of mips64John Crispin2014-07-102-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: use different defaults for octeonJohn Crispin2014-06-182-1/+3
| | | | | | | | force eglibc and gcc4.6+linaro for octeon Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object sizeFelix Fietkau2014-05-281-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: disable libsanitzier off_t check to fix musl buildFelix Fietkau2014-05-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: revert an upstream patch that is causing a regression on powerpcFelix Fietkau2014-05-061-0/+65
| | | | | | | | https://forum.openwrt.org/viewtopic.php?pid=232494#p232494 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: update linaro-gcc-4.8 to 2014.04Felix Fietkau2014-05-026-15/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: use 4.8-linaro by defaultFelix Fietkau2014-03-102-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix visibility of symbols libgcc.aFelix Fietkau2014-02-243-27/+23
| | | | | | | | Symbols need to be hidden, even for the static variant Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: prevent the use of LDRD/STRD on ARMv5TEFelix Fietkau2014-02-193-0/+33
| | | | | | | | | | | | | | | | | These instructions are for 64-bit load/store. On ARMv5TE, the CPU requires addresses to be aligned to 64-bit. When misaligned, behavior is undefined (effectively either loads the same word twice on LDRD, or corrupts surrounding memory on STRD). On ARMv6 and newer, unaligned access is safe. Removing these instructions for ARMv5TE is necessary, because GCC ignores alignment information in pointers and does unsafe optimizations that have shown up as bugs in various places. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro GCC 4.8 to 2014.01Imre Kaloz2014-02-063-6/+6
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.12Imre Kaloz2014-01-071-2/+2
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11Imre Kaloz2013-11-264-177/+9
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilationFelix Fietkau2013-10-171-0/+167
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix up breakage introduced in r37945Felix Fietkau2013-09-111-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08Imre Kaloz2013-09-116-18/+18
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: define MUSL dynamic linker for SPARCFlorian Fainelli2013-09-113-0/+38
| | | | | | | | | SPARC builds are currently broken because we do not define the MUSL dynamic linker name, fix that. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: remove 4.6.3, it is unused and unmaintainedFelix Fietkau2013-09-1021-1032/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: merge a bugfix for a MIPS specific internal compiler errorFelix Fietkau2013-07-312-0/+130
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add a bugfix for an internal compiler error on mips64Felix Fietkau2013-07-292-0/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix up displayed version after r37179Felix Fietkau2013-07-051-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ ↵Felix Fietkau2013-07-051-2/+0
| | | | | | | | definition) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add a patch to get rid of useless java class sectionsFelix Fietkau2013-06-304-0/+44
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaroFelix Fietkau2013-06-052-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.7Felix Fietkau2013-05-2335-1873/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: port missing patches from 4.6 to 4.8Felix Fietkau2013-05-2312-0/+284
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix avr32 default GCC versionJonas Gorski2013-05-221-1/+1
| | | | | | | | | Fix gcc version default after r36355 removing all GCC_DEFAULT_VERSION symbols. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ ↵Felix Fietkau2013-05-092-8/+1
| | | | | | | | support mandatory - fixes recursive config symbol dependency issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: add support for 4.8-linaroFelix Fietkau2013-05-0410-5/+697
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: forward port missing patches to gcc 4.8.0Felix Fietkau2013-05-042-0/+47
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add missing patch to gcc v4.8.0Jo-Philipp Wich2013-05-021-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: backport fixes for gcc bug 54295Jonas Gorski2013-04-293-0/+210
| | | | | | | | | | | | Fix "Widening multiply-accumulate operation uses wrong value extension" for 4.7, 4.7-linaro and 4.6-linaro, which backported the broken code to 4.6. Vanilla 4.6 is unaffected. Fixes #13420. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: get rid of gcc kconfig symbol overloadingFelix Fietkau2013-04-182-25/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36355 3c298f89-4303-0410-b956-a3cf2f4a3e73