Commit Graph

532 Commits

Author SHA1 Message Date
Chris Packham
c175b21ce4 gcc: Bring in upstream fixes for CVE-2023-4039
Bring in the fixes for GCC 7 through 13.

https://rtx.meta.security/mitigation/2023/09/12/CVE-2023-4039.html
https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-17 15:41:50 +12:00
Chris Packham
977ed69427 mpc: Mark 1.0.3 and 1.1.0 as obsolete
Mark these versions as obsolete so they can be dropped after the next
release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-13 13:55:31 +12:00
Chris Packham
daa93b0117 mpc: Update URLs
Update the URLs for MPC to use https and the new gitlab.inria.fr
repository.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-13 13:55:31 +12:00
Chris Packham
fe5d8ca9eb mpfr: Mark 3.1.6, 4.0.2 and 4.1.0 as obsolete
Mark these older versions as obsolete. These will be dropped after the
next release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-13 13:55:31 +12:00
Chris Packham
dfeb620888 mpfr: Add 4.2.1
https://www.mpfr.org/mpfr-4.2.1/

This fixes compatibility issues with hosts using newer glibc (>=2.37).

Fixes #2017, #2029

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-13 13:55:31 +12:00
Chris Packham
e5046f3e84 mpfr: Update mirror URL
Update the URL to use https.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-13 13:55:31 +12:00
Chris Packham
2b2183b321 gcc: Add patch to avoid reference to __pthread_key_create
A toolchain uclibc-ng-1.0.43, binutils-2.40 and gcc-13.2.0 hits the
following error when building:

  ld.bfd: isl_test2.o: non-canonical reference to canonical protected function `__pthread_key_create' in x86_64-multilib-linux-uclibc/sysroot/lib64/libc.so.1
  ld.bfd: failed to set dynamic section sizes: bad value

The reference comes from libgcc where it is using the
__pthread_key_create() symbol to detect the use of pthreads with GNU
libc. Prevent this on uclibc-ng with an explicit condition.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-13 13:55:00 +12:00
Chris Packham
cf25b4edb0 glibc: Fix SVE detection on aarch64
glibc-2.28 complains:

  configure: error: use a compatible toolchain or configure with --disable-mathvec (this results in incomplete ABI).

Apparently this is a problem in the way GCC passes the -mcpu and -march
values to the assembler. As a workaround have the configure check pass
-mcpu as well to override anything we're passing in the environment.

Patch and explanation taken from the Yocto project with thanks.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-09-01 16:34:58 +12:00
Keith Packard
5a09578b67 gcc/13.2.0: Add patch with fixes for m68k soft float code
Here's a patch I've sent upstream which fixes a range of floating
point bugs in libgcc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-08-25 18:13:37 +12:00
Chris Packham
f064a63c6f gcc: Add patch to resolve libsanitizer build issue
libsanitizer has problems intercepting crypt() and crypt_r() with newer
glibcs. Bring in an upstream patch that drops support for these from
ASAN.

d7bead8336
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057

Fixes #2010
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-08-19 16:47:15 +12:00
Chris Packham
b7a25ee7b0 uClibc-ng: Bring in upstream fix for static builds
Bring in an upstream fix that affects static builds of uClibc-ng.

Fixes #1959
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-08-13 11:15:29 +12:00
Chris Packham
2ef5c62c68 glibc: Add glibc-2.38
https://sourceware.org/pipermail/libc-announce/2023/000036.html

Add the new version and carry through the ARC700 patch.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-08-10 14:01:58 +12:00
Kirill K. Smirnov
285915cb38 ncurses: correctly parse sofisticated gcc version
On canadian cross build-gcc reports its version as '13-win32'.
ncurses >=6.3 correctly interprets this line as '13', but older
ncurses versions fail and jump into wrong conclusions.

Let's cherry-pick related changes from mainline ncurses.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2023-08-04 16:44:14 +12:00
Chris Packham
41f5d49053 gcc: Add 13.2.0
https://gcc.gnu.org/pipermail/gcc-announce/2023/000179.html
https://gcc.gnu.org/gcc-13/changes.html

Add the new version and regenerate the patches.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-08-04 16:43:19 +12:00
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