aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* 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
* uClibc: remove avr32 supportFelix Fietkau2015-03-243-23/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove version 2.20.1 (only used by avr32)Felix Fietkau2015-03-2410-31205/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove defunct binutils default version selection for aarch64Felix Fietkau2015-03-241-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove 4.4.7 (only used by avr32)Felix Fietkau2015-03-2417-23285/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/kernel-headers: remove an obsolete patch directoryFelix Fietkau2015-03-171-24/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-154-84/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: r44701 accidentially removed the uclibc default when ↵John Crispin2015-03-151-0/+1
| | | | | | | | TOOLCHAINOPTS is set Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* glibc: make it more obvious that eglibc is a version of glibcJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* glibc: remove accidentally commited folderJohn Crispin2015-03-1210-382/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-1231-51/+518
| | | | | | | | | | | It's the eglibc packaging with a bit of spit-polishing. And testing. :-) [blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant] Signed-off-by: Jeff Waugh <jdub@bethesignal.org> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73