aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* musl: add a hack to remove unused crypt() algorithms, saves ~14k after lzmaFelix Fietkau2015-09-081-0/+110
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add missing powerpc patch for 5.2.0Felix Fietkau2015-09-071-0/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove 4.6.3 leftoversFelix Fietkau2015-09-062-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-0636-1304/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add ARM codegen fix from PR 65932Felix Fietkau2015-09-032-1/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to version 1.1.11Felix Fietkau2015-09-027-3180/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: fix getsubopt functionSteven Barth2015-08-181-0/+29
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: add gcc 5.2.0Hauke Mehrtens2015-08-1633-0/+1275
| | | | | | | | | This was boot tested on mipsel32, arm32 and x86 only. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to latest git versionFelix Fietkau2015-07-245-214/+829
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fortify-headers: update to 0.7Steven Barth2015-07-243-150/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix gcc 4.6 build with gcc5John Crispin2015-07-145-6/+27
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-123-6/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gdb: use expat library to be able to parse target machine definitionsFelix Fietkau2015-07-101-16/+14
| | | | | | | | Fixes gdbserver debugging with at least mvebu, possibly others Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gdb: update to 7.8, sync with target package versionFelix Fietkau2015-07-106-49/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: add powerpc soft-float supportFelix Fietkau2015-07-081-0/+141
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: call a_crash() inside __stack_chk_fail_local instead of calling ↵Felix Fietkau2015-07-081-2/+2
| | | | | | | | | | __stack_chk_fail Fixes relocation errors on PowerPC Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: binutils: enhance build reproducabilitySteven Barth2015-06-291-0/+1
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to latest git to fix MIPS and PowerPC TLS issuesFelix Fietkau2015-06-271-137/+392
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mklibs with muslMatteo Croce2015-06-251-0/+11
| | | | | | | crate a relative symlink to libc.so because make wildcard function ignores broken symlinks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fortify-headers: fix compatibility with -pedanticSteven Barth2015-06-241-0/+122
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-233-1/+55
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc: fix _HAS_SSP replacement regexJonas Gorski2015-06-231-1/+1
| | | | | | | | A dot was dropped, making it match too much. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc/musl: rework SSP-supportSteven Barth2015-06-224-12/+73
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARMFelix Fietkau2015-06-211-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update musl to 2015-06-20Steven Barth2015-06-201-73/+763
| | | | | | | | Fixes a mips-regression and a missing SSP function Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: apply hardening options (e.g. SSP) also to libc itselfSteven Barth2015-06-201-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: musl comes with its own SSP, so use it instead of libsspSteven Barth2015-06-202-0/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: read the timezone from /etc/TZFelix Fietkau2015-06-191-0/+28
| | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc: unbreak after enabling SSPSteven Barth2015-06-182-1/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hardening: enable regular SSP support by defaultSteven Barth2015-06-171-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to version 1.1.10+gitFelix Fietkau2015-06-165-2023/+1586
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: switch to musl by default, except for mips64Felix Fietkau2015-06-151-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03Imre Kaloz2015-06-1116-38/+34
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to version 1.1.9Felix Fietkau2015-06-045-101/+2023
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "musl: update to version 1.1.9" (r45754)Felix Fietkau2015-06-034-807/+95
| | | | | | The current version seems to be broken on MIPS. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to version 1.1.9Felix Fietkau2015-05-254-95/+807
| | | | | | | | Patch to 2015-05-25 to fix ldso related regressions on PPC and MIPS. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: elf: Add STT_GNU_IFUNC from glibcFelix Fietkau2015-05-251-0/+37
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: add signal info for seccomp related SIGSYSJohn Crispin2015-05-231-0/+145
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: change default emulation for mips64 (octeon) to n64Felix Fietkau2015-05-101-0/+37
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add some size optimization patchesFelix Fietkau2015-05-104-0/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: backport sync_file_range fixes (closes: #19350)Nicolas Thill2015-04-021-0/+57
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc: backport an upstream i386 syscall fixFelix Fietkau2015-03-291-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: add another missing backport patchFelix Fietkau2015-03-294-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: backport madvise and fallocate (fixes #19336)Felix Fietkau2015-03-299-40/+811
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/musl: update to the latest version, adds aarch64 supportFelix Fietkau2015-03-284-3/+96
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix eglibc build when TOOLCHAINOPTS is not setJohn Crispin2015-03-261-1/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc: add LD_PRELOAD supportJohn Crispin2015-03-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/glibc: remove broken eglibc 2.15 supportFelix Fietkau2015-03-253-20/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete references to the cris architectureFelix Fietkau2015-03-243-18/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete !avr32 dependencyFelix Fietkau2015-03-241-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44962 3c298f89-4303-0410-b956-a3cf2f4a3e73