aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libc/uclibc: Require GCC12 or olderChris Packham2023-05-141-0/+1
| | | | | | | | | | | | | | | Currently uclibc configurations fail to build with GCC13 src/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc: In function 'std::from_chars_result std::from_chars(const char*, const char*, _Float128&, chars_format)': src/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1281:10: error: 'from_chars_strtod' was not declared in this scope 1281 | return from_chars_strtod(first, last, value, fmt); | ^~~~~~~~~~~~~~~~~ make[6]: *** [Makefile:587: floating_from_chars.lo] Error 1 make[6]: *** Waiting for unfinished jobs.... For now require GCC older than 13 when using uclibc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Add 13.1.0Chris Packham2023-05-1414-1/+837
| | | | | | | | | | Add gcc 13.1.0 with rebased patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000175.html https://gcc.gnu.org/gcc-13/changes.html https://gcc.gnu.org/gcc-13/porting_to.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc: Add 12.3.0Chris Packham2023-05-1414-21/+21
| | | | | | | | | Add gcc 12.3.0 and regenerate patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000176.html https://gcc.gnu.org/gcc-12/changes.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1948 from bhundven/update_linux_6_3_1Bryan Hundven2023-05-113-8/+8
|\ | | | | Update linux 6.3.0 -> 6.3.1
| * Update linux 6.3.0 -> 6.3.1Bryan Hundven2023-05-073-8/+8
|/ | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* uClibc-ng: Add 1.0.43Chris Packham2023-04-302-0/+16
| | | | | | https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/log/?qt=range&q=v1.0.42..v1.0.43 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc/12.2.0: Regenerate patchesChris Packham2023-04-305-53/+21
| | | | | | | | | | Run the patches through ./maintainer/manage-packages.sh -P -s gcc-12.2.0 to mop up the fact that we'd ended up with two 0005 patches. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* linux: Add 6.3 bump LTSChris Packham2023-04-3023-56/+64
| | | | | | | | | | | | | Add 6.3 Update 6.2.7 -> 6.2.12 Update 6.1.20 -> 6.1.25 Update 5.15.103 -> 5.15.108 Update 5.10.175 -> 5.10.179 Update 5.4.237 -> 5.4.242 Update 4.19.278 -> 4.19.282 Update 4.14.310 -> 4.14.314 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add zstd 1.5.5MOHAMED_OS2023-04-302-0/+5
| | | | Signed-off-by: MOHAMED_OS <mohamed19eng@gmail.com>
* isl: Add isl-0.26Chris Packham2023-04-192-0/+12
| | | | | | | | | | | | | | Changes: - fix inherited overloaded methods in Python bindings - decompose topological sort of clusters in incremental scheduler - improved isl_pw_aff_list_{min,max} - add some convenience functions - more exports to (templated C++) bindings - slightly improved conversion from binary relation to function https://repo.or.cz/isl.git/shortlog/?qt=range&q=isl-0.25..isl-0.26 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* risc-v: Provide sample for picolibc-only toolchainKeith Packard2023-04-192-0/+19
| | | | | | | This builds a multilib toolchain using picolibc. The default target is rv32imac Signed-off-by: Keith Packard <keithp@keithp.com>
* arm-picolibc-eabi: Specify default linker memory layoutKeith Packard2023-04-191-0/+4
| | | | | | | | | Picolibc now lets you configure the default memory layout used in the default linker script. Add values to the sample arm-picolibc-eabi configuration that sets values appropriate for typical cortex m processors run under qemu. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Allow default memory layout values to be configuredKeith Packard2023-04-192-0/+44
| | | | | | | | These values are used when constructing the default linker scripts used with picolibc. Setting reasonable defaults allows simple test applications to be compiled without additional configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Don't disable libstdc++ wchar_t for 1.8.1 or newerKeith Packard2023-04-192-2/+6
| | | | | | | Picolibc 1.8.1 has wchar_t stdio support, so libstdc++ can include it. Signed-off-by: Keith Packard <keithp@keithp.com>
* picolibc: Bump to 1.8.1Keith Packard2023-04-193-4/+4
| | | | | | New upstream version. Signed-off-by: Keith Packard <keithp@keithp.com>
* config/arch/x86: enable libsanitizerJames Knight2023-04-131-1/+1
| | | | | | | | GCC's libsanitizer module does provide a subset of support for x86 targets (e.g. libasan). GCC's `libsanitizer/configure.tgt` file only outlines flags for optional sanitizers. Signed-off-by: James Knight <james.d.knight@live.com>
* Merge pull request #1928 from cpackham/updatesBryan Hundven2023-03-3023-52/+60
|\ | | | | Updates to strace and linux
| * 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