aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by ↵Felix Fietkau2013-04-072-15/+0
| | | | | | | | libc. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: unbreak ld-uClibc on non-64bit platformsFelix Fietkau2013-04-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: backport a MIPS64 fix from openadkFlorian Fainelli2013-04-051-0/+25
| | | | | | | | | Fixes uClibc dynamic loader name requested by executables when targetting MIPS64 n64 Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: handle different MIPS64 ABIsFlorian Fainelli2013-04-057-1/+110
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: musl is not available on MIPS64Florian Fainelli2013-04-051-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: allow choosing the MIPS64 user-land ABIFlorian Fainelli2013-04-053-1/+30
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: factor knowledge of a 64bits architectureFlorian Fainelli2013-04-051-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: .init and .fini need to pick one ISAFlorian Fainelli2013-04-051-0/+9
| | | | | | | | | | | | | | | | | The .init and .fini sections are built by concatenating code fragments. Putting mips16 code in the middle of a mips32 code block doesn't work. Make gcc built the magic crt stuff in no-mips16 mode. This is specific to 4.6-linaro but is probably portable to other gcc flavors. Adding this to the t-libgcc-mips16 makefile fragment is a hack not suitable for pushing upstream, but there is no mips/t-linux or mips/t-uclibc and I am not going to touch gcc/configure for two lines. Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: Disable mips16 for uClibc for nowFlorian Fainelli2013-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | For now, build uclibc without -mips16. There's no mips16 syscall support AFAIK and uclibc uses inline assembly syscalls a lot. In addition, touching errno means touching a TLS model symbol, and that's not supported in gcc 4.6. The __set_errno macro can be put back to calling errno_location(). This allows much of the library to be built in mips16 mode. I don't understand the implications to the thread library of doing this. A list of "build as -mno-mips16" C source files can be placed in the mips architecture-dependent build files. Maintaining the list would be no fun. Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: remove the old (and nonworking) hack and identify our ↵Imre Kaloz2013-04-032-3/+9
| | | | | | patched GCCs properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: remove reference to llvm introduced in r36155Florian Fainelli2013-04-021-1/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: add support for GCC 4.8.0Florian Fainelli2013-04-027-0/+629
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: update 4.7-linaro to 2013.03Florian Fainelli2013-04-021-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: drop 4.5 supportImre Kaloz2013-04-0120-1081/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36149 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: cleanupImre Kaloz2013-04-012-8/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: fixup 4.7 configure optionsImre Kaloz2013-04-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: llvm is marked broken for two and a half year now, nuke itImre Kaloz2013-04-0127-4515/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/eglibc: add missing ld-search-paths patch to 2.17Florian Fainelli2013-03-291-0/+14
| | | | | | | | | | | | | | | | | this patch is a copy of trunk/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch in trunk/toolchain/eglibc/patches/2.17/200-add-ld-search-paths.patch please use svn copy instead of applying it (like in https://dev.openwrt.org/changeset/34290/) the patch add /usr/lib in the ld search path (for eglibc 2.17), thus helping libs like libnl-tiny.so (for iw), libjson.so.0 (for ubus, jshn) to be found Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36141 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: stop generating broken symlink in TOOLCHAIN_DIR/libLuka Perkov2013-03-281-1/+1
| | | | | | | | | | | | It turns out that the symlink may exists already by the time the toolchain Makefile gets an opportunity to run. While we asked to replace the target, ln doesn't do so until after dereferencing the existing symlink. This results in an unintended symlink that refers to itself. Instead, create the link without dereferencing any symlinks by using the -n option. Signed-off-by: John Szakmeister <john@szakmeister.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36140 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gdb: update to 7.5-2012.12-1Florian Fainelli2013-03-221-2/+2
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: fix partial MD5 sum from r35813Florian Fainelli2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: add support for 0.9.9Florian Fainelli2013-02-266-1/+276
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: add musl libc config.sub patch to 2.23.1Florian Fainelli2013-02-261-0/+10
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: fix 2.19.1 MD5 sumFlorian Fainelli2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: refresh patchesFlorian Fainelli2013-02-2613-201/+107
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: refresh patchesFlorian Fainelli2013-02-2632-298/+190
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: don't build documentationLuka Perkov2013-02-265-0/+115
| | | | | | | | This closes #13039. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: remove support for 4.6.2Luka Perkov2013-02-2618-946/+1
| | | | | | | | | There are no good reasons for keeping this version around when 4.6.3 and 4.6-linaro are there. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: uclibc: fix typo in uclibc common configJonas Gorski2013-02-211-1/+1
| | | | | | | | | | Based on a patch from Oliver Metz. Closes #10735. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: allow specifying libc personality for external toolchainsJo-Philipp Wich2013-02-202-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/eglibc: add support for 2.17Florian Fainelli2013-02-073-0/+11
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix the mips64 linker path to be more musl conformingFlorian Fainelli2013-01-295-15/+15
| | | | | | | | musl libc does not use /lib32 or /lib64 directories, just /lib Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: add parenthesis to the __ARE_4_EQUAL macroFlorian Fainelli2013-01-291-0/+12
| | | | | | | | | Fixes warnings exposed by netifd while using IN6_ARE_ADDR_EQUAL turned into errors. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: fix build for MIPS64 targets introduced by musl patchFlorian Fainelli2013-01-075-0/+79
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc-linaro-4.6: update to 2012.12Florian Fainelli2013-01-071-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc-linaro-4.7: update to 2012.12Florian Fainelli2013-01-071-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: simplify musl install stepsFlorian Fainelli2012-12-101-12/+0
| | | | | | | | | Some of these were copy/pasted from uClibc, but they are not necessary at all for musl-libc. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: update to 0.9.8Florian Fainelli2012-12-106-106/+7
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: fix typo on configuration symbolFlorian Fainelli2012-12-101-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: use file_copy to install the initial gcc filesJo-Philipp Wich2012-12-021-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove duplicate default in bintutils KconfigJo-Philipp Wich2012-12-021-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] remove support for ubicom32Florian Fainelli2012-11-3017-123768/+3
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc/4.5-linaro: backport musl patchFlorian Fainelli2012-11-291-0/+242
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] musl: backport an upstream fix for MIPS and termios constantsFlorian Fainelli2012-11-231-0/+99
| | | | | | | | Fixes weird console behavior with a musl rootfs. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] musl: disable hardware FPU registers usageFlorian Fainelli2012-11-231-0/+49
| | | | | | | | This was crashing applications, thanks to Rich Felker for the suggestion. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add preliminary support for muslFlorian Fainelli2012-11-2315-3/+1771
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: remove support for 4.7.0Florian Fainelli2012-11-2121-10354/+1
| | | | | | | | | There are no good reasons for keeping this version around when 4.7.2 and 4.7-linaro are there. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] eglibc/2.16: add missing dl-search-paths patchFlorian Fainelli2012-11-211-0/+14
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: build with HOST_CFLAGSFlorian Fainelli2012-11-191-0/+1
| | | | | | | | | Turns on -O2 optimization when building GCC thus making the cross-compiler a little faster (about 25%). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] binutils: remove 2.21Florian Fainelli2012-11-1910-31249/+0
| | | | | | | | | There is no point in keeping around 2.21 when 2.21.1 which is a bugfix release is there. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34265 3c298f89-4303-0410-b956-a3cf2f4a3e73