Commit Graph

1049 Commits (96131b0538f85c98cb0ad274ecd5497a8f95d861)

Author SHA1 Message Date
Imre Kaloz c01716afd0 [toolchain/uClibc]: replace the mips64 fixes patch with an upstream commit
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
2013-11-22 09:22:54 +00:00
Felix Fietkau 66913cd020 uClibc: Deactivate oversized thread stack cache
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
2013-11-18 13:32:06 +00:00
Felix Fietkau a7dc820bf8 uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 15:15:35 +00:00
Felix Fietkau 3960cbc96b toolchain/gdb: remove use of extern inline to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 15:15:31 +00:00
Felix Fietkau dda74d14d1 gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 11:57:44 +00:00
Steven Barth 3a948c0b93 uClibc: fix scoped-IPv6-addresses in getnameinfo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 08:41:00 +00:00
Felix Fietkau 83500aedcb toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 14:29:44 +00:00
Felix Fietkau 0426c12de3 toolchain/gcc: fix up breakage introduced in r37945
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 14:28:21 +00:00
Imre Kaloz c09b8f8e79 [toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 13:19:43 +00:00
Imre Kaloz c1855f67b0 [toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 13:18:23 +00:00
Imre Kaloz dbfb7e1811 [toolchain/gdb]: upgrade to 7.6-2013.05
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 13:16:13 +00:00
Florian Fainelli 347064eb81 toolchain: refresh uClibc patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 12:08:37 +00:00
Florian Fainelli 269fbe67f4 toolchain: define MUSL dynamic linker for SPARC
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
2013-09-11 12:08:27 +00:00
Felix Fietkau cd883451be toolchain/gcc: remove 4.6.3, it is unused and unmaintained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 10:30:41 +00:00
Felix Fietkau 64584aa1fc build: decouple the mips16 support flag from the toolchain
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
2013-08-14 13:02:29 +00:00
Felix Fietkau 5e92e942b4 musl: mark as broken, many packages do not compile with it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10 19:16:46 +00:00
Felix Fietkau 27b7bc42d6 gcc: merge a bugfix for a MIPS specific internal compiler error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 08:54:56 +00:00
Felix Fietkau effe913300 gcc: add a bugfix for an internal compiler error on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 10:11:07 +00:00
Felix Fietkau e8460b617e uClibc: build with debug symbols by default (without changing other compile 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
2013-07-24 12:38:09 +00:00
Felix Fietkau 39bc82472d gcc: fix up displayed version after r37179
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-05 09:16:08 +00:00
Felix Fietkau 4afb9e3633 gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ definition)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-05 07:53:14 +00:00
Luka Perkov 7ac10b4555 toolchain/musl: add version 0.9.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 21:26:01 +00:00
Felix Fietkau 5fca070da8 uClibc: use position independent code for crt1, slightly reduces size of all executables
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:51 +00:00
Felix Fietkau d80c53a045 gcc: add a patch to get rid of useless java class sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:47 +00:00
Felix Fietkau 46834a61a9 binutils: stop generating the useless _DYNAMIC_LINKING symbol on mips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:43 +00:00
Felix Fietkau e12995bc2f binutils: remove some unused obsolete versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-30 07:54:37 +00:00
Mirko Vogt a7442fefce [toolchain/eglibc] add patch for eglibc version 2.15
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
2013-06-24 14:51:22 +00:00
Felix Fietkau f16484ddaf gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 23:37:12 +00:00
Florian Fainelli 13aae58075 toolchain: do not build GDB when using an external toolchain
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
2013-05-30 22:04:54 +00:00
Felix Fietkau a0b2f94e9e gcc: remove version 4.7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:22:09 +00:00
Felix Fietkau a4e85cf9aa gcc: port missing patches from 4.6 to 4.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:21:59 +00:00
Jonas Gorski f9c58f9c68 gcc: fix avr32 default GCC version
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
2013-05-22 08:26:57 +00:00
Felix Fietkau 30e9f35428 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ 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
2013-05-09 20:50:49 +00:00
Felix Fietkau 1bb5b406f4 toolchain/musl: add version 0.9.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:34:21 +00:00
Felix Fietkau 20f34f8ecc toolchain/musl: fix libstdc++ build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:02:57 +00:00
Felix Fietkau 9bff7dfd4b toolchain/musl: fix build issues on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 19:26:53 +00:00
Felix Fietkau 0521965d25 toolchain/gcc: add support for 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-04 13:37:41 +00:00
Felix Fietkau 09bf9e2148 toolchain/gcc: forward port missing patches to gcc 4.8.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-04 13:37:37 +00:00
Jo-Philipp Wich 255d06ab35 toolchain: add missing patch to gcc v4.8.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 11:25:13 +00:00
Jonas Gorski 32e87c4c39 toolchain: gcc: backport fixes for gcc bug 54295
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
2013-04-29 15:40:21 +00:00
Felix Fietkau 6a47391ec7 toolchain: get rid of libc implementation symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:05:08 +00:00
Felix Fietkau c19411a781 toolchain: get rid of musl version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:05:02 +00:00
Felix Fietkau 7ef7ccea3b toolchain: get rid of eglibc version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:55 +00:00
Felix Fietkau 6add3f9184 toolchain: get rid of uclibc version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:48 +00:00
Felix Fietkau 99392df05a toolchain: get rid of gcc kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:40 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Felix Fietkau 59f2fed12c gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 10:11:41 +00:00
Felix Fietkau 2810bbb09a uClibc: unbreak ld-uClibc on non-64bit platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 10:11:38 +00:00
Florian Fainelli ecc844af73 toolchain/uClibc: backport a MIPS64 fix from openadk
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
2013-04-05 12:36:37 +00:00
Florian Fainelli c6f7a359ec toolchain/uClibc: handle different MIPS64 ABIs
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:31 +00:00
Florian Fainelli 6ac8d169bd toolchain: musl is not available on MIPS64
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:26 +00:00
Florian Fainelli a4fbc42a5a toolchain: allow choosing the MIPS64 user-land ABI
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:23 +00:00
Florian Fainelli d32ac499b8 buildroot: factor knowledge of a 64bits architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:19 +00:00
Florian Fainelli 72fa8af64d toolchain/gcc: .init and .fini need to pick one ISA
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
2013-04-05 12:36:06 +00:00
Florian Fainelli 175a119a6a toolchain/uClibc: Disable mips16 for uClibc for now
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
2013-04-05 12:36:00 +00:00
Imre Kaloz 1c30e6851a [toolchain/gcc]: remove the old (and nonworking) hack and identify our patched GCCs properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:41:07 +00:00
Florian Fainelli 9b7de537ee toolchain/gcc: remove reference to llvm introduced in r36155
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:03:14 +00:00
Florian Fainelli 6ff8fa8e52 toolchain/gcc: add support for GCC 4.8.0
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:00:35 +00:00
Florian Fainelli 052e72c782 toolchain/gcc: update 4.7-linaro to 2013.03
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-02 16:00:23 +00:00
Imre Kaloz 90dc46f932 [toolchain/gcc]: drop 4.5 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:46:41 +00:00
Imre Kaloz 91d0182a5d [toolchain/gcc]: cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:43:23 +00:00
Imre Kaloz b155532da5 [toolchain/gcc]: fixup 4.7 configure options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:13:46 +00:00
Imre Kaloz 51fa1691b8 [toolchain/gcc]: llvm is marked broken for two and a half year now, nuke it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 15:08:38 +00:00
Florian Fainelli 3b1b3e2fb6 toolchain/eglibc: add missing ld-search-paths patch to 2.17
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
2013-03-29 13:16:09 +00:00
Luka Perkov d644f979e3 toolchain: stop generating broken symlink in TOOLCHAIN_DIR/lib
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
2013-03-28 12:16:39 +00:00
Florian Fainelli aefe8e97ea gdb: update to 7.5-2012.12-1
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
2013-03-22 10:06:10 +00:00
Florian Fainelli c60478ef64 toolchain/binutils: fix partial MD5 sum from r35813
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:52:36 +00:00
Florian Fainelli f2792fe405 toolchain/musl: add support for 0.9.9
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:27 +00:00
Florian Fainelli b926fe09d0 toolchain/binutils: add musl libc config.sub patch to 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:20 +00:00
Florian Fainelli b9f4311f67 toolchain/binutils: fix 2.19.1 MD5 sum
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:17 +00:00
Florian Fainelli 96e22ffbc1 toolchain/binutils: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:40:12 +00:00
Florian Fainelli f68626b80d toolchain/gcc: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 16:39:54 +00:00
Luka Perkov 8d1daccbbf [toolchain] gcc: don't build documentation
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
2013-02-26 16:16:33 +00:00
Luka Perkov 1ac0a747b6 [toolchain] gcc: remove support for 4.6.2
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
2013-02-26 14:31:24 +00:00
Jonas Gorski e9e1a9b595 toolchain: uclibc: fix typo in uclibc common config
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
2013-02-21 11:45:07 +00:00
Jo-Philipp Wich 5d7f822b66 buildroot: allow specifying libc personality for external toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 15:06:10 +00:00
Florian Fainelli e54446c866 toolchain/eglibc: add support for 2.17
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 17:34:53 +00:00
Florian Fainelli b9da555e20 toolchain/gcc: fix the mips64 linker path to be more musl conforming
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
2013-01-29 23:05:46 +00:00
Florian Fainelli 93c31da5f9 toolchain/musl: add parenthesis to the __ARE_4_EQUAL macro
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
2013-01-29 23:05:40 +00:00
Florian Fainelli 28703738e9 [toolchain] gcc: fix build for MIPS64 targets introduced by musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:40 +00:00
Florian Fainelli f3bb778f2b [toolchain] gcc-linaro-4.6: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:33 +00:00
Florian Fainelli b5c61645d2 [toolchain] gcc-linaro-4.7: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:16:29 +00:00
Florian Fainelli 415894edf2 toolchain/musl: simplify musl install steps
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
2012-12-10 14:24:24 +00:00
Florian Fainelli 6c8a0f1389 toolchain/musl: update to 0.9.8
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:21 +00:00
Florian Fainelli 5db553697a toolchain/musl: fix typo on configuration symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:17 +00:00
Jo-Philipp Wich a514743b3d toolchain: use file_copy to install the initial gcc files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 12:20:47 +00:00
Jo-Philipp Wich 187d283f6d toolchain: remove duplicate default in bintutils Kconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 11:27:23 +00:00
Florian Fainelli edb46bb434 [toolchain] remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-30 10:53:55 +00:00
Florian Fainelli 49bd7a7188 [toolchain] gcc/4.5-linaro: backport musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 21:42:58 +00:00
Florian Fainelli b4b6c4336c [toolchain] musl: backport an upstream fix for MIPS and termios constants
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
2012-11-23 22:43:11 +00:00
Florian Fainelli e259bbb116 [toolchain] musl: disable hardware FPU registers usage
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
2012-11-23 21:15:11 +00:00
Florian Fainelli 24cc4007ce [buildroot] add preliminary support for musl
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
2012-11-23 20:02:29 +00:00
Florian Fainelli c1678d8799 [toolchain] gcc: remove support for 4.7.0
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
2012-11-21 20:27:15 +00:00
Florian Fainelli 41c7dcfcdf [toolchain] eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:47 +00:00
Florian Fainelli 0dd9afae4e [toolchain] gcc: build with HOST_CFLAGS
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
2012-11-19 23:12:00 +00:00
Florian Fainelli b316ab42bb [toolchain] binutils: remove 2.21
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
2012-11-19 19:37:43 +00:00
Florian Fainelli 05fb7699d1 [toolchain] gcc-4.6-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:39 +00:00
Florian Fainelli 7b1bad689a [toolchain] gcc-4.7-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:33 +00:00
Florian Fainelli 8414b2f2c1 [toolchain] binutils: add support for 2.23.1
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:28 +00:00
Florian Fainelli a74add1b91 [toolchain] binutils/2.22: backport an upstream fix for an assertion in the ARM backend.
See http://sourceware.org/bugzilla/show_bug.cgi?id=13990 for more details.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 17:32:37 +00:00