aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* newlib: add 4.2.0.20211231Norbert Lange2023-07-245-0/+43
| | | | | | Remove upstreamed patches. Signed-off-by: Norbert Lange <nolange79@gmail.com>
* provide a workaround for a glibc and GNU make incompatibilityChris Packham2023-07-215-1/+21
| | | | | | | | | | | Versions of GNU make newer than 4.4 trigger a hang in versions of glibc older than 2.31. As distros update to the newer GNU make version we'll start seeing more and more reports of this hang. Fortunately we already carry GNU make as a comp tool so all we need to do is select the right version when needed. Fixes #1946, #1932, #1975 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Revert "Update requirements: autoconf==2.71 and automake>=1.16"Thomas Petazzoni2023-07-212-13/+13
| | | | | | | | | | | | | This reverts commit 658f5e574f4025655da318fb0b688a394b6ff43f, which was made without any justification, and prevents using crosstool-ng even in decently recent distributions like Ubuntu 20.04 (which has autoconf 2.69). We have tested that ./bootstrap && ./configure --enable-local works fine on Ubuntu 18.04, which uses autoconf 2.69 and automake 1.15, so the existing requirements were enough. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* gcc: Update 10.4 -> 10.5Chris Packham2023-07-1427-27/+19
| | | | | | | | | Add GCC 10.5.0 and regenerate patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000178.html https://gcc.gnu.org/gcc-10/changes.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Properly build multilib bare-metal RISC-VKirill K. Smirnov2023-07-144-0/+32
| | | | | | | | | To build multilib RISC-V toolchain one should use --with-multilib-generator option instead of --with-multilib-list. Add corresponding example configuration file. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* linux: Add missing chksum fileChris Packham2023-07-101-0/+8
| | | | | | | New file was missed in the update. Fixes: 0752bd1a ("linux: Add 6.4 bump LTS") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* strace: Update to 6.4Chris Packham2023-07-104-43/+4
| | | | | | https://lists.strace.io/pipermail/strace-devel/2023-June/011339.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* linux: Add 6.4 bump LTSChris Packham2023-07-1022-56/+56
| | | | | | | | | | | | | Add 6.4 Update 6.3.2 -> 6.3.9 Update 6.1.25 -> 6.1.35 Update 5.15.108 -> 5.15.118 Update 5.10.179 -> 5.10.185 Update 5.4.242 -> 5.4.248 Update 4.19.282 -> 4.19.287 Update 4.14.314 -> 4.14.319 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* strace: Fixup patch to configureChris Packham2023-06-141-1/+1
| | | | | | | | | | In the rush to sort out a build issue with strace an invalid change to ./configure was made. Update the patch with the correct delta for the generated file. Fixes #1978 Fixes: d659700d ("strace: Add strace 6.3") Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Use arm-picolibc-default instead of arm-picolibc-eabiChris Packham2023-06-132-5/+1
| | | | | | | | | arm-picolibc-eabi builds many multilib combinations which causes the free tier github action runners to run out of disk space. Use arm-picolibc-default instead so there is still some coverage of picolibc in CI. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* samples: Add arm-picolibc-defaultChris Packham2023-06-132-0/+16
| | | | | | | | | The rmprofile with picolibc produces many multilib combinations which causes the free tier github action runners to run out of disk space. Add a picolibc sample that only enables the default multilib so we can still get some coverage for picolibc in the CI builds. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* newlib: add 4.3.0.20230120Chris Packham2023-06-047-0/+99
| | | | | | | | Add the 4.3.0.20230120 and update the required patches. As of this release the newlib-global-atexit is mandatory so set this to default y. Included is an upstream patch to support older GCC versions. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add default msvcrt options for mingw-w64Timo Rothenpieler2023-06-042-1/+55
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* gcc: Add 11.4.0Chris Packham2023-05-3114-25/+17
| | | | | | | | | Add gcc 11.4.0 and regenerate patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000177.html https://gcc.gnu.org/gcc-11/changes.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* newlib: Add upstream patches for float supportChris Packham2023-05-312-0/+115
| | | | | | | Bring in upstream support for newer float standards being used by GCC. Fixes #1957 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Add gdb 13.2Chris Packham2023-05-314-29/+8
| | | | | | | | | https://sourceware.org/pipermail/gdb-announce/2023/000135.html https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.2-release Add the 13.2 release, remove 13.1. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Static cross GDB is linked statically with std c++ libraryMaksim Morozov2023-05-311-1/+2
| | | | | | | | | | If static cross GDB configuration is selected, cross GDB will be linked statically with std c++ library, because there is no separate option for static std c++ library for cross GDB. The use of not existing variable CT_GDB_NATIVE_STATIC_LIBSTDC has been replaced with CT_GDB_NATIVE_STATIC_LIBSTDCXX. Signed-off-by: Maksim Morozov <maxim.morozov.a@gmail.com>
* strace: Add strace 6.3Chris Packham2023-05-314-4/+43
| | | | | | | | | https://lists.strace.io/pipermail/strace-devel/2023-May/011317.html Add strace 6.3. Remove 6.2. Add upstream patch for working with newer Linux headers. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Use a relative includedir for native gdb and gdbserverYuriy Kolerov2023-05-281-2/+13
| | | | | | | | | | Use a relative path for include directory if gdb or gdbserver is being built and installed for a target. Otherwise headers are installed in ${destdir}${CT_HEADERS_DIR} - a concatenation of ${destdir} and an absolute path to sysroot's include directory. As a result debug-root may contain wrong paths for includes. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
* gcc/6.5.0: Bring in upstream fix for newer ISL versionsChris Packham2023-05-281-0/+221
| | | | | | | | | | | | | | | | | isl-0.26 moves some header includes around so now if we want isl_val_free we need to include isl/val.h. Otherwise we get errors such as src/gcc/gcc/graphite-isl-ast-to-gimple.c: In member function 'tree_node* translate_isl_ast_to_gimple::gcc_expression_from_isl_expr_int(tree, isl_ast_expr*)': src/gcc/gcc/graphite-isl-ast-to-gimple.c:349:3: error: 'isl_val_free' was not declared in this scope; did you mean 'isl_vec_free'? 349 | isl_val_free (val); | ^~~~~~~~~~~~ | isl_vec_free Bring in an upstream fix that uses the correct header file. Fixes #1962 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gcc/6.5.0: Regenerate patchesChris Packham2023-05-283-35/+37
| | | | | | | Run patches through ./maintainer/manage-packages.sh -P -s gcc-6.5.0 to clean them up. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* picolibc: Remove version 1.7.9Chris Packham2023-05-283-5/+1
| | | | | | Picolibc 1.8.1 has been added so we can drop 1.7.9. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* picolibc: Mark versions 1.4.7, 1.5.1 and 1.6.2 as obsoleteChris Packham2023-05-283-0/+3
| | | | | | | | These versions were present in crosstool-ng 1.25.0 so as per current policy mark them as obsolete so they can be dropped after the next release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Make native GDB 13+ dependent on MPFRYuriy Kolerov2023-05-191-0/+1
| | | | | | GDB 13+ depends on MPFR thus it must be selected. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
* mpfr: Add support of building MPFR for targetYuriy Kolerov2023-05-192-3/+57
| | | | | | | | It's necessary for building native GDB 13+. It depends on MPFR but it hasn't presented in scripts yet for building for target. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
* gdb: Fix extra config variable name for native GDBYuriy Kolerov2023-05-191-2/+2
| | | | | | | Variable native_extra_config must be used for configuration options instead for extra_config for native GDB. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
* musl: add 1.2.4Dima Krasner2023-05-192-0/+4
| | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* Merge pull request #1958 from bhundven/update_linux_6_3_2Bryan Hundven2023-05-173-8/+8
|\ | | | | Update linux 6.3.1 -> 6.3.2
| * Update linux 6.3.1 -> 6.3.2Bryan Hundven2023-05-153-8/+8
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | gdb: Bring in upstream fix for build errorChris Packham2023-05-171-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | On systems that lack pread64() (e.g. musl) the following build error is observed. src/gdb/gdbserver/linux-low.cc:5393:45: error: expected ':' before ')' token src/gdb/gdbserver/linux-low.cc:5393:45: error: expected primary-expression before ')' token src/gdb/gdbserver/linux-low.cc:5393:45: error: expected ':' before ')' token src/gdb/gdbserver/linux-low.cc:5393:45: error: expected primary-expression before ')' token Bring in the upstream fix for this error. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | Merge pull request #1952 from ↵Bryan Hundven2023-05-161-1/+1
|\ \ | | | | | | | | | | | | foss-for-synopsys-dwc-arc-processors/ykolerov-newlib-nano newlib: Add missing linker options for nano.specs
| * | newlib: Add missing linker options for nano.specsYuriy Kolerov2023-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Old options %(newlib_nano_link) for the linker must be passed otherwise linking may fail. E.g., in case of multilib configurations a correct emulation mode may be not passed. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
* | | Merge pull request #1953 from bhundven/update_ncurses_6_4Bryan Hundven2023-05-162-0/+4
|\ \ \ | |_|/ |/| | Add ncurses 6.4
| * | Add ncurses 6.4Bryan Hundven2023-05-152-0/+4
|/ / | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | gcc: Add upstream patch for build issue on RISCVChris Packham2023-05-141-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on the host C++ compiler GCC13 fails on riscv configurations with the following error src/gcc/gcc/config/riscv/genrvv-type-indexer.cc:118:30: error: no member named 'log2' in namespace 'std'; did you mean simply 'log2'? elmul_log2 = lmul_log2 - std::log2 (sew / eew); ^~~~~~~~~ log2 /usr/include/c++/v1/math.h:1463:1: note: 'log2' declared here log2(_A1 __lcpp_x) _NOEXCEPT {return ::log2((double)__lcpp_x);} ^ Bring in an upstream fix for the build error. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | glibc: Disable -Werror with GCC13 and glibc <2.37Chris Packham2023-05-142-2/+4
| | | | | | | | | | | | | | GCC13 picks up some new errors on older glibc versions. Disable -Werror automatically when these combinations are selected. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | 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>