Commit Graph

893 Commits

Author SHA1 Message Date
Luka Perkov
8e4f0ec38d toolchain/gcc: pass proper flags for arm hard float build
This fixes eglibc build failure. More information about the bug can be found on
the link below.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61796

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41657
2014-07-14 20:28:53 +00:00
Felix Fietkau
9c51ab13d3 toolchain: switch back to uClibc for octeon, it actually works now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41576
2014-07-10 20:48:31 +00:00
Felix Fietkau
7a324ed4c1 uClibc: fix copy&pasted typo in the stat fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41573
2014-07-10 20:14:58 +00:00
Felix Fietkau
ded4c0675d uClibc: add a whole bunch of mips64 related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41570
2014-07-10 19:28:45 +00:00
Felix Fietkau
a44b4e3ffb gcc: backport a fix for issues with accessing weak data references
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41569
2014-07-10 19:28:40 +00:00
John Crispin
1aeb77b9ee toolchain: only default eglibc for octeon and not all of mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41559
2014-07-10 19:16:09 +00:00
Felix Fietkau
0a30b910e4 musl: add sgidefs.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41399
2014-06-29 22:25:51 +00:00
Felix Fietkau
d7cf23694e musl: add a few more glibc types to includes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41398
2014-06-29 22:25:46 +00:00
Felix Fietkau
4beaccc7d0 musl: remove fake glibc defines
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41396
2014-06-29 22:25:40 +00:00
Felix Fietkau
4618044a52 musl: update to version 1.1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41394
2014-06-29 22:25:32 +00:00
Felix Fietkau
e602a4d4ea eglibc: temporarily disable parallel build until fixed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41374
2014-06-29 11:03:42 +00:00
John Crispin
f98b58fcec toolchain: make the default eglibc selection work even if TOOLCHAINOPTS is not enabled
default config build fail on octeon without this.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41273
2014-06-19 14:13:16 +00:00
John Crispin
c911cdcc04 toolchain: use different defaults for octeon
force eglibc and gcc4.6+linaro for octeon

Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

SVN-Revision: 41251
2014-06-18 10:07:53 +00:00
Felix Fietkau
4f03c52dd8 musl: fix toolchain build failure caused by some header changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41173
2014-06-12 20:30:37 +00:00
Felix Fietkau
d2675afecc musl: install a few extra headers to improve compatibility with various packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41056
2014-06-09 13:47:36 +00:00
Felix Fietkau
6b7ee13094 musl: update to version 1.1.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41044
2014-06-07 16:14:43 +00:00
Felix Fietkau
b1c3bf7cf0 toolchain/binutils: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41034
2014-06-06 10:51:40 +00:00
Felix Fietkau
0e9e8a141e eglibc: add support for other mips64 ABI variants as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40890
2014-05-31 13:00:46 +00:00
Felix Fietkau
777784bd97 eglibc: fix mips64 abi selection, default to o64 instead of n32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40888
2014-05-31 12:30:39 +00:00
Felix Fietkau
2e19fa0777 musl: add a hack to rip out excessive iconv bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40875
2014-05-28 23:18:47 +00:00
Felix Fietkau
62ca8ae777 gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40874
2014-05-28 22:40:31 +00:00
Felix Fietkau
95c615262c gcc: disable libsanitzier off_t check to fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40870
2014-05-28 21:33:30 +00:00
Felix Fietkau
8ad21a82e9 musl: update to version 1.1.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40820
2014-05-21 14:09:58 +00:00
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