Luka Perkov
ba1d7fecf8
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 20:28:53 +00:00
Felix Fietkau
a55b541f1a
toolchain: switch back to uClibc for octeon, it actually works now
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:48:31 +00:00
Felix Fietkau
70569fa142
uClibc: fix copy&pasted typo in the stat fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:14:58 +00:00
Felix Fietkau
a228462671
uClibc: add a whole bunch of mips64 related fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:28:45 +00:00
Felix Fietkau
752fdaeb91
gcc: backport a fix for issues with accessing weak data references
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:28:40 +00:00
John Crispin
7033111078
toolchain: only default eglibc for octeon and not all of mips64
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:09 +00:00
Felix Fietkau
7e526d40a3
musl: add sgidefs.h
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:51 +00:00
Felix Fietkau
a5ed529363
musl: add a few more glibc types to includes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:46 +00:00
Felix Fietkau
7559e1db0c
musl: remove fake glibc defines
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:40 +00:00
Felix Fietkau
b44e6b3768
musl: update to version 1.1.3
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:32 +00:00
Felix Fietkau
3b978912c4
eglibc: temporarily disable parallel build until fixed
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 11:03:42 +00:00
John Crispin
bb3632cae7
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:16 +00:00
John Crispin
f2126e7f19
toolchain: use different defaults for octeon
...
force eglibc and gcc4.6+linaro for octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:53 +00:00
Felix Fietkau
039d815560
musl: fix toolchain build failure caused by some header changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 20:30:37 +00:00
Felix Fietkau
960251bb37
musl: install a few extra headers to improve compatibility with various packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:36 +00:00
Felix Fietkau
66f8828fb9
musl: update to version 1.1.2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 16:14:43 +00:00
Felix Fietkau
49058e0cfd
toolchain/binutils: remove obsolete patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 10:51:40 +00:00
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