Felix Fietkau
8f57c55993
musl: fix build on sh3
...
musl fails to build when compiled with gcc on sh3 (GCC target/#67260).
Work it around.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 47012
9 years ago
Hauke Mehrtens
e2ffe8f1b9
binutils: fix name of Binutils 2.25.1
...
The Binutils version 2.25.1 was not a Linaro version, but a normal
upstream Binutils version, fix the name.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
SVN-Revision: 46946
9 years ago
Felix Fietkau
0c2f21d303
Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)
...
SVN-Revision: 46898
9 years ago
Felix Fietkau
ed1e87ae2e
gcc: fix path to powerpc musl dynamic linker with 5.2 ( #20501 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46897
9 years ago
Felix Fietkau
5dd5a2990e
musl: fix termios struct c_ispeed/c_ospeed field names
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46896
9 years ago
Hauke Mehrtens
98e00f8fdd
binutils: add binutils 2.25.1
...
This adds binutils 2.25.1 as an option to OpenWrt.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46874
9 years ago
Hauke Mehrtens
0fdb4a458b
gcc: update gcc 5.x musl patches
...
This replaces the musl patches for gcc with the versions which are in
gcc trunk.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46873
9 years ago
Felix Fietkau
9365745f8e
musl: add a hack to remove unused crypt() algorithms, saves ~14k after lzma
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46816
9 years ago
Felix Fietkau
d571f17129
gcc: add missing powerpc patch for 5.2.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46800
9 years ago
Felix Fietkau
4077850c7d
gcc: remove 4.6.3 leftovers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46799
9 years ago
Felix Fietkau
400fb6cadc
gcc: remove version 4.9-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46798
9 years ago
Felix Fietkau
86ba95601a
gcc: add ARM codegen fix from PR 65932
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46774
9 years ago
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
10 years ago
Steven Barth
bee26ca0de
fortify-headers: update to 0.7
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46480
10 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
10 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
10 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
10 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
10 years ago
Felix Fietkau
172374dbdd
musl: add powerpc soft-float support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46267
10 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
10 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