Felix Fietkau
58ab3ad6b0
musl: update to version 1.1.11
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46772
9 years ago
Steven Barth
a6dc587cf6
musl: fix getsubopt function
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46684
9 years ago
Hauke Mehrtens
32c3af6a19
toolchain: gcc: add gcc 5.2.0
...
This was boot tested on mipsel32, arm32 and x86 only.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46611
9 years ago
Felix Fietkau
5537698be1
musl: update to latest git version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46481
9 years ago
Steven Barth
bee26ca0de
fortify-headers: update to 0.7
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46480
9 years ago
John Crispin
b2739f37d6
toolchain: fix gcc 4.6 build with gcc5
...
build error:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
observed on Arch Linux
affected versions gcc 4.6, gcc 4.7
reported & fixed in DragonFlyBSD issue #136
https://github.com/DragonFlyBSD/DPorts/issues/136
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46355
9 years ago
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
05ae45ac6f
toolchain/gdb: use expat library to be able to parse target machine definitions
...
Fixes gdbserver debugging with at least mvebu, possibly others
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46298
9 years ago
Felix Fietkau
91c3ad77cf
toolchain/gdb: update to 7.8, sync with target package version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46296
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
Steven Barth
9caaed9141
toolchain: binutils: enhance build reproducability
...
built toolchain utilities will always operate in deterministic mode:
https://sourceware.org/binutils/docs-2.25/binutils/ar-cmdline.html
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46137
10 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
9bdae8fc1e
fortify-headers: fix compatibility with -pedantic
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46122
10 years ago
Steven Barth
2738526a16
toolchain: add fortify-headers, enable FORTIFY_SOURCE by default
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46117
10 years ago
Jonas Gorski
2086f7284c
uclibc: fix _HAS_SSP replacement regex
...
A dot was dropped, making it match too much.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46116
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
Felix Fietkau
3a237d638e
toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARM
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46089
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
Steven Barth
cfdadd3e1d
gcc: musl comes with its own SSP, so use it instead of libssp
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46071
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
Steven Barth
2fb09857e1
uclibc: unbreak after enabling SSP
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46034
10 years ago
Steven Barth
19810a5145
hardening: enable regular SSP support by default
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46020
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
a778060392
toolchain: switch to musl by default, except for mips64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45995
10 years ago
Imre Kaloz
e856d62d0a
toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45944
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
f0150c65d0
uClibc: elf: Add STT_GNU_IFUNC from glibc
...
perf in upstream Linux kernel 3.17 onwards expects STT_GNU_IFUNC
replicate it from glibc
Patch cherry-picked from:
http://lists.busybox.net/pipermail/uclibc/2015-February/048825.html
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45752
10 years ago
John Crispin
6ab2bcfe72
uClibc: add signal info for seccomp related SIGSYS
...
uClibc doesn't define signal info for the SIGSYS signal which is issued
in case of hitting a syscall prohibited by seccomp.
This is sad as it makes debugging seccomp filter policies impossible on
some architectures (at least ARM and PowerPC, maybe also others) which
do not coincidentally set si_value.sival_int as the syscall number.
To fix this, import the definitions and macros needed from glibc.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45720
10 years ago
Felix Fietkau
4c5f965c74
toolchain: change default emulation for mips64 (octeon) to n64
...
fixes several ld errors reported by buildbot:
http://buildbot.openwrt.org:8010/broken_packages/octeon/mdnsresponder/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/luasocket/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/luasec/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/openvswitch/compile.txt
http://buildbot.openwrt.org:8010/broken_packages/octeon/prosody/compile.txt
link error:
ABI is incompatible with that of the selected emulation
found at OE toolchain for bintils 2.22:
http://patchwork.openembedded.org/patch/28033/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45666
10 years ago
Felix Fietkau
64661de100
gcc: add some size optimization patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45664
10 years ago
Nicolas Thill
6a5a7db085
uClibc: backport sync_file_range fixes ( closes : #19350 )
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45249
10 years ago
Felix Fietkau
4ecc5c8ffe
uclibc: backport an upstream i386 syscall fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45137
10 years ago
Felix Fietkau
b97c3b0249
uClibc: add another missing backport patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45102
10 years ago
Felix Fietkau
19150d393d
toolchain/uClibc: backport madvise and fallocate ( fixes #19336 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45100
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
John Crispin
b98c198883
toolchain: fix eglibc build when TOOLCHAINOPTS is not set
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45015
10 years ago
John Crispin
384eb8ce7d
uclibc: add LD_PRELOAD support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45004
10 years ago
Felix Fietkau
2efb6be426
toolchain/glibc: remove broken eglibc 2.15 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44976
10 years ago
Felix Fietkau
793a451584
toolchain: remove obsolete references to the cris architecture
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44964
10 years ago
Felix Fietkau
85a3512150
toolchain: remove obsolete !avr32 dependency
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44962
10 years ago
Felix Fietkau
3a52795531
uClibc: remove avr32 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44961
10 years ago
Felix Fietkau
755a90344e
binutils: remove version 2.20.1 (only used by avr32)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44960
10 years ago
Felix Fietkau
76bf68fa52
binutils: remove defunct binutils default version selection for aarch64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44958
10 years ago
Felix Fietkau
fc2bd07260
gcc: remove 4.4.7 (only used by avr32)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44957
10 years ago
Felix Fietkau
a80c80580c
toolchain/kernel-headers: remove an obsolete patch directory
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44871
10 years ago