Commit Graph

518 Commits

Author SHA1 Message Date
Kirill K. Smirnov
465207b7a2 Fix missing quote mark
The missing quotes affect bootstrap routine:
./bootstrap: eval: line 646: unexpected EOF while looking for matching `''
./bootstrap: eval: line 647: syntax error: unexpected end of file

For some reason bootstrap script ignores these errors and terminates
successfully.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2023-07-29 09:12:14 +12:00
Chris Packham
3293e72b3a newlib: Mark versions <= 4.1.0 as obsolete
Mark newlib 2.5.0.20171222, 3.0.0.20180831, 3.1.0.20181231, 3.2.0, 3.3.0
and 4.1.0 as obsolete. These can be dropped after the next crosstool-ng
release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-07-28 08:51:17 +12:00
Norbert Lange
2d8dd4f5e8 newlib: add 4.2.0.20211231
Remove upstreamed patches.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
2023-07-24 15:01:44 +12:00
Chris Packham
e63c40854c provide a workaround for a glibc and GNU make incompatibility
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>
2023-07-21 16:47:34 +12:00
Chris Packham
dac4403390 gcc: Update 10.4 -> 10.5
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>
2023-07-14 14:01:33 +12:00
Chris Packham
11d286dbc9 linux: Add missing chksum file
New file was missed in the update.

Fixes: 0752bd1a ("linux: Add 6.4 bump LTS")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-07-10 17:04:31 +12:00
Chris Packham
35f9cc2e06 strace: Update to 6.4
https://lists.strace.io/pipermail/strace-devel/2023-June/011339.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-07-10 16:52:22 +12:00
Chris Packham
0752bd1afe linux: Add 6.4 bump LTS
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>
2023-07-10 16:52:22 +12:00
Chris Packham
36ad0b17a7 strace: Fixup patch to configure
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>
2023-06-14 15:17:16 +12:00
Chris Packham
227d99d7f3 newlib: add 4.3.0.20230120
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>
2023-06-04 10:04:33 +12:00
Chris Packham
d855363eee gcc: Add 11.4.0
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>
2023-05-31 20:21:59 +12:00
Chris Packham
72e07cce8f newlib: Add upstream patches for float support
Bring in upstream support for newer float standards being used by GCC.

Fixes #1957
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-05-31 20:21:34 +12:00
Chris Packham
df2c7559fa gdb: Add gdb 13.2
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>
2023-05-31 20:21:11 +12:00
Chris Packham
d659700d68 strace: Add strace 6.3
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>
2023-05-31 20:16:51 +12:00
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
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
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
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
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
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
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
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
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
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
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
Keith Packard
90cbc880af packages/gcc/12.2.0: Add picolibc patches
These patches allow picolibc to act as the system C library within gcc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-03-08 16:54:12 +13:00
Keith Packard
06a0160328 packages/gcc: Add gcc patch to allow getenv default values
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>
2023-02-28 13:42:48 -08:00
Chris Packham
ee5a4026c3 gdb: Add gdb 13.1
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>
2023-02-25 14:22:02 +13:00
Chris Packham
c7bfd36f22 zstd: Run through ./maintainer/manage-packages.sh
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>
2023-02-13 19:37:02 +13:00
Chris Packham
190b8392da uClibc-ng: Add uClibc-ng 1.0.42
https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/log/?h=v1.0.42

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-02-08 17:14:19 +13:00
Chris Packham
30a2010a12 glibc: drop caddr_t patch
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>
2023-02-08 17:14:19 +13:00