Felix Fietkau
0f81020b97
gcc: use the -sf suffix for musl ldso on powerpc
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46313
9 years ago
Felix Fietkau
172374dbdd
musl: add powerpc soft-float support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46267
9 years ago
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
9 years ago
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
10 years ago
Matteo Croce
c37d7a7e8f
fix mklibs with musl
...
crate a relative symlink to libc.so because
make wildcard function ignores broken symlinks
SVN-Revision: 46123
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau
41c53d8f0c
musl: update to version 1.1.10+git
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46001
10 years ago
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
10 years ago
Felix Fietkau
3d35dfb782
Revert "musl: update to version 1.1.9" (r45754)
...
The current version seems to be broken on MIPS.
SVN-Revision: 45879
10 years ago
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
10 years ago
Felix Fietkau
5809da3c05
toolchain/musl: update to the latest version, adds aarch64 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45091
10 years ago
Felix Fietkau
8e20e09d1b
musl: update to version 1.1.6
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43977
10 years ago
Felix Fietkau
63176d7e1e
musl: merge changes from git, includes further getopt fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43939
10 years ago
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
10 years ago
Felix Fietkau
4d5218e083
musl: fix getopt optional argument processing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43009
10 years ago
Felix Fietkau
296563018c
musl: update to version 1.1.5
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42971
10 years ago
Felix Fietkau
4e074eac21
toolchain/musl: update to version 1.1.4
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41954
10 years ago
Felix Fietkau
0a30b910e4
musl: add sgidefs.h
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41399
11 years ago
Felix Fietkau
d7cf23694e
musl: add a few more glibc types to includes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41398
11 years ago
Felix Fietkau
4beaccc7d0
musl: remove fake glibc defines
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41396
11 years ago
Felix Fietkau
4618044a52
musl: update to version 1.1.3
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41394
11 years ago
Felix Fietkau
4f03c52dd8
musl: fix toolchain build failure caused by some header changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41173
11 years ago
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
11 years ago
Felix Fietkau
6b7ee13094
musl: update to version 1.1.2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41044
11 years ago
Felix Fietkau
2e19fa0777
musl: add a hack to rip out excessive iconv bloat
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40875
11 years ago
Felix Fietkau
8ad21a82e9
musl: update to version 1.1.1
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40820
11 years ago
Felix Fietkau
0f474633e1
musl: update to 1.0.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39962
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Luka Perkov
00b5a14567
toolchain/musl: add version 0.9.11
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37173
12 years ago
Felix Fietkau
a424aa6123
toolchain/musl: add version 0.9.10
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36591
12 years ago
Felix Fietkau
7054f27c6f
toolchain/musl: fix libstdc++ build issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36590
12 years ago
Felix Fietkau
5f14f32d8a
toolchain/musl: fix build issues on mac os x
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36588
12 years ago
Felix Fietkau
eac3474257
toolchain: get rid of musl version kconfig symbol overloading
...
SVN-Revision: 36359
12 years ago
Florian Fainelli
5a0f4a89eb
toolchain/musl: add support for 0.9.9
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35815
12 years ago
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
12 years ago
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
12 years ago
Florian Fainelli
629ba45a9b
toolchain/musl: update to 0.9.8
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34597
12 years ago
Florian Fainelli
f00891b96e
toolchain/musl: fix typo on configuration symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34596
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago