Commit graph

870 commits

Author SHA1 Message Date
Felix Fietkau
171211c29f uClibc: add a patch to reduce vasprintf allocation size (fixes #13024)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40774
2014-05-17 17:36:08 +00:00
Felix Fietkau
479c25641a toolchain/gcc: fix build on arm with clang as host gcc replacement
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40772
2014-05-15 20:11:54 +00:00
Felix Fietkau
31285a2039 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>

SVN-Revision: 40709
2014-05-06 11:49:05 +00:00
Felix Fietkau
af4f534244 toolchain/gcc: update linaro-gcc-4.8 to 2014.04
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40664
2014-05-02 21:18:02 +00:00
Luka Perkov
deec514607 uClibc: backport mount.h update
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40009
2014-03-24 00:19:33 +00:00
Felix Fietkau
51ae801ee3 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>

SVN-Revision: 39980
2014-03-21 15:54:07 +00:00
Felix Fietkau
0f474633e1 musl: update to 1.0.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39962
2014-03-20 13:51:32 +00:00
Felix Fietkau
72d4683627 toolchain/gcc: use 4.8-linaro by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39860
2014-03-10 11:20:33 +00:00
Felix Fietkau
e37c444450 musl: move the dependency on BROKEN to the right config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39754
2014-02-26 12:13:02 +00:00
Felix Fietkau
de750029f4 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>

SVN-Revision: 39750
2014-02-24 21:10:11 +00:00
Felix Fietkau
06a3d35eda 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>

SVN-Revision: 39749
2014-02-24 21:09:37 +00:00
Felix Fietkau
69f99ebadb eglibc: use version 2.19 by default (lots of fixes, some security related)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39744
2014-02-24 15:35:14 +00:00
Felix Fietkau
f3087c7e4e eglibc: remove versions 2.16 and 2.17 - they are unmaintained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39743
2014-02-24 15:35:10 +00:00
Felix Fietkau
f354297fa9 eglibc: add version 2.19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39742
2014-02-24 15:35:07 +00:00
Felix Fietkau
b050f87d13 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>

SVN-Revision: 39638
2014-02-19 19:20:10 +00:00
Nicolas Thill
6c511ed529 toolchain: update build steps doc
SVN-Revision: 39631
2014-02-18 22:15:58 +00:00
Imre Kaloz
5e906232b0 upgrade Linaro GCC 4.8 to 2014.01
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39501
2014-02-06 10:28:45 +00:00
Luka Perkov
196f434c96 eglibc: fix build failure on newer make versions
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39453
2014-02-02 23:41:35 +00:00
Imre Kaloz
5c3cb628f8 upgrade the Linaro binutils to 2.24-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39210
2014-01-07 15:03:55 +00:00
Imre Kaloz
f6be067784 upgrade Linaro GCC 4.8 to 4.8-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39209
2014-01-07 15:00:33 +00:00
Felix Fietkau
8bd7e0b19b uClibc: Fix lookup with DNS search in multi-threaded application.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39179
2013-12-28 15:06:14 +00:00
Felix Fietkau
c4b013f00b uClibc: make res_init() thread safe
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39178
2013-12-28 15:06:04 +00:00
Felix Fietkau
8cabffaa3b 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>

SVN-Revision: 39177
2013-12-28 15:05:56 +00:00
Felix Fietkau
cc304329b3 uClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in libcrypt
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39105
2013-12-16 18:49:10 +00:00
Imre Kaloz
ad2cd7878c enable using soft-float regardless of having a fpu
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38939
2013-11-29 09:24:07 +00:00
Imre Kaloz
b1f4f27fc4 upgrade Linaro GCC 4.8 to 4.8-2013.11
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38922
2013-11-26 18:42:32 +00:00
Imre Kaloz
9fa3c68938 move menuconfig options into separate files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38895
2013-11-22 14:30:40 +00:00
Imre Kaloz
61ad6831d3 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>

SVN-Revision: 38889
2013-11-22 09:22:54 +00:00
Felix Fietkau
edc8ac6246 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>

SVN-Revision: 38851
2013-11-18 13:32:06 +00:00
Felix Fietkau
3f6a5c862b uClibc: get rid of bogus unused strlcpy definition to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38567
2013-10-28 15:15:35 +00:00
Felix Fietkau
efdcc4e98c toolchain/gdb: remove use of extern inline to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38566
2013-10-28 15:15:31 +00:00
Felix Fietkau
5b1e1eff73 gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38435
2013-10-17 11:57:44 +00:00
Steven Barth
4a4c2fe74c uClibc: fix scoped-IPv6-addresses in getnameinfo
SVN-Revision: 38261
2013-09-30 08:41:00 +00:00
Felix Fietkau
12762698cf toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37947
2013-09-11 14:29:44 +00:00
Felix Fietkau
75946ee468 toolchain/gcc: fix up breakage introduced in r37945
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37946
2013-09-11 14:28:21 +00:00
Imre Kaloz
6d13c47f57 upgrade Linaro gcc 4.8 to 4.8-2013.08
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37945
2013-09-11 13:19:43 +00:00
Imre Kaloz
348c3af966 add support for Linaro binutils 2.23.2-2013.06
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37944
2013-09-11 13:18:23 +00:00
Imre Kaloz
2dad4ed357 upgrade to 7.6-2013.05
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37943
2013-09-11 13:16:13 +00:00
Florian Fainelli
73dcf0dc2e toolchain: refresh uClibc patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37939
2013-09-11 12:08:37 +00:00
Florian Fainelli
cb6e729be7 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>

SVN-Revision: 37938
2013-09-11 12:08:27 +00:00
Felix Fietkau
258b2cf7aa toolchain/gcc: remove 4.6.3, it is unused and unmaintained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37924
2013-09-10 10:30:41 +00:00
Felix Fietkau
a1a5f59ea3 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>

SVN-Revision: 37770
2013-08-14 13:02:29 +00:00
Felix Fietkau
6b404a4d08 musl: mark as broken, many packages do not compile with it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37750
2013-08-10 19:16:46 +00:00
Felix Fietkau
5f2e61addf gcc: merge a bugfix for a MIPS specific internal compiler error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37621
2013-07-31 08:54:56 +00:00
Felix Fietkau
e00aaea5df gcc: add a bugfix for an internal compiler error on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37601
2013-07-29 10:11:07 +00:00
Felix Fietkau
82e51044d8 uClibc: build with debug symbols by default (without changing other compile related flags)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37525
2013-07-24 12:38:09 +00:00
Felix Fietkau
6ac26a1ef7 gcc: fix up displayed version after r37179
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37180
2013-07-05 09:16:08 +00:00
Felix Fietkau
1446a26cc2 gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ definition)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37179
2013-07-05 07:53:14 +00:00
Luka Perkov
00b5a14567 toolchain/musl: add version 0.9.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37173
2013-07-04 21:26:01 +00:00
Felix Fietkau
02a6750af8 uClibc: use position independent code for crt1, slightly reduces size of all executables
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37096
2013-06-30 07:54:51 +00:00