Sync upstream - #2
Merged
Merged
Conversation
- Also adds the avr-libc GitHub repository as a mirror, as newer versions seem to be released there. Caters for their release tag formatting. Signed-off-by: Nick Brassel <nick@tzarc.org>
Meson and Ninja are used by picolibc. Explicitly install these tools which we appear to have been getting by some transitive dependency up to now. Signed-off-by: Chris Packham <judge.packham@gmail.com>
When building a non-sysrooted toolchain, `--with-headers` argument is specified in `CT_CC_SYSROOT_ARG` as a hack, supposedly because "final gcc will define disable_glibc while building libgcc, and you'll have no profiling." This, however, leads to `--with-headers` being specified multiple times when building libstdc++ for additional libc variants (e.g. newlib-nano and picolibc) and results in wrong libc headers being used by the libstdc++ build under certain circumstances -- GCC does not use the last specified `--with-headers` when building for macOS and Windows hosts. Since the above hack is intended for glibc only, this commit adds a check to ensure that `--with-headers` is added to `CT_CC_SYSROOT_ARG` only when building glibc. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The final gcc build process was relying on `CT_CC_SYSROOT_ARG` to provide the `--with-headers` argument pointing to the libc header directory. Since `CT_CC_SYSROOT_ARG` no longer provides `--with-headers`, this adds one directly to the final gcc build invocation. Without this, gcc build system will not copy all the required libc headers into the `sys-include` directory. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
The specs prefix patch was upstreamed, so we don't need it any longer. Signed-off-by: Keith Packard <keithp@keithp.com>
add zlib 1.3.1 https://madler.net/pipermail/zlib-announce_madler.net/2024/000015.html Co-authored-by: Optimum Power <opti@opti-secret.de> Signed-off-by: WXbet <57314510+WXbet@users.noreply.github.com>
remove zlib-1.3 Co-Authored-By: Optimum Power <opti@opti-secret.de> Signed-off-by: WXbet <57314510+WXbet@users.noreply.github.com>
As of GCC14 implicit-int has been upgraded to an error. While this is generally a good idea it trips up some older code (particularly in autoconf generated configure scripts). Add -Wno-implicit-int to CFLAGS for glibc when using an old GLIBC with a new GCC. Fixes crosstool-ng#2208 Signed-off-by: Chris Packham <judge.packham@gmail.com>
GDB_CC_LD_LIBTOOL doesn't exist and so else branch always taken. We should use CT_GDB_CC_LD_LIBTOOL. Signed-off-by: demin.han <demin.han@starfivetech.com>
In some distributions (as Fedora), wget2 is used instead of wget. wget2 doesn't support the --passive-ftp option causing every download to fail. Also, according to wget's NEWS file [0], --passive-ftp is already the default in wget since 1.10. Remove the --passive-ftp from wget's default options. [0] https://gitlab.com/gnuwget/wget/-/blob/master/NEWS#L733 Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Add support for Tricore architecture. TriCore architecture is optimized for real-time embedded systems. More information can be found at AURIX™ TC3xx Architecture vol 1 https://www.infineon.com/dgdl/Infineon-AURIX_TC3xx_Architecture_vol1-UserManual-v01_00-EN.pdf?fileId=5546d46276fb756a01771bc4c2e33bdd Signed-off-by: jferreir <jesus.ferreira@gmail.com>
The mold build was using gcc in the PATH, instead of the shiny gcc we just built (the way the other companion libs/tools do) Signed-off-by: Mike Lundy <mlundy@splunk.com>
GitHub has dropped support for macos-12. actions/runner-images#10721 We had problems with macos-14 when it was first rolled out. Lets give macos-13 a try. We'll probably have to migrate to macos-14 or macos-15 eventually but hopefully we can leave that until after the ct-ng 1.27.0 release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://lists.strace.io/pipermail/strace-devel/2024-November/011513.html Add 6.12, drop 6.10 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Add 6.12 Add 6.11.9 Bump 6.10 -> 6.10.14 Bump 6.9.10 -> 6.9.12 Bump 6.8.10 -> 6.8.12 Bump 6.6.41 -> 6.6.62 Bump 6.5.11 -> 6.5.13 Bump 6.3.9 -> 6.3.13 Bump 6.2.12 -> 6.2.16 Bump 6.1.100 -> 6.1.118 Bump 5.15.163 -> 5.15.173 Bump 5.10.222 -> 5.10.230 Bump 5.4.280 -> 5.4.286 Bump 4.19.318 -> 4.19.324 Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
Use --with-libexpat-type=static to search for static libexpat in gdb native. This should fix crosstool-ng#2230. Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
With gdb15.2 gdb uses libtool for linking, but gdbserver is not. Should not break crosstool-ng#2230 or crosstool-ng#2053 Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
Should not cause major unwanted behavior changes - C++ is now selected by default in many configs. Signed-off-by: QBos07 <qubos@outlook.de> [cp: depend on CC_LANG_CXX instead of select] Signed-off-by: Chris Packham <judge.packham@gmail.com>
Ltrace requires an OS. Add a depend to prevent ltrace from being selected when building for bare metal. Fixes crosstool-ng#1555, crosstool-ng#2240 Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://sourceware.org/pipermail/newlib/2025/021431.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
When building for bare metal only do_gcc_core_backend() is used. In order to support GCC plugins the --enable-plugin needs to be passed to GCC's configure. Fixes crosstool-ng#2244 Signed-off-by: Chris Packham <judge.packham@gmail.com>
When building picolibc as a companion library the configure step can end up picking up certain headers from the build system which causes build failures. Pass an appropriate --with-headers= to the GCC back end when building picolibc as a companion library so that the correct headers are detected by ./configure. Signed-off-by: Chris Packham <judge.packham@gmail.com>
This target is in GCC/binutils/Linux/Glibc/musl for a while. Baremetal/glibc/musl toolchains are all build tested. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
This target is in GCC/binutils for a while. It's baremetal only without upstream Linux support. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
As per https://gcc.gnu.org/gcc-14/changes.html nios2 will be removed in GCC 15. Even in GCC 14 we need to pass --enable-obsolete to allow this target. Update our samples accordingly. Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://mailman.openadk.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/thread/VMUFCNHICANOQZFEFQOU4WPNPD4USGD3/ Signed-off-by: Chris Packham <judge.packham@gmail.com>
The custom uclibc has compile errors with GCC 14. Ignoring that even a bare metal config fails to build (assembler errors in libgcc) with GCC 14. For now pin the sample config to GCC 13 since that seems to work. Signed-off-by: Chris Packham <judge.packham@gmail.com>
When the bpf-unknown-none sample was added the target support was not in a released version of binutils or gcc. The support has been in a few versions of each of these for a while now. Update the sample to use released versions instead of potentially unstable versions from upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://lists.gnu.org/archive/html/info-gnu/2024-09/msg00011.html Signed-off-by: Konstantin Ivlev <tomskside@gmail.com>
https://sourceware.org/pipermail/gdb-announce/2025/000143.html Support for Nios II targets has been removed so that architecture now requires a version of GDB older than 16. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
Change repository link to gitlab hosting linked from https://www.ltrace.org/ Signed-off-by: Michał Zagórski <zagura6+github@gmail.com> Signed-off-by: Chris Packham <judge.packham@gmail.com>
5.4 is oldest currently released LTS kernel. All marked releases were in crosstool-1.24.0. Exceptions: 4.15 used by Ubuntu and 4.18 used by RHEL 8. Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
version 2 this time without compile-time glibc check Closes: crosstool-ng#2402 Signed-off-by: fnrir <fnr1r0@protonmail.com>
Remove a note about uClibc and crosstool-ng-1.21.0. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Bruce McCulloch <bruce.mcculloch@oracle.com>
Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Signed-off-by: Federico Rizzo <fulminemizzega@yahoo.it>
comment the shared parameter Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
The macos-13 runners have been retired. Switch to macos-14. actions/runner-images#13046 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Commit 93d5d76 ("Use -std=c17 for companion libs, which won't build with C23 standard, default for gcc15") was attempting to avoid having to play whack-a-mole with gmp and ncurses due to GCC 15 defaulting to -std=gnu23. Unfortunately the extra CFLAGS were applied generically so also affected the build & host compilation of the packages. This caused problems for older build machines which had versions of GCC that do not understand -std=gnu17. As the kconfig check GCC_15_or_later only applies to the target anyway move the use of EXTRA_CFLAGS to the target build only. It is likely that we might need to do something equivalent for the build & host compiles as more distros pick up GCC 15 but that would need to be accompanied by a check of the build/host compiler. Fixes crosstool-ng#2463 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Add 6.18.3 and 6.17.13 Bump LTS. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Remove the old version. Add the new one https://lists.strace.io/pipermail/strace-devel/2025-December/011746.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://sourceware.org/pipermail/gdb-announce/2025/000147.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
Versions for libc and the kernel headers were verified with the following methods: libc: podman run --rm ubuntu:20.04 ldd --version kernel: podman run --rm ubuntu:20.04 /bin/bash -c "apt update -qq && apt install -y -qq linux-libc-dev > /dev/null && dpkg -l linux-libc-dev" Signed-off-by: Max Bachmann <oss@maxbachmann.de>
This reverts commit d08005a. Commit 285915c ("ncurses: correctly parse sofisticated gcc version") added a different patch that appears to address the same issue. Having two patches touch the same line in ncurses/base/MKlib_gen.sh is problematic and a revert of the patch that added the most recent one seems appropriate. Fixes crosstool-ng#2474 Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://sourceware.org/pipermail/newlib/2026/022251.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
This reverts commit 91c3f35. GDB 17.1 seems to have issues building with aarch64-unknown-linux-musl due to how it detects `struct user_gcs`. For now revert the new version so that we get our CI build back. Signed-off-by: Chris Packham <judge.packham@gmail.com>
AI scrapers have decided to tie up uclibc-ng.org. Add buildroot's mirror for uclibc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
https://sourceware.org/pipermail/libc-announce/2026/000052.html Signed-off-by: hev <git@hev.cc>
…tream validation) Signed-off-by: Ahmed ARIF <arif.ing@outlook.com>
… Silicon) Signed-off-by: Ahmed ARIF <arif.ing@outlook.com>
Signed-off-by: Ahmed ARIF <arif.ing@outlook.com>
Signed-off-by: Ahmed ARIF <arif.ing@outlook.com>
Signed-off-by: Ahmed ARIF <arif.ing@outlook.com>
https://sourceware.org/pipermail/binutils/2026-February/148149.html Add the new version rebasing the patches we carry on top. Signed-off-by: hev <git@hev.cc>
libatomic should be disabled when compiling stage-1 GCC to avoid this error. Signed-off-by: Antoni Boucher <bouanto@zoho.com>
The macos runners have started failing to build ncurses. It's likely some conflict between the preinstalled or homebrew version of ncurses and the one we try to build. Debugging these things is quite tricky. For now disable the macos builds so other changes can go in. Signed-off-by: Chris Packham <judge.packham@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.