aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* linux: Add 6.2.7 bump LTSChris Packham2023-03-2020-48/+56
| | | | | | | | | | | | Add 6.2.7 (actually this time) 6.1.13 -> 6.1.20 5.15.95 - > 5.15.103 5.10.169 -> 5.10.175 5.4.232 -> 5.4.237 4.19.273 -> 4.19.278 4.14.306 -> 4.14.310 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* strace: Add strace 6.2Chris Packham2023-03-203-4/+4
| | | | | | | | | https://lists.strace.io/pipermail/strace-devel/2023-February/011172.html Add strace 6.2, remove strace 6.1 Fixes #1915 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* [gcc] Move a patch to the bundled experimental patchesBryan Hundven2023-03-161-0/+0
| | | | | | | | | | | | As mentioned in #1908, we should have patches that are experimental under the CT_EXPERIMENTAL option. This an experimental patch to gcc: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600452.html And since it may affect production toolchains, we should move this patch to the experimental bundled patches introduced in the previous commit. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Add option for experimental bundled patchesBryan Hundven2023-03-164-29/+76
| | | | | | | | | | | | | | | | | | This adds 3 new options to patch order: * bundled + bundled_exp * bundled + bundled_exp + local * local + bundled + bundled_exp The path for bundled experimental patches is: ${CT_LIB_DIR}/packages/${pkg_dir}/experimental and patches that are still being reviewed, but not yet applied upstream may be toggled with ENABLE_EXPERIMENTAL_BUNDLED_PATCHES. Also fix modelines for editors on bootstrap and scripts/functions, and fix mix whitespace in scripts/functions. Closes: #1916 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Make checking for python more predictable.Bryan Hundven2023-03-164-14/+134
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Add automake 1.16.5Bryan Hundven2023-03-143-8/+8
| | | | | | This version matches newer python versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Minor yaml cleanupBryan Hundven2023-03-143-0/+11
| | | | | | | This doesn't require running all the pipelines so... [skip ci] Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Support targeting macOS aarch64 in older GCCsSteven Fackler2023-03-1411-0/+506
| | | | | | | | | This adds backports of a couple of patches necessary to support macOS arm64 hosts for gcc. It was ported from https://github.com/richfelker/musl-cross-make/pull/129 with some small fixups to make the patches apply cleanly. Signed-off-by: Steven Fackler <sfackler@gmail.com>
* samples: Rename canadian config for picolibcChris Packham2023-03-142-1/+1
| | | | | | | | | We don't have a x86_64-pc-linux-gnu sample but we do have a x86_64-unknown-linux-gnu. Rename the picolibc canadian config accordingly. Fixes: #1909 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add isl 0.25Bryan Hundven2023-03-142-0/+12
| | | | | | This fixes configure time issues on newer linux distributions Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* CI: Exclude macos,arm-picolibc-eabi combinationChris Packham2023-03-141-0/+4
| | | | | | | | | The arm-picolibc-eabi build runs out of space on the macos makers because of all the multilib permutations. For now disable the macos,arm-picolibc-eabi combination until we can think of something better. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1908 from keith-packard/gcc-getenv-defaultBryan Hundven2023-03-091-0/+102
|\ | | | | packages/gcc: Add gcc patch to allow getenv default values
| * packages/gcc: Add gcc patch to allow getenv default valuesKeith Packard2023-02-281-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch, submitted upstream but not (yet?) accepted, adds a third parameter to the specs file 'getenv' function that provides a value for when the environment variable is not set, instead of having gcc fail. This seemed like the safest way to provide a mechanism for getting the installed location of the toolchain from inside a specs file as, when not installed in the built-in location, gcc already sets the GCC_EXEC_PREFIX environment variable to a well defined location within that directory hierarchy, but when installed in the location specified at compile time, gcc does not. Providing a default value that matches the compile-time location then allows the specs file to compute paths relative to the current GCC installation location, whereever it is installed. Signed-off-by: Keith Packard <keithp@keithp.com>
* | linux: Add 6.2 bump LTSChris Packham2023-03-0818-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | Add 6.2 Update 6.1 -> 6.1.13 Update 5.15.82 -> 5.15.95 Update 5.10.158 -> 5.10.169 Update 5.4.226 -> 5.4.232 Update 4.19.268 -> 4.19.273 Update 4.14.301 -> 4.14.306 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | binutils: Add binutils 2.40Chris Packham2023-03-0811-0/+628
| | | | | | | | | | | | https://sourceware.org/pipermail/binutils/2023-January/125671.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | elf2flt: Add patch for binutils 2.40Chris Packham2023-03-081-0/+142
| | | | | | | | | | | | | | Add a patch to deal with the removal of BFD_VMA_FMT from bfd.h in binutils-2.40. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | samples: Use picolibc as main libc in the picolibc sample configJoakim Nohlgård2023-03-081-3/+2
| | | | | | | | Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | picolibc: Add configuration to select picolibc as the system libcJoakim Nohlgård2023-03-084-183/+251
| | | | | | | | | | | | | | This moves the picolibc configuration values under C-library -> picolibc so that they will be more easily discovered. Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | gcc: Add --disable-wchar_t and --enable-stdio=pure for picolibcKeith Packard2023-03-081-0/+12
| | | | | | | | | | | | | | | | | | Picolibc needs two additional gcc build options so that libstdc++ works correctly. When building picolibc as a companion library, those are added in do_cc_libstdcxx_picolibc, but when built with picolibc as the main C libary, those need to be added in the main GCC build. Signed-off-by: Keith Packard <keithp@keithp.com>
* | packages/gcc/12.2.0: Add picolibc patchesKeith Packard2023-03-085-0/+427
| | | | | | | | | | | | These patches allow picolibc to act as the system C library within gcc. Signed-off-by: Keith Packard <keithp@keithp.com>
* | picolibc: Use ${CT_CC} for compilerJoakim Nohlgård2023-03-081-1/+1
| | | | | | | | Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | Add missing dependencies for Debian buildBryan Hundven2023-03-011-1/+2
|/ | | | | | | | Add unzip and python3-dev Fixes #1905 Signed-off-by: Bryan Hundven <bryanhundven@skytap.com>
* gcc: Don't set --enable-default-pie by defaultKeith Packard2023-02-271-1/+1
| | | | | | | This changes how existing crosstool-ng setups work, causing many of the bare-metal ones to fail. Signed-off-by: Keith Packard <keithp@keithp.com>
* gdb: Add gdb 13.1Chris Packham2023-02-254-1/+15
| | | | | | | https://sourceware.org/pipermail/gdb-announce/2023/000134.html https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.1-release Signed-off-by: Chris Packham <judge.packham@gmail.com>
* zstd: Run through ./maintainer/manage-packages.shChris Packham2023-02-131-4/+4
| | | | | | | | There was a typo in the original commit which used "zlib" instead of "zstd". The checksums remain the same. Fixes: 4cba2994 ("Add zstd to the companion libs") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Use ${{ matrix.sample }} when uploading artifactsChris Packham2023-02-131-2/+2
| | | | | | | Update some hard coded names to use ${{ matrix.sample }} instead. This will allow us to upload other artifacts in the future. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* uClibc-ng: Add uClibc-ng 1.0.42Chris Packham2023-02-082-0/+16
| | | | | | https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/log/?h=v1.0.42 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: drop caddr_t patchChris Packham2023-02-081-17/+0
| | | | | | | | | | | | | | | | | | | | | | We've been carrying around this patch for ages. It was first added in commit 42e908c4 ("libc/glibc: workaround for autoconf'ed define of caddr_t") and ported to glibc-2.13 in commit de6b6733 ("libc/glibc: add patch to avoid caddr_t redefinition"). It has been ported to every new version of glibc ever since. It's not immediately obvious that the original problem still affects modern glibc versions. If there is a problem it hasn't been reported to the glibc maintainers in the 12 years since it was first seen. It could be that ct-ng is unique in the way we support canadian builds or that there was another fix for the same problem applied upstream sometime in the last 12 years. Drop the patch now to stop in being propagated blindly to new glibc versions. Doing it as a separate commit (as opposed to dropping it in the previous commit which bumped the version) allows the decision to be documented and if this turns out to be wrong it can be easily reverted. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add glibc-2.37Chris Packham2023-02-084-0/+102
| | | | | | | | | https://sourceware.org/pipermail/libc-announce/2023/000035.html Add the new version carry through 2 patches that are not upstream. Fixes #1885 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add zstd to the companion libsQuentin Boswank2023-02-088-2/+124
| | | | | | | | Add zstd to the companion libs witch allows to use lto zstd compression in a canadian or cross-native enviroment Signed-off-by: QBos07 <62326551+QBos07@users.noreply.github.com> Signed-off-by: Quentin Boswank <62326551+QBos07@users.noreply.github.com>
* maintainer/manage-packages.sh: Fix typomid-kid2023-02-011-1/+1
| | | | Signed-off-by: mid-kid <esteve.varela@gmail.com>
* Update mingw-w64 to v10.0.0mid-kid2023-02-013-0/+38
| | | | Signed-off-by: mid-kid <esteve.varela@gmail.com>
* Merge pull request #1763 from cpackham/tarballBryan Hundven2023-01-162-0/+43
|\ | | | | Add option to build toolchain tarball
| * Add option to build toolchain tarballChris Packham2022-06-152-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add TARBALL_RESULT option that will produce a tarball of the final toolchain to make it easier to deploy the toolchain to other machines. The implementation uses `find | sort` instead of `tar --sort` because this was introduced in GNU Tar v1.28, which is not available in some LTS Linux distributions. This is a variation of the command recommended here: https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs Closes #1262 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1875 from keith-packard/picolibc-1.8Bryan Hundven2023-01-163-1/+5
|\ \ | | | | | | Update picolibc to 1.8
| * | Update picolibc to 1.8Keith Packard2022-12-233-1/+5
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | | glibc: Add fix for GNU make 4.4 compatibility to more versionsChris Packham2023-01-0910-0/+1050
| | | | | | | | | | | | | | | | | | | | | | | | Backport the upstream fix for GNU make 4.4 compatibility to more versions of glibc. Fixes #1878 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | Add Oracle ol8u7 product to crosstool-ngCupertino Miranda2022-12-1814-4/+1099
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the following Oracle products, targeting Oracle Linux 8.7: Binutils 2.30-117.0.1 GCC 8.5.0-15.0.2 glibc 2.28-211.1.0.1 UEK5/u4 4.14.35-2025.400.8 Sample configuration files are provided for the following triplets: aarch64-ol8u7-linux-gnu x86_64-ol8u7-linux-gnu i686-ol8u7-linux-gnu Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
* | | Enable support for building libgccjitMarc Poulhiès2022-12-189-5/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libgccjit is still under development and, despite its name, may also be used for ahead-of-time compilation. Documentation can be found on the gcc website: https://gcc.gnu.org/onlinedocs/jit/internals/index.html https://gcc.gnu.org/wiki/JIT With this change it's possible to enable the building of the libgccjit. It's enabled as a language (with --enable-languages=jit) even if not a language frontend at all. The main changes are related to the requirement of having everything host side built as Position Independent Code (PIC) with --enable-host-shared. GCC has the needed logic for building its dependencies (mpc, gmp, mpfr, ...) correctly when built "in-tree", which is not the case with crosstool-ng (see https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=05048fc29f0) Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* | | linux: Add Linux 6.1 and bump LTSChris Packham2022-12-1423-56/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux 6.1 Update 6.0.2 -> 6.0.12 Update 5.15.74 -> 5.15.82 Update 5.10.148 -> 5.10.158 Update 5.4.218 -> 5.4.226 Update 4.19.261 -> 4.19.268 Update 4.14.295 -> 4.14.301 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | strace: Add 6.1 releaseChris Packham2022-12-143-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | https://lists.strace.io/pipermail/strace-devel/2022-December/011128.html Add strace 6.1. Remove 6.0. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | samples: Cosmetic improvements to powerpc-e500v2-linux-gnuspeChris Packham2022-12-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --enable-e500_double was valid but strange (the correct form is --enable-e500-double). -Wa,-me500x2 was also misleading, it is equivalent to Wa,-me500. --enable-e500x2 --with-e500x2 did nothing as they aren't used by the binutils configure script. Finally passing -mfloat-gprs=double in CFLAGS is unnecessary because this is the default when using -mcpu=8548. Correct these in the sample config. Fixes #1867 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | Add BPF architecture target supportCupertino Miranda2022-12-144-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | BPF is a virtual machine and associated ISA that resides in the Linux kernel. Initially intended for user-level packet capture and filtering, BPF is nowadays generalized to serve as a general-purpose infrastructure also for non-networking purposes. Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
* | | samples: Add x86_64-pc-linux-gnu,arm-picolibc-eabi Canadian cross sample configJoakim Nohlgård2022-12-112-0/+15
| | | | | | | | | | | | Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | | scripts/gcc: Add extra include dir with -idirafterJoakim Nohlgård2022-12-111-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | Fixes Canadian cross builds failing with missing include file 'stdio.h' when building libstdc++ for a companion libc with system libc set to LIBC_NONE. Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | | scripts/gcc: align test conditionals with rest of repoJoakim Nohlgård2022-12-111-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Most scripts in crosstool-ng use [ -z "${string}" ] to check for empty variables. Deleted one duplicate declaration of the local exec_prefix Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | | gcc: Disable CC_GCC_ENABLE_DEFAULT_PIE on RISC-V bare metal buildsJoakim Nohlgård2022-12-111-0/+1
| | | | | | | | | | | | | | | | | | -pie is not supported on riscv*-elf-ld Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
* | | make: Add GNU Make 4.4Chris Packham2022-12-114-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | https://lists.gnu.org/archive/html/info-gnu/2022-10/msg00008.html Add GNU Make 4.4, mark 4.2.1 and 4.3 as obsolete. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | strace: Add strace 6.0Chris Packham2022-12-113-4/+4
| | | | | | | | | | | | | | | | | | https://lists.strace.io/pipermail/strace-devel/2022-October/011125.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | | Merge pull request #1854 from GrigorenkoPV/masterBryan Hundven2022-12-101-0/+3
|\ \ \ | | | | | | | | Fix `./configure --with-ncurses` not working on Arch Linux