aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>