Commit Graph

5615 Commits

Author SHA1 Message Date
Chris Packham
aad643b594 gcc/6.5.0: Bring in upstream fix for newer ISL versions
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>
2023-05-28 09:29:00 +12:00
Chris Packham
abe4f4583e gcc/6.5.0: Regenerate patches
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>
2023-05-28 09:29:00 +12:00
Chris Packham
4dd730b832 picolibc: Remove version 1.7.9
Picolibc 1.8.1 has been added so we can drop 1.7.9.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-05-28 09:28:13 +12:00
Chris Packham
35be1c941e picolibc: Mark versions 1.4.7, 1.5.1 and 1.6.2 as obsolete
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>
2023-05-28 09:28:13 +12:00
Yuriy Kolerov
a8cef5773e gdb: Make native GDB 13+ dependent on MPFR
GDB 13+ depends on MPFR thus it must be selected.

Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
2023-05-19 15:54:16 +12:00
Yuriy Kolerov
f283bb6b1a mpfr: Add support of building MPFR for target
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>
2023-05-19 15:54:16 +12:00
Yuriy Kolerov
65e5960a39 gdb: Fix extra config variable name for native GDB
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>
2023-05-19 15:53:17 +12:00
Dima Krasner
694c08a6ca musl: add 1.2.4
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2023-05-19 15:52:39 +12:00
Bryan Hundven
d3e77cd9d1
Merge pull request #1958 from bhundven/update_linux_6_3_2
Update linux 6.3.1 -> 6.3.2
2023-05-17 08:41:26 -07:00
Chris Packham
1289633f3a gdb: Bring in upstream fix for build error
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>
2023-05-17 10:27:59 +12:00
Bryan Hundven
efb84ea29d
Merge pull request #1952 from foss-for-synopsys-dwc-arc-processors/ykolerov-newlib-nano
newlib: Add missing linker options for nano.specs
2023-05-16 02:30:21 -07:00
Bryan Hundven
a76001d1a3
Merge pull request #1953 from bhundven/update_ncurses_6_4
Add ncurses 6.4
2023-05-16 02:29:52 -07:00
Bryan Hundven
1af5730fda Update linux 6.3.1 -> 6.3.2
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-05-15 10:09:46 -07:00
Bryan Hundven
82411a271d Add ncurses 6.4
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-05-15 02:48:56 -07:00
Chris Packham
e8b3eccd8a gcc: Add upstream patch for build issue on RISCV
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>
2023-05-14 10:35:14 +12:00
Chris Packham
584b25da7a glibc: Disable -Werror with GCC13 and glibc <2.37
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>
2023-05-14 10:35:14 +12:00
Chris Packham
5427dac45c libc/uclibc: Require GCC12 or older
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>
2023-05-14 10:35:14 +12:00
Chris Packham
f00a45eba6 gcc: Add 13.1.0
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>
2023-05-14 10:35:14 +12:00
Chris Packham
8e55ab0607 gcc: Add 12.3.0
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>
2023-05-14 10:34:29 +12:00
Bryan Hundven
2282a97e3c
Merge pull request #1948 from bhundven/update_linux_6_3_1
Update linux 6.3.0 -> 6.3.1
2023-05-11 02:13:55 -07:00
Yuriy Kolerov
ce6467faa1 newlib: Add missing linker options for nano.specs
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>
2023-05-10 17:30:15 +04:00
Bryan Hundven
2598699529 Update linux 6.3.0 -> 6.3.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-05-07 12:56:22 -07:00
Chris Packham
943364711a uClibc-ng: Add 1.0.43
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>
2023-04-30 20:28:57 +12:00
Chris Packham
b646773ebb gcc/12.2.0: Regenerate patches
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>
2023-04-30 20:28:57 +12:00
Chris Packham
6b5604e89e linux: Add 6.3 bump LTS
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>
2023-04-30 20:28:57 +12:00
MOHAMED_OS
7476128546 Add zstd 1.5.5
Signed-off-by: MOHAMED_OS <mohamed19eng@gmail.com>
2023-04-30 20:28:39 +12:00
Chris Packham
c116c9a2cd isl: Add isl-0.26
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>
2023-04-19 15:14:30 +12:00
Keith Packard
918c2a82c8 risc-v: Provide sample for picolibc-only toolchain
This builds a multilib toolchain using picolibc. The default target
is rv32imac

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-19 15:13:55 +12:00
Keith Packard
56dbe2ad30 arm-picolibc-eabi: Specify default linker memory layout
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>
2023-04-19 15:13:55 +12:00
Keith Packard
c33c2bf04e picolibc: Allow default memory layout values to be configured
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>
2023-04-19 15:13:55 +12:00
Keith Packard
06faf2002e picolibc: Don't disable libstdc++ wchar_t for 1.8.1 or newer
Picolibc 1.8.1 has wchar_t stdio support, so libstdc++ can include
it.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-19 15:13:55 +12:00
Keith Packard
7e39f11421 picolibc: Bump to 1.8.1
New upstream version.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-19 15:13:55 +12:00
James Knight
b42079e92a config/arch/x86: enable libsanitizer
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>
2023-04-13 11:15:49 +12:00
Bryan Hundven
1adc236e69
Merge pull request #1928 from cpackham/updates
Updates to strace and linux
2023-03-30 23:53:04 -07:00
Chris Packham
17dfb51f12 linux: Add 6.2.7 bump LTS
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>
2023-03-20 21:08:59 +13:00
Chris Packham
6a94fc6df0 strace: Add strace 6.2
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>
2023-03-20 21:06:54 +13:00
Bryan Hundven
89671bf236 [gcc] Move a patch to the bundled experimental patches
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>
2023-03-16 16:54:22 +13:00
Bryan Hundven
db942c3d0d Add option for experimental bundled patches
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>
2023-03-16 16:54:22 +13:00
Bryan Hundven
fa05153eba Make checking for python more predictable.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-03-16 16:54:05 +13:00
Bryan Hundven
1b0c227c05 Add automake 1.16.5
This version matches newer python versions.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-03-14 08:57:25 +13:00
Bryan Hundven
a83feaa3c0 Minor yaml cleanup
This doesn't require running all the pipelines so...
[skip ci]

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-03-14 08:56:50 +13:00
Steven Fackler
9f2866037a Support targeting macOS aarch64 in older GCCs
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>
2023-03-14 08:56:14 +13:00
Chris Packham
c4f7405a96 samples: Rename canadian config for picolibc
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>
2023-03-14 08:55:26 +13:00
Bryan Hundven
5a86af465f Add isl 0.25
This fixes configure time issues on newer linux distributions

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2023-03-14 08:53:16 +13:00
Chris Packham
247f1f86cd CI: Exclude macos,arm-picolibc-eabi combination
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>
2023-03-14 08:49:56 +13:00
Bryan Hundven
5248760ea9
Merge pull request #1908 from keith-packard/gcc-getenv-default
packages/gcc: Add gcc patch to allow getenv default values
2023-03-09 19:59:35 -08:00
Chris Packham
08ae42ae9a linux: Add 6.2 bump LTS
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>
2023-03-08 16:54:34 +13:00
Chris Packham
711e7bc114 binutils: Add binutils 2.40
https://sourceware.org/pipermail/binutils/2023-January/125671.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-03-08 16:54:34 +13:00
Chris Packham
1d298004c1 elf2flt: Add patch for binutils 2.40
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>
2023-03-08 16:54:34 +13:00
Joakim Nohlgård
7fcf499b03 samples: Use picolibc as main libc in the picolibc sample config
Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
2023-03-08 16:54:12 +13:00