summaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* musl: add upstream patch for open_[w]memstreamJohn Crispin2015-11-021-0/+79
| | | | | | | | | | This patch fixes corner case in open_memstrem, when stream is created, but nothing is written. This case is present in tgtadm, tgtd management tool. Signed-off-by: Maxim Storchak <m.storchak@gmail.com> SVN-Revision: 47339
* uClibc: enable xattr support to make feature sets of libc implementations ↵John Crispin2015-10-262-2/+2
| | | | | | | | | | closer to each other Size increase is about 3-4k: this is how big xattr.os in uClibc after stripping is. Signed-off-by: Maxim Storchak <m.storchak@gmail.com> SVN-Revision: 47271
* musl: re-enable des crypto support, fixes pppd MPPE issuesFelix Fietkau2015-10-011-56/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47078
* toolchain/uClibc: add support of uClibc-ngFelix Fietkau2015-10-0126-3/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uClibc-ng is a spin-off of original uClibc, see http://www.uclibc-ng.org/ We try to regularly add changes from uClibc to uClibc-ng. We even sent patches and bug reports to the uClibc mailing list. The config file is compatible between uClibc-ng 1.0 and uClibc git master. This might change in the future. Our main goal is to provide regularly a stable and tested release to make embedded system developers happy. The main advantage of uClibc-ng over olde good uClibc is regular releases so there's no need to keep tons of patches on top of years old 0.9.33.2 Build-tested for [1] ARM: Sunxi generic [2] MIPS: Netgear WNDR3600/3700/3800 Run-tested for [yet out of the tree] Synopsys Designware ARC AXS101. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Waldemar Brodkorb <wbx@uclibc-ng.org> Cc: Mathieu Olivari <mathieu@codeaurora.org> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> SVN-Revision: 47077
* gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch ↵Felix Fietkau2015-09-221-0/+13
| | | | | | | | (fixes #20501) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47024
* gcc: use qstrip template to fix syntax highlightingFelix Fietkau2015-09-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47023
* musl: fix build on sh3Felix Fietkau2015-09-211-0/+6
| | | | | | | | | 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
* binutils: fix name of Binutils 2.25.1Hauke Mehrtens2015-09-151-1/+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
* Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental ↵Felix Fietkau2015-09-131-141/+0
| | | | | | commit) SVN-Revision: 46898
* gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)Felix Fietkau2015-09-131-0/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46897
* musl: fix termios struct c_ispeed/c_ospeed field namesFelix Fietkau2015-09-131-0/+141
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46896
* binutils: add binutils 2.25.1Hauke Mehrtens2015-09-116-6/+116
| | | | | | | | This adds binutils 2.25.1 as an option to OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46874
* gcc: update gcc 5.x musl patchesHauke Mehrtens2015-09-1115-200/+612
| | | | | | | | | 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
* 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> SVN-Revision: 46816
* gcc: add missing powerpc patch for 5.2.0Felix Fietkau2015-09-071-0/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46800
* gcc: remove 4.6.3 leftoversFelix Fietkau2015-09-062-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46799
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-0636-1304/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46798
* gcc: add ARM codegen fix from PR 65932Felix Fietkau2015-09-032-1/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46774
* musl: update to version 1.1.11Felix Fietkau2015-09-027-3180/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46772
* musl: fix getsubopt functionSteven Barth2015-08-181-0/+29
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46684
* 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> SVN-Revision: 46611
* musl: update to latest git versionFelix Fietkau2015-07-245-214/+829
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46481
* fortify-headers: update to 0.7Steven Barth2015-07-243-150/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46480
* 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> SVN-Revision: 46355
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-123-6/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46313
* 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> SVN-Revision: 46298
* toolchain/gdb: update to 7.8, sync with target package versionFelix Fietkau2015-07-106-49/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46296
* musl: add powerpc soft-float supportFelix Fietkau2015-07-081-0/+141
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46267
* 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> SVN-Revision: 46266
* 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> SVN-Revision: 46137
* 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> SVN-Revision: 46134
* fix mklibs with muslMatteo Croce2015-06-251-0/+11
| | | | | | | crate a relative symlink to libc.so because make wildcard function ignores broken symlinks SVN-Revision: 46123
* fortify-headers: fix compatibility with -pedanticSteven Barth2015-06-241-0/+122
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46122
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-233-1/+55
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46117
* 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> SVN-Revision: 46116
* 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> SVN-Revision: 46108
* 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> SVN-Revision: 46089
* 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> SVN-Revision: 46075
* musl: apply hardening options (e.g. SSP) also to libc itselfSteven Barth2015-06-201-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46073
* 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> SVN-Revision: 46071
* 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> SVN-Revision: 46069
* uclibc: unbreak after enabling SSPSteven Barth2015-06-182-1/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46034
* hardening: enable regular SSP support by defaultSteven Barth2015-06-171-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46020
* musl: update to version 1.1.10+gitFelix Fietkau2015-06-165-2023/+1586
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46001
* toolchain: switch to musl by default, except for mips64Felix Fietkau2015-06-151-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45995
* 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> SVN-Revision: 45944
* 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> SVN-Revision: 45886
* Revert "musl: update to version 1.1.9" (r45754)Felix Fietkau2015-06-034-807/+95
| | | | | | The current version seems to be broken on MIPS. SVN-Revision: 45879
* 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> SVN-Revision: 45754
* 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> SVN-Revision: 45752