aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/binutils: add binutils 2.36.1DENG Qingfang2021-05-016-1/+91
| | | | | | Add binutils version 2.36.1 Signed-off-by: DENG Qingfang <dqfext@gmail.com>
* toolchain/binutils: update to 2.35.2DENG Qingfang2021-05-016-7/+7
| | | | | | Update binutils 2.35 to 2.35.2 Signed-off-by: DENG Qingfang <dqfext@gmail.com>
* toolchain/gdb: fix compilation with ccacheRosen Penev2021-04-171-0/+1
| | | | | | | | | | For some reason, one of the configure checks results in some infinite loop and ends up spawning endless gcc processes, causing OOM. Just pass a configure var to avoid it. Same fix as 6e23813c1ed7494a9da3b5e59cfcafd71097c420 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glibc: update to latest 2.33 commitHans Dedecker2021-04-171-2/+2
| | | | | | | | | | | | | | | | | | | 12ff80b312 Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h 1bf38e7260 Fix SXID_ERASE behavior in setuid programs (BZ #27471) a7b8e8ec9b Enhance setuid-tunables test ee16c81063 tst-env-setuid: Use support_capture_subprogram_self_sgid 267e174f19 support: Add capability to fork an sgid child 249c486ce8 support: Pass environ to child process 45b2c57d34 support: Typo and formatting fixes e07abf59b2 tunables: Fix comparison of tunable values 3e9ca60a58 linux: always update select timeout (BZ #27706) 8380ca5833 linux: Normalize and return timeout on select (BZ #27651) 85e4dc415a libsupport: Add support_select_normalizes_timeout b5b4aa62c1 libsupport: Add support_select_modifies_timeout 3d525dd639 misc: Fix tst-select timeout handling (BZ#27648) 830674605f tst: Provide test for select Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain: gcc: Update to version 10.3.0Hauke Mehrtens2021-04-1120-6/+6
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* glibc: update to latest git HEAD (BZ #27468, BZ #27511)Hans Dedecker2021-04-051-2/+2
| | | | | | | | e78ea9bd26 Update Nios II libm-test-ulps. 98bb18f52a malloc: Fix a realloc crash with heap tagging [BZ 27468] fc4ecce85b S390: Also check vector support in memmove ifunc-selector [BZ #27511] Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: update to latest 2.33 commitHans Dedecker2021-03-201-2/+2
| | | | | | | | | | | | db32fc27e7 test-container: Always copy test-specific support files [BZ #27537] 79c6be6a0a nptl: Remove private futex optimization [BZ #27304] f90d6b0484 pthread_once hangs when init routine throws an exception [BZ #18435] dd8023c2ac elf: ld.so --help calls _dl_init_paths without a main map [BZ #27577] ea5a537e87 elf: Always set l in _dl_init_paths (bug 23462) 64f6c287ad x86: Handle _SC_LEVEL1_ICACHE_LINESIZE [BZ #27444] 32b9280f1d io: Return EBAFD for negative file descriptor on fstat (BZ #27559) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* binutils: fix compilation with ccacheRosen Penev2021-03-191-0/+3
| | | | | | | | For some reason, one of the configure checks results in some infinite loop and ends up spawning endless gcc processes, causing OOM. Just pass a configure var to avoid it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glibc: update to latest 2.33 commit (BZ #27462, BZ #27318, BZ #27389)Hans Dedecker2021-03-101-2/+2
| | | | | | | | | | | | | a151f2e05a nscd: Fix double free in netgroupcache [BZ #27462] ee9f98d9ca x86: Set minimum x86-64 level marker [BZ #27318] 3e880d7337 nss: Re-enable NSS module loading after chroot [BZ #27389] 71b2463f61 x86: Add CPU-specific diagnostics to ld.so --list-diagnostics a1eb3915e7 x86: Automate generation of PREFERRED_FEATURE_INDEX_1 bitfield 33dc1dd602 ld.so: Implement the --list-diagnostics option 8d4241b897 string: Work around GCC PR 98512 in rawmemchr 6efa2d44c8 S390: Add new hwcap values. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* Revert "toolchain: add autoconf-lean"Daniel Golle2021-03-025-1838/+1
| | | | | | | | autoconf-lean was not ready yet. Revert it until things get sorted. This reverts commit 32c664ff02910bf39a3fbd5a5a4a8bff3191dd03. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Revert "toolchain/autoconf-lean: add check for ssize_t"Daniel Golle2021-03-021-2/+1
| | | | | | This reverts commit 6b7b064492ddf339d0213779fb84d50ee3dc5eb7. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* toolchain/autoconf-lean: add check for ssize_tSebastian Kemper2021-03-011-1/+2
| | | | | | | This was provided by the old static config.site files and is required by some software, i.e. freeswitch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* toolchain: add autoconf-leanFelix Fietkau2021-02-285-1/+1838
| | | | | | Use it to generate a more comprehensive configure sitefile Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: update to latest 2.33 commitHans Dedecker2021-02-131-2/+2
| | | | | | | | c5e3545897 tunables: Disallow negative values for some tunables 905fdc7071 x86: Use SIZE_MAX instead of (long int)-1 for tunable range value 15afd6b8d8 tunables: Simplify TUNABLE_SET interface Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: update to 2.33Curtis Deptuck2021-02-091-3/+3
| | | | | | | | | | ChangeLog: https://sourceware.org/pipermail/libc-alpha/2021-February/122207.html Refresh patch: None required Signed-off-by: Curtis Deptuck <curtdept@me.com>
* glibc: update to latest 2.32 commit (bug 27256)Hans Dedecker2021-01-311-2/+2
| | | | | | 760e1d2878 gconv: Fix assertion failure in ISO-2022-JP-3 module (bug 27256) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/libstdcpp: disable dual ABI and default to newRosen Penev2021-01-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | GCC 5.1 changed the std::string ABI in order to properly support C++11. For compatibility with libraries compiled with the older ABI, that is, linking between old-abi.so and new-abi.bin, both ABIs are enabled. In terms of OpenWrt, all packages are compiled with the same toolchain, which means these issues do not need to be handled. Most importantly, this results in a significant size reduction of libstdpp: Before: 450794 bytes After: 327752 bytes Tested with all OpenWrt packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glibc: update to latest 2.32 commit (BZ#2692 BZ#26988 BZ#26831 BZ#2706)Hans Dedecker2021-01-231-2/+2
| | | | | | | | | | | | d3cb8f6222 aarch64: fix static PIE start code for BTI [BZ #27068] 082798622d __vfscanf_internal: fix aliasing violation (bug 26690) 33dc30bc83 aarch64: Use mmap to add PROT_BTI instead of mprotect [BZ #26831] 46e1e64fe3 elf: Pass the fd to note processing b6eae83717 elf: Move note processing after l_phdr is updated c6090dcebd aarch64: align address for BTI protection [BZ #26988] 610e2c5150 aarch64: Fix missing BTI protection from dependencies [BZ #26926] Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: update to latest 2.32 commit (BZ #20019, BZ #27177, BZ #27130)Hans Dedecker2021-01-151-2/+2
| | | | | | | | | 4c619b3eed x86: Check IFUNC definition in unrelocated executable [BZ #20019] 87450ecf8a x86: Set header.feature_1 in TCB for always-on CET [BZ #27177] 2b4f67c2b3 Update for [BZ #27130] fix 1a24bbd43e x86-64: Avoid rep movsb with short distance [BZ #27130] Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: add arc700 patchRosen Penev2021-01-144-58/+87
| | | | | | | | | glibc does not officially support ARC700 so this adds the missing pieces. I looked at uClibc-ng and a patch by Synopsis for glibc. ran make toolchain/glibc/refresh to clean up fuzz. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glibc: update to latest 2.32 commit (BZ #24973)Hans Dedecker2021-01-101-2/+2
| | | | | | 0d9793e82a Fix buffer overrun in EUC-KR conversion module (bz #24973) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: update to latest 2.32 commitHans Dedecker2020-12-301-2/+2
| | | | | | 1d49bede4d tests-mcheck: New variable to run tests with MALLOC_CHECK_=3 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain: Fix glibc selection on ARC targetsHauke Mehrtens2020-12-231-0/+1
| | | | | | | | Without this change no libc is selected and the build will fail. This will select glibc for ARC CPUs. Fixes: 95f1002acab5 ("toolchain: default to glibc for ARC") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain: remove uClibc-ngRosen Penev2020-12-2230-593/+0
| | | | | | | | After musl was introduced, it was desired to remove uClibc-ng. As ARC has no musl support, it was kept around. However, glibc 2.32 includes ARC support. This makes it possible to finally remove it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain: remove uClibc-ng config stuffRosen Penev2020-12-222-22/+0
| | | | | | This is in preparation for removing it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain: default to glibc for ARCRosen Penev2020-12-221-2/+1
| | | | | | | | glibc 2.32 gained support for the ARC architecture. This is preparation for removing uClibc-ng. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain: gcc: Remove support for GCC 5Hauke Mehrtens2020-12-1644-3306/+1
| | | | | | | | | | | | GCC was used in 17.01 as the default compiler the last time. We do not test this old GCC version any more and there are some known problems it fails to compile the U-Boot for the Allwinner A64 SoC. Just remove it to make it clear that we will not support this old GCC version any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Paul Spooren <mail@aparcar.org>
* glibc: update to latest 2.32 commit (BZ# 26224)Hans Dedecker2020-12-051-2/+2
| | | | | | | | 050022910b iconv: Accept redundant shift sequences in IBM1364 [BZ #26224] ac0a6929c5 sh: Add sh4 fpu Implies folder 3ea24955bf struct _Unwind_Exception alignment should not depend on compiler flags Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain: musl: refresh patchesHauke Mehrtens2020-12-022-15/+6
| | | | | | Refresh the musl patches Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain: kernel-headers: kernel Git tree mirror hashPetr Štetiar2020-11-271-0/+1
| | | | | | Allow setting of mirror hash for Git kernel tree. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* toolchain: kernel-headers: fix check target for kernel Git treePetr Štetiar2020-11-271-2/+9
| | | | | | | | | | | | | Currently the check target fails if the kernel Git tree is used: $ make toolchain/kernel-headers/{download,check} make[2]: Entering directory 'toolchain/kernel-headers' Makefile:105: *** ERROR: Unknown pack format for file openwrt/tmp/dl/. Stop. make[2]: Leaving directory 'toolchain/kernel-headers' toolchain/Makefile:100: recipe for target 'toolchain/kernel-headers/check' failed Signed-off-by: Petr Štetiar <ynezz@true.cz>
* musl: handle wcsnrtombs destination buffer overflow (CVE-2020-28928)Petr Štetiar2020-11-202-1/+66
| | | | | | | | | | | | | | | | | | The wcsnrtombs function in all musl libc versions up through 1.2.1 has been found to have multiple bugs in handling of destination buffer size when limiting the input character count, which can lead to infinite loop with no forward progress (no overflow) or writing past the end of the destination buffera. This function is not used internally in musl and is not widely used, but does appear in some applications. The non-input-limiting form wcsrtombs is not affected. All users of musl 1.2.1 and prior versions should apply the attached patch, which replaces the overly complex and erroneous implementation. The upcoming 1.2.2 release will adopt this new implementation. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* glibc: update to latest 2.32 commit (BZ #25399)Hans Dedecker2020-11-121-2/+2
| | | | | | | | | | | | 5c36293f06 resolv: Serialize processing in resolv/tst-resolv-txnid-collision 2dfa659a66 resolv: Handle transaction ID collisions in parallel queries (bug 26600) 05c025abca support: Provide a way to clear the RA bit in DNS server responses f688bcd83d support: Provide a way to reorder responses within the DNS test server eba0ce6058 Remove __warndecl 5337b2af4b Remove __warn_memset_zero_len [BZ #25399] c6e794640c aarch64: Add unwind information to _start (bug 26853) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: update to latest stable version 2.32Hans Dedecker2020-11-073-80/+81
| | | | | | | | refresh patches : 050-Revert-Disallow-use-of-DES-encryption-functions-in-n.patch 00-fix_cross_rpcgen.patch Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain: gdb: Remove ARC patchesHauke Mehrtens2020-11-013-64/+0
| | | | | | | The ARC specific gdb was removed some time ago. Fixes: 969690b33c56 ("toolchain/gdb: Don't use gdb-arc") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain: gdb: Disable testsHauke Mehrtens2020-11-012-21/+2
| | | | | | | | Instead of patching the tests out, just remove them with a configure option. No files were generates in the testsuite and unit-test directories. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain: gdb: Update to version 10.1Hauke Mehrtens2020-11-014-34/+10
| | | | | | | | | | | gdb 10.1 adds many new features for example gdbserver support for - ARC GNU/Linux - RISC-V GNU/Linux Removed this patch, because similar changes are now integrated upstream: toolchain/gdb/patches/100-no_extern_inline.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* glibc: update to latest 2.31 commitHans Dedecker2020-10-201-2/+2
| | | | | | | | | | | 4bc9918c99 AArch64: Use __memcpy_simd on Neoverse N2/V1 4722d1fb9d [AArch64] Improve integer memcpy bea507a3f5 AArch64: Rename IS_ARES to IS_NEOVERSE_N1 d0a5b76902 AArch64: Improve backwards memmove performance 24a30c5959 AArch64: Add optimized Q-register memcpy 88db98fa6e AArch64: Align ENTRY to a cacheline Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: update to latest 2.31 commit [BZ #26383]Hans Dedecker2020-10-121-2/+2
| | | | | | 32965a46ce intl: Handle translation output codesets with suffixes [BZ #26383] Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/binutils: update to 2.35.1DENG Qingfang2020-10-046-7/+7
| | | | | | Update binutils 2.35 to 2.35.1 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* toolchain: nasm: update to 2.15.05Daniel Golle2020-09-281-2/+2
| | | | | | Compile-tested libx264 and ffmpeg with x86-asm, worked fine. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* toolchain: Update GCC 10 to version 10.2.0DENG Qingfang2020-08-3120-4/+4
| | | | Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* toolchain/binutils: add binutils 2.35DENG Qingfang2020-08-316-0/+90
| | | | | | Add binutils version 2.35 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* musl: add common glibc extention for nftwTony Ambardar2020-08-312-1/+103
| | | | | | | | | Add FTW_ACTIONRETVAL mode and update nftw library for walking file trees. Update needed to build bpftool userspace utility from Linux kernel source. Also increment PKG_RELEASE. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* uClibc-ng: refresh config and remove several legacy optionsRosen Penev2020-08-2422-159/+4
| | | | | | | | | | | | SUSV3_LEGACY_MACROS are completely unused since SUSV3_LEGACY is enabled HAS_OBSOLETE_BSD_SIGNAL is completely deprecated functionality. HAS_BSD_RES_CLOSE is completely deprecated functionality. HAS_FTW is deprecated SUSV4 functionality. Saves ~4.5kb. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* uClibc-ng: update package from 1.0.31 to 1.0.34Donald Hoskins2020-08-241-2/+2
| | | | | | | | | | Update package from 1.0.31 to 1.0.34 Tested mips64/octeonplus/octeon3 Build against: OpenWrt SNAPSHOT r13871-546e140382 / LuCI Master git-20.186.79919-0c47989 Build Kernel: 5.4.51 Signed-off-by: Donald Hoskins <grommish@gmail.com>
* toolchain/binutils: fix broken build of binutils 2.34 on mips64Tony Ambardar2020-08-101-1/+1
| | | | | | | | | | | | | Commit 53470bdf32 ("toolchain/binutils: Add binutils 2.34") logs refreshed patches, but also adds a typo causing failed builds on mipsel64 platforms, including the malta subtarget. Update the patch to fix this. This fixes the following build error: make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'. Stop. Fixes: FS#3276 Fixes: 53470bdf32 ("toolchain/binutils: Add binutils 2.34") Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* glibc: update to latest 2.31 commit [BZ #19519 BZ #26332 BZ #26248]Hans Dedecker2020-08-061-2/+2
| | | | | | | | | | 6fdf971c9d Add NEWS entry for CVE-2016-10228 (bug 19519) 70d585151c Rewrite iconv option parsing [BZ #19519] 1c8efe848b powerpc: Fix incorrect cache line size load in memset (bug 26332) 7611339a9b nptl: Zero-extend arguments to SETXID syscalls [BZ #26248] 21b760cc2f Disable warnings due to deprecated libselinux symbols used by nss and nscd Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/binutils: remove versions 2.29.1 and 2.31.1Adrian Schmutzler2020-08-0312-496/+0
| | | | | | | | We currently support four versions of binutils in parallel. Let's just keep the latest two and drop the older ones before the next one comes around. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* toolchain: add PKG_RELEASE if local filesPaul Spooren2020-07-293-3/+6
| | | | | | | | | | | | | | | | | | | The toolchain packages partly contain local code like patches and configuration files. These files are not tracked via PKG_VERSION as this variable only covers the upstream package version. To allow versioning of the buildsystem, this commit adds PKG_RELEASE:=1 to all toolchain packages with local files. Whenever a local file is changed the release must be increased. This does not touch binutils and gcc for now, as these provide multiple versions within one package. Also update the copyright of touched files to 2020. Signed-off-by: Paul Spooren <mail@aparcar.org> [exclude binutils/gcc from patch, adjust commit title/message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>