Felix Fietkau
8b7d0d34dc
eglibc: add support for other mips64 ABI variants as well
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 13:00:46 +00:00
Felix Fietkau
c1d6e2d564
eglibc: fix mips64 abi selection, default to o64 instead of n32
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 12:30:39 +00:00
Felix Fietkau
798d7b55fc
musl: add a hack to rip out excessive iconv bloat
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 23:18:47 +00:00
Felix Fietkau
a114d8a80a
gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 22:40:31 +00:00
Felix Fietkau
c0c92f8a1a
gcc: disable libsanitzier off_t check to fix musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:33:30 +00:00
Felix Fietkau
0260ff39b6
musl: update to version 1.1.1
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 14:09:58 +00:00
Felix Fietkau
26e7691555
uClibc: add a patch to reduce vasprintf allocation size ( fixes #13024 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-17 17:36:08 +00:00
Felix Fietkau
7fbc2d1b23
toolchain/gcc: fix build on arm with clang as host gcc replacement
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-15 20:11:54 +00:00
Felix Fietkau
409ed30ab0
gcc: revert an upstream patch that is causing a regression on powerpc
...
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
2014-05-06 11:49:05 +00:00
Felix Fietkau
74a5f2faec
toolchain/gcc: update linaro-gcc-4.8 to 2014.04
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-02 21:18:02 +00:00
Luka Perkov
5c0cf7ea4c
uClibc: backport mount.h update
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-24 00:19:33 +00:00
Felix Fietkau
6b7bcb9292
build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:07 +00:00
Felix Fietkau
64e3f5f510
musl: update to 1.0.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:32 +00:00
Felix Fietkau
c2942d15b7
toolchain/gcc: use 4.8-linaro by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 11:20:33 +00:00
Felix Fietkau
cda03f85e8
musl: move the dependency on BROKEN to the right config symbol
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-26 12:13:02 +00:00
Felix Fietkau
58d22ab8a4
toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer to being functional than before)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 21:10:11 +00:00
Felix Fietkau
2c60412f00
gcc: fix visibility of symbols libgcc.a
...
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
2014-02-24 21:09:37 +00:00
Felix Fietkau
d9f5ee5c27
eglibc: use version 2.19 by default (lots of fixes, some security related)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:35:14 +00:00
Felix Fietkau
21199ede76
eglibc: remove versions 2.16 and 2.17 - they are unmaintained
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:35:10 +00:00
Felix Fietkau
c65ae46030
eglibc: add version 2.19
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:35:07 +00:00
Felix Fietkau
aba884cec1
gcc: prevent the use of LDRD/STRD on ARMv5TE
...
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
2014-02-19 19:20:10 +00:00
Nicolas Thill
fc204498a2
toolchain: update build steps doc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 22:15:58 +00:00
Imre Kaloz
ac15027799
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 2014.01
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 10:28:45 +00:00
Luka Perkov
c3e64106a6
[toolchain] eglibc: fix build failure on newer make versions
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 23:41:35 +00:00
Imre Kaloz
5957d6c39d
[toolchain/binutils]: upgrade the Linaro binutils to 2.24-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 15:03:55 +00:00
Imre Kaloz
9504d849ae
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 15:00:33 +00:00
Felix Fietkau
67918d0abc
uClibc: Fix lookup with DNS search in multi-threaded application.
...
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-28 15:06:14 +00:00
Felix Fietkau
85b4900b0d
uClibc: make res_init() thread safe
...
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-28 15:06:04 +00:00
Felix Fietkau
535ac95612
uClibc: Fix threaded use of res_ functions.
...
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
2013-12-28 15:05:56 +00:00
Felix Fietkau
a4fcc05059
uClibc: disable sha256 and sha512 for libcrypt - saves about 13k 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
2013-12-16 18:49:10 +00:00
Imre Kaloz
5a057bfeca
enable using soft-float regardless of having a fpu
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 09:24:07 +00:00
Imre Kaloz
cebb4f110e
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:42:32 +00:00
Imre Kaloz
1f939e1460
move menuconfig options into separate files
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 14:30:40 +00:00
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