aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* 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: update build steps docNicolas Thill2014-02-181-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39631 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] eglibc: fix build failure on newer make versionsLuka Perkov2014-02-023-0/+33
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: upgrade the Linaro binutils to 2.24-2013.12Imre Kaloz2014-01-078-25/+15
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39210 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
* uClibc: Fix lookup with DNS search in multi-threaded application.Felix Fietkau2013-12-281-0/+12
| | | | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: make res_init() thread safeFelix Fietkau2013-12-281-0/+55
| | | | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: Fix threaded use of res_ functions.Felix Fietkau2013-12-281-0/+126
| | | | | | | | | | | | This patch moves res_init() back above #undef _res. It fixes dns resolving issue in OpenWrt (uClibc related - OpenWrt ticket #11929). It is a backport from uClibc master. Further details are there: http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092 Signed-off-by: Jiri Slachta <slachta@cesnet.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: disable sha256 and sha512 for libcrypt - saves about 13k ↵Felix Fietkau2013-12-161-2/+2
| | | | | | | | uncompressed in libcrypt Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable using soft-float regardless of having a fpuImre Kaloz2013-11-291-2/+2
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38939 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
* move menuconfig options into separate filesImre Kaloz2013-11-221-0/+39
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/uClibc]: replace the mips64 fixes patch with an upstream commitImre Kaloz2013-11-222-14/+75
| | | | | | | | | | The current one broke all other 64 bit targets.. DOH! Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: Deactivate oversized thread stack cacheFelix Fietkau2013-11-181-0/+11
| | | | | | | | | | | | | A small system like the common home router doesn't have 40 MiB per process for a dirty stack cache. This can easily lead to an overbooking OOM problem and caused a lot of hangs+reboots on 32 MiB systems running nodogsplash. Not using a stack cache can increase the time to spawn new threads. This is hopefully no problem for system not running a lot of parallel computations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: get rid of bogus unused strlcpy definition to fix build errorsFelix Fietkau2013-10-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gdb: remove use of extern inline to fix build errorsFelix Fietkau2013-10-281-0/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38566 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
* uClibc: fix scoped-IPv6-addresses in getnameinfoSteven Barth2013-09-301-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38261 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/binutils]: add support for Linaro binutils 2.23.2-2013.06Imre Kaloz2013-09-118-12/+153
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gdb]: upgrade to 7.6-2013.05Imre Kaloz2013-09-114-35/+13
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: refresh uClibc patchesFlorian Fainelli2013-09-116-78/+23
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37939 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
* build: decouple the mips16 support flag from the toolchainFelix Fietkau2013-08-141-2/+0
| | | | | | | | | Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: mark as broken, many packages do not compile with itFelix Fietkau2013-08-101-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37750 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
* uClibc: build with debug symbols by default (without changing other compile ↵Felix Fietkau2013-07-241-1/+1
| | | | | | | | related flags) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37525 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
* toolchain/musl: add version 0.9.11Luka Perkov2013-07-047-5/+122
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: use position independent code for crt1, slightly reduces size of all ↵Felix Fietkau2013-06-301-0/+11
| | | | | | | | executables Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37096 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
* binutils: stop generating the useless _DYNAMIC_LINKING symbol on mipsFelix Fietkau2013-06-302-0/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove some unused obsolete versionsFelix Fietkau2013-06-3018-62155/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/eglibc] add patch for eglibc version 2.15Mirko Vogt2013-06-241-0/+110
| | | | | | | | | | | | | This patch partially reverts an (e)glibc commit which fixed a memory leak, however introduced lookup errors in dlopen() with resulting segmentation faults in certain scenarios. References: - http://comments.gmane.org/gmane.comp.lib.glibc.user/1227 - http://sourceware.org/ml/libc-alpha/2011-06/msg00006.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37029 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
* toolchain: do not build GDB when using an external toolchainFlorian Fainelli2013-05-301-1/+1
| | | | | | | | The external toolchain should provide it if needed. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36802 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/musl: add version 0.9.10Felix Fietkau2013-05-098-0/+314
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: fix libstdc++ build issuesFelix Fietkau2013-05-092-0/+120
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: fix build issues on mac os xFelix Fietkau2013-05-092-0/+54
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36588 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