Felix Fietkau
172374dbdd
musl: add powerpc soft-float support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46267
2015-07-08 12:06:03 +00:00
Felix Fietkau
cd5d45604f
musl: call a_crash() inside __stack_chk_fail_local instead of calling __stack_chk_fail
...
Fixes relocation errors on PowerPC
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46266
2015-07-08 12:05:55 +00:00
Felix Fietkau
2475351cb1
musl: update to latest git to fix MIPS and PowerPC TLS issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46134
2015-06-27 23:25:46 +00:00
Matteo Croce
c37d7a7e8f
fix mklibs with musl
...
crate a relative symlink to libc.so because
make wildcard function ignores broken symlinks
SVN-Revision: 46123
2015-06-25 10:14:22 +00:00
Steven Barth
1877bc9d8f
gcc/musl: rework SSP-support
...
Make musl provide libssp_nonshared.a and make GCC link it unconditionally
if musl is used. This should be a no-op if SSP is disabled and seems to be
the only reliable way of dealing with SSP over all packages due to the mess
that is linkerflags handling in packages.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46108
2015-06-22 10:31:07 +00:00
Steven Barth
eb73f4aed7
musl: update musl to 2015-06-20
...
Fixes a mips-regression and a missing SSP function
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46075
2015-06-20 18:36:50 +00:00
Steven Barth
b954c61d96
musl: apply hardening options (e.g. SSP) also to libc itself
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46073
2015-06-20 17:37:25 +00:00
Felix Fietkau
7b4d039e00
musl: read the timezone from /etc/TZ
...
Currently the OpenWRT boot scripts write the timezone configuration to
/tmp/TZ, relying on the behaviour of uClibc that the timezone is read
from /etc/TZ if no TZ env variable is found.
This works because /etc/TZ is a symlink to /tmp/TZ.
Musl libc however only reads the timezone from the TZ env variable and
if it doesn't find it or it's empty, it will look for a zoneinfo
file, that doesn't exist.
So in musl builds no timezone is ever set.
This patch fixes the issue by having musl libc behave like uClibc: if no
TZ env variable is found it will try to load it from /etc/TZ.
Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46069
2015-06-19 17:48:11 +00:00
Felix Fietkau
41c53d8f0c
musl: update to version 1.1.10+git
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46001
2015-06-16 11:55:23 +00:00
Felix Fietkau
555df40af9
musl: update to version 1.1.9
...
Patch to 2015-06-04 to fix ldso related regressions on PPC and MIPS.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45886
2015-06-04 20:08:39 +00:00
Felix Fietkau
3d35dfb782
Revert "musl: update to version 1.1.9" (r45754)
...
The current version seems to be broken on MIPS.
SVN-Revision: 45879
2015-06-03 00:22:51 +00:00
Felix Fietkau
8cff8c8b08
musl: update to version 1.1.9
...
Patch to 2015-05-25 to fix ldso related regressions on PPC and MIPS.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45754
2015-05-25 23:11:01 +00:00
Felix Fietkau
5809da3c05
toolchain/musl: update to the latest version, adds aarch64 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45091
2015-03-28 13:38:45 +00:00
Felix Fietkau
8e20e09d1b
musl: update to version 1.1.6
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43977
2015-01-15 21:40:44 +00:00
Felix Fietkau
63176d7e1e
musl: merge changes from git, includes further getopt fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43939
2015-01-11 18:25:23 +00:00
John Crispin
d49f9039f7
musl: add getopt support for non-option arguments
...
musl libc doesn't support the GNU getopt extension to parse non-option
arguments when the optstring starts with '-'.
This extension is used by some utilities, notably iptables, that
currently return with errors even with perfectly valid invocations.
The patch adds the code needed by getopt.c and getopt_long.c to
implement that extension.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
SVN-Revision: 43309
2014-11-19 09:21:02 +00:00
Felix Fietkau
4d5218e083
musl: fix getopt optional argument processing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43009
2014-10-21 11:03:20 +00:00
Felix Fietkau
296563018c
musl: update to version 1.1.5
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42971
2014-10-19 21:45:41 +00:00
Felix Fietkau
4e074eac21
toolchain/musl: update to version 1.1.4
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41954
2014-08-02 20:27:52 +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
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
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
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
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
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
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
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
a424aa6123
toolchain/musl: add version 0.9.10
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36591
2013-05-09 20:34:21 +00:00
Felix Fietkau
7054f27c6f
toolchain/musl: fix libstdc++ build issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36590
2013-05-09 20:02:57 +00:00
Felix Fietkau
5f14f32d8a
toolchain/musl: fix build issues on mac os x
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36588
2013-05-09 19:26:53 +00:00
Felix Fietkau
eac3474257
toolchain: get rid of musl version kconfig symbol overloading
...
SVN-Revision: 36359
2013-04-18 12:05:02 +00:00
Florian Fainelli
5a0f4a89eb
toolchain/musl: add support for 0.9.9
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35815
2013-02-26 16:40:27 +00:00
Florian Fainelli
b550ade727
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>
SVN-Revision: 35404
2013-01-29 23:05:40 +00:00
Florian Fainelli
61f19f555f
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>
SVN-Revision: 34598
2012-12-10 14:24:24 +00:00
Florian Fainelli
629ba45a9b
toolchain/musl: update to 0.9.8
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34597
2012-12-10 14:24:21 +00:00
Florian Fainelli
f00891b96e
toolchain/musl: fix typo on configuration symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34596
2012-12-10 14:24:17 +00:00
Florian Fainelli
2a01fa43a5
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>
SVN-Revision: 34318
2012-11-23 22:43:11 +00:00
Florian Fainelli
970756c6d7
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>
SVN-Revision: 34317
2012-11-23 21:15:11 +00:00
Florian Fainelli
6b63716262
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>
SVN-Revision: 34314
2012-11-23 20:02:29 +00:00