Commit Graph

553 Commits

Author SHA1 Message Date
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
Chris Packham
4f01612e00 glibc: Add glibc-2.37
https://sourceware.org/pipermail/libc-announce/2023/000035.html

Add the new version carry through 2 patches that are not upstream.

Fixes #1885
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-02-08 17:14:19 +13:00
Quentin Boswank
4cba299460 Add zstd to the companion libs
Add zstd to the companion libs witch allows to use lto zstd compression
in a canadian or cross-native enviroment

Signed-off-by: QBos07 <62326551+QBos07@users.noreply.github.com>
Signed-off-by: Quentin Boswank <62326551+QBos07@users.noreply.github.com>
2023-02-08 17:13:42 +13:00
mid-kid
f37fd1d30e Update mingw-w64 to v10.0.0
Signed-off-by: mid-kid <esteve.varela@gmail.com>
2023-02-01 21:58:43 +13:00
Bryan Hundven
691b1c5d7f
Merge pull request #1875 from keith-packard/picolibc-1.8
Update picolibc to 1.8
2023-01-16 11:10:44 -08:00
Chris Packham
1d77bd306e glibc: Add fix for GNU make 4.4 compatibility to more versions
Backport the upstream fix for GNU make 4.4 compatibility to more
versions of glibc.

Fixes #1878
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-01-09 21:19:12 +13:00
Keith Packard
b085e00fe2 Update picolibc to 1.8
Signed-off-by: Keith Packard <keithp@keithp.com>
2022-12-23 12:06:43 -08:00
Cupertino Miranda
66ac9e649a Add Oracle ol8u7 product to crosstool-ng
This commit adds support for the following Oracle products, targeting
Oracle Linux 8.7:

Binutils 2.30-117.0.1
GCC      8.5.0-15.0.2
glibc    2.28-211.1.0.1
UEK5/u4  4.14.35-2025.400.8

Sample configuration files are provided for the following triplets:

aarch64-ol8u7-linux-gnu
x86_64-ol8u7-linux-gnu
i686-ol8u7-linux-gnu

Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
2022-12-18 21:21:14 +13:00
Chris Packham
500fe13654 linux: Add Linux 6.1 and bump LTS
Add Linux 6.1
Update 6.0.2 -> 6.0.12
Update 5.15.74 -> 5.15.82
Update 5.10.148 -> 5.10.158
Update 5.4.218 -> 5.4.226
Update 4.19.261 -> 4.19.268
Update 4.14.295 -> 4.14.301

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-12-14 17:11:28 +13:00
Chris Packham
ecda668192 strace: Add 6.1 release
https://lists.strace.io/pipermail/strace-devel/2022-December/011128.html

Add strace 6.1. Remove 6.0.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-12-14 17:11:28 +13:00
Chris Packham
750133a284 make: Add GNU Make 4.4
https://lists.gnu.org/archive/html/info-gnu/2022-10/msg00008.html

Add GNU Make 4.4, mark 4.2.1 and 4.3 as obsolete.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-12-11 18:40:46 +13:00
Chris Packham
6efe04cb84 strace: Add strace 6.0
https://lists.strace.io/pipermail/strace-devel/2022-October/011125.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-12-11 18:40:46 +13:00
Yuriy Kolerov
e4f401efb6 newlib: Change ftp mirror link to https one
Some corporate VPN services block ftp connections. It leads
to an error while building a toolchain with packages with ftp
mirrors. It's possible to safely use https instead of ftp.

Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
2022-12-04 16:03:32 +13:00
Chris Packham
d7011e9133 glibc: Add fix for GNU make 4.4 compatibility issue
Add an upstream patch that resolves a compatibility issue with GNU make
4.4.

Fixes #1858
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-12-04 16:01:54 +13:00
Chris Friedt
4820c7f8d6 expat: Update to expat-2.5.0
- expat-2.4.1 is not available on sf.net due to vulnerabilities
- mark expat-2.4.1 as obsolte
- add expat-2.5.0 version info

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2022-11-28 08:45:24 +13:00
Joakim Nohlgård
b8e49869ba packages: Update picolibc to 1.7.9
Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
2022-11-22 14:07:46 +13:00
Bryan Hundven
9e3c574ec6 Backport fixes for glibc and gcc to fix interactions with kernel headers
Reported-by: milkylainen (IRC)
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2022-11-09 20:36:04 +13:00
Chris Packham
76849bafe9 linux: Add 6.0.2 bump LTS
Add 6.0.2
Bump 5.19.2 ->  5.19.16
Bump 5.15.58 -> 5.15.74
Bump 5.10.134 -> 5.10.148
Bump 5.4.208 -> 5.4.218
Bump 4.9.325 -> 4.9.330
Bump 4.19.254 -> 4.19.261
Bump 4.14.290 -> 4.14.295

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-10-18 17:28:34 +13:00
Chris Packham
82346dd7df zlib: Replace sourceforge mirror with github
New zlib versions aren't being published on sourceforge. Use the github
mirror instead.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-10-17 09:29:46 +13:00
Chris Packham
878a16a13a zlib: Update to zlib-1.2.13
Brings in the following changes

- Fix a bug when getting a gzip header extra field with
  inflateGetHeader(). This remedies CVE-2022-37434.
- Fix a bug in block type selection when Z_FIXED used. Now the smallest
  block type is selected, for better compression.
- Fix a configure issue that discarded the provided CC definition.
- Correct incorrect inputs provided to the CRC functions. This mitigates
  a bug in Java.
- Repair prototypes and exporting of the new CRC functions.
- Fix inflateBack to detect invalid input with distances too far.

Mark zlib-1.2.12 as obsolete.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-10-17 09:29:46 +13:00
Chris Packham
d3e25e5fbb strace: Update to 5.19
https://lists.strace.io/pipermail/strace-devel/2022-August/011094.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-09-26 10:48:47 +13:00
Dimitar Dimitrov
c803bb71f6 gnuprumcu: Add release 0.9.0
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2022-09-13 21:57:40 +12:00
Rafael G. Martins
d9c9bfcc8d avr-libc: Add avr-libc 2.1.0
Signed-off-by: Rafael G. Martins <rafael@rafaelmartins.eng.br>
2022-09-11 14:00:38 +12:00
Chris Packham
3020aca6bb gcc: Add gcc 12.2.0
https://gcc.gnu.org/pipermail/gcc-announce/2022/000174.html

Add gcc 12.2.0. None of the patches needed regenerating.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-08-23 20:02:11 +12:00
Bryan Hundven
b682053d86 Update linux kernel to 5.19.2
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2022-08-19 22:05:05 +12:00
Keith Packard
d3acee9673 packages: Update picolibc to 1.7.8
Signed-off-by: Keith Packard <keithp@keithp.com>
2022-08-19 22:02:50 +12:00
Chris Packham
29b6e00368 binutils: Add binutils 2.39
https://sourceware.org/pipermail/binutils/2022-August/122246.html

Add binutils 2.39 and regenerate patches.
0008-binutils-2.38-vs.-ppc32-linux-kernel.patch is dropped as it has
been applied upstream. Add a milestone for 2.39 which will be handy for
Loongarch.

Binutils now requires bison >= 3.0.4 to build gprofng for x86/aarch64 so
we build our own bison when the host bison does not meet that
requirement (which appears to be the case on macOS).

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-08-14 10:15:17 +12:00
Guillermo E. Martinez
d787518168 Update binutils-2.30-113.0.3 for Oracle ol8u6 product
Oracle binutils updated to binutils-2.30-113.0.3

Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
2022-08-09 16:32:31 +12:00
Elijah Shaw-Rutschman
836b9eeb59 packages/dtc: Add 1.6.1
Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2022-08-08 20:15:26 +12:00
Chris Packham
ba4fcd30a0 linux: Add 5.19 bump LTS
Add 5.19
Bump 5.18.4 -> 5.18.15
Bump 5.15.47 -> 5.15.58
Bump 5.10.122 -> 5.10.134
Bump 5.4.198 -> 5.4.208
Bump 4.14.283 -> 4.14.290
Bump 4.9.318 -> 4.9.325

Add a milestone for 5.19 as this adds support for the loongarch
CPU architecture.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-08-08 20:15:06 +12:00
Chris Packham
562434f12e glibc: Add glibc 2.36
https://sourceware.org/pipermail/libc-announce/2022/000034.html

Add the new version. Regenerate the patches and remove the one that had
been applied upstream. Add a milestone for 2.36 as this version
introduces support for the loongarch CPU architecture.

Fixes #1795

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-08-08 20:15:06 +12:00
Guillermo E. Martinez
04b0c0fb78 Update Oracle binutils for ol8u6 product
Oracle binutils updated to binutils-2.30-113.0.2

Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
2022-07-25 19:50:06 +12:00
Chris Packham
1655025873 gcc: Add gcc 10.4.0
https://gcc.gnu.org/pipermail/gcc-announce/2022/000173.html

Add GCC 10.4.0 and regenerate the ct-ng patches. The
powerpc-Fix-asm-machine-directive-for-some-CPUs patch is dropped as the
change was applied upstream (and subsequently refactored).

Closes #1777

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-07-11 19:50:02 +12:00
Chris Packham
bcb053baf6 Revert "gcc: Bring in fix for libsanitizer on mips64"
This reverts commit 1b6ad7cd48. As it
turns out libsanitizer isn't supported on mips64 with GCC11 or older
(there is support in GCC12). The bug is actually the fact that ct-ng
allows configuring libsanitizer for architectures that don't support it.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-07-11 19:49:23 +12:00
Guillermo E. Martinez
939ea40aa4 binutils-oracle: Update source patch location for ol8
Due to a new commit oracle binutils branch an update location for
patches is required. This patch disabled debug information for
glibc too.
2022-06-28 20:56:45 +12:00
Guillermo E. Martinez
883ecbebb6 Restore Oracle products to crosstool-ng using gcc-oracle
This commit restore the support for the following products
in Oracle Linux 7.9:

Binutils 2.27-44.base.0.400
GCC      4.8.5-44.0.5
glibc    2.17-317.0.3
UEK5/u4  4.14.35-2025.400.8

Sample configurations were updated to use such versions,
and be compiled in host machine using recent GCC versions.

Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
2022-06-26 20:29:05 +12:00
Chris Packham
994767d6c5 strace: Add strace 5.18
https://lists.strace.io/pipermail/strace-devel/2022-June/011079.html

Add 5.18 and mark 5.16 as obsolete.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-06-21 20:34:13 +12:00
Chris Packham
27253d427b linux: Add 5.18.4 bump LTS
Add 5.18.4
Bump 4.9.312 -> 4.9.318
Bump 4.14.277 -> 4.14.283
Bump 4.19.241 -> 4.19.247
Bump 5.4.191 -> 5.4.198
Bump 5.10.113 -> 5.10.122
Bump 5.15.37 -> 5.15.47
Bump 5.17.5 -> 5.17.15

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-06-21 20:33:57 +12:00
Chris Packham
2f0d1f334f gcc: Add gcc 9.5.0
Add GCC 9.5.0 and regenerate the patches as necessary.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-06-08 19:38:05 +12:00
Chris Packham
dec3d3a421 gcc: Update fix for sh-unknown-elf
Extend the fix from commit 6b465e15 ("Remove m1 from multilibs for GCC11
on SH arch.") to cover GCC 12 and future releases.

Remove the patch that was added to solve the same problem.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-31 20:00:00 +12:00
Guillermo E. Martinez
2d6d22d96d Add Oracle ol8u6 product to crosstool-ng
This commit adds support for the following Oracle products, in order
to target Oracle Linux 8.6:

Binutils 2.30-113.0.1
GCC      8.5.0-10.0.2
glibc    2.28-189.1.0.1
UEK5/u4  4.14.35-2025.400.8

Sample configuration files are provides for the following triplets:

aarch64-ol8u6-linux-gnu
x86_64-ol8u6-linux-gnu
i686-ol8u6-linux-gnu

Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
2022-05-31 19:59:32 +12:00
Chris Packham
b88d338516 glibc: backport fix for vfork on mips
glibc-2.23 fails to build for mips with

  nptl/libpthread.so:(*IND*+0x0): multiple definition of `vfork@GLIBC_2.0';

This was fixed in glibc-2.24. Backport the fix for glibc-2.23.

Fixes #1744
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-26 12:51:48 +12:00
Chris Packham
23580a86aa gcc: drop libsanitizer patch for GCC12
For some reason GCC 12 ends up hitting the _MIPS_SIM_NABI32 case for
Linux's arch/mips/include/uapi/asm/stat.h when building libsanitizer.
This is basically the opposite of the problem from
commit 1b6ad7cd ("gcc: Bring in fix for libsanitizer on mips64").
Dropping the patch resolves the issue for GCC 12.

Fixes #1741
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-23 20:51:45 +12:00
Chris Packham
db6f703f52 gcc: Add 12.1
Add GCC 12.1 https://gcc.gnu.org/gcc-12/

The following patches from GCC 11.3.0 are no longer needed:
- 0005-arc-Update-ZOL-pattern.patch
- 0006-arc-Update-u-maddhisi4-patterns.patch
- 0007-arc-Fix-maddhisi-patterns.patch
- 0008-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch
- 0009-libstdc-Check-for-TLS-support-on-mingw-cross-compile.patch

One new patch is needed to avoid issues building sh-unknown-elf:
- 0006-sh-Avoid-mb-m1-multilib-combination.patch

It is also necessary to build all-build-libcpp. This target exists as
far back as GCC 6 so has been done unconditionally.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-19 14:24:46 +12:00
Chris Packham
1b6ad7cd48 gcc: Bring in fix for libsanitizer on mips64
The kernel's struct stat is 104 bytes when compiling for
_MIPS_SIM_ABI64. Set struct_kernel_stat_sz to match.

Fixes #1733

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-18 20:17:01 +12:00
Chris Packham
5937024455 gdb: Add 12.1
Add gdb 12.1 release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-16 19:23:47 +12:00
Chris Packham
86b6448891 linux: Add 5.17.5, bump LTS
Add 5.17.5
Bump 5.16.9 -> 5.16.20
Bump 5.15.23 -> 5.15.37
Bump 5.10.100 -> 5.10.113
Bump 4.19.229 -> 4.19.241
Bump 4.14.266 -> 4.14.277
Bump 4.9.301 -> 4.9.312

Linux 5.5 made `make headers_check` a no-op and as of 5.17 it has been
removed so add a milestone and use it as a dependency for
KERNEL_LINUX_INSTALL_CHECK.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-16 19:23:47 +12:00
Chris Packham
020507e7e5 duma: Add checksums for 2_5_21
These were unintentionally omitted when the new version was added.

Fixes: 2804d686 ("duma: Add version 2.5.21")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-16 19:23:16 +12:00
Chris Packham
2804d686bf duma: Add version 2.5.21
Add duma 2.5.21 and mark 2.5.15 as obsolete. While we're at it use the
versions hosted on github which requres new checksums for the 2.5.15
version because the generated tarballs are different.

It appears we don't need any of the patches we've been carrying for the
older version but we do need to pass CC_FOR_BUILD in addition to HOSTCC.
When 2.5.15 is removed we can drop HOSTCC (and DUMA_CPP, DUMA_SO).

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-15 11:21:22 +12:00
Chris Packham
3ac6f1791a gdb: drop obsolete versions
Drop gdb 7.11.1, 7.12.1, 8.0.1, 8.1.1 and 8.2.1. Cleanup milestones
related to these older versions.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-10 19:46:53 +12:00
Chris Packham
c693d62b12 strace: drop obsolete versions
strace aims to be backwards compatible with older kernels so we don't
actually need to have every strace version. The 4.15-4.26 versions were
technically in a ct-ng release so they were obsoleted. Now that the
1.25.0 release is out we can remove these versions.

Going forward we will obsolete the version that is in the latest ct-ng
release and simply remove intervening strace versions as they are
released.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-10 19:46:53 +12:00
Chris Packham
6d5227b63b Remove obsolete glibc 2.12.1
glibc 2.12.1 was marked as obsolete. Now that the 1.25.0 release is out
this version can be removed completely. As glibc 2.12.1 was the last
remaining version supported by glibc-ports support for glibc-ports is
also removed.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-10 19:46:53 +12:00
Chris Packham
53bbdc7425 Remove obsolete bionic/android support
The bionic libc support was out of date and relied on downloading
binaries from the internet. It was already marked as obsolete. Now that
the 1.25.0 release is out it can be completely removed.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-10 19:46:53 +12:00
Chris Packham
e8c4d97683 avr-libc: Update vcs URL
The avr-libc project has moved to github and is now using git. Update
the repository field accordingly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-08 13:37:41 +12:00
Chris Packham
fcea8e33ac mpfr: Update vcs URL
The mpfr project is now using git. Update the repository field
accordingly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-08 13:37:41 +12:00
Chris Packham
aa46366fc3 gcc: Update vcs URL
The GCC project has been using git for a while now. Update the
repository field accordingly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-08 13:37:41 +12:00
Dima Krasner
31cc2e56d5 musl: add 1.2.3
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2022-05-08 13:37:03 +12:00
Hans-Christian Noren Egtvedt
3c94c6c678 gcc: bump GCC 11 to latest release 11.3.0
Remove patches applied upstream we no longer need to maintain here.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-05-08 13:29:34 +12:00
Chris Packham
7e21141973 glibc: Enable -Werror for more combinations of GCC/GLIBC
Newer GCC versions trigger warnings on older GLIBC versions. GLIBC 2.29
is warning free with GCC9. GLIBC 2.31 is warning free with GCC10. GLIBC
2.34 is warning free with GCC11.

Add milestones for 2.31 and 2.34 and use those to set the default value
for GLIBC_ENABLE_WERROR based on the GCC version.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-01 12:02:54 +12:00
Chris Packham
dd4d19fce2 zlib: Update to zlib-1.2.12
Bring in the following changes

- Fix a deflate bug when using the Z_FIXED strategy that can result in
  out-of-bound accesses.
- Fix a deflate bug when the window is full in deflate_stored().
- Speed up CRC-32 computations by a factor of 1.5 to 3.
- Use the hardware CRC-32 instruction on ARMv8 processors.
- Speed up crc32_combine() with powers of x tables.
- Add crc32_combine_gen() and crc32_combine_op() for fast combines.

Drop two patches that have been applied upstream and regenerate the
remaining two.

Fixes #1708

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-04-22 10:15:41 +12:00
Keith Packard
6ddf9e8dbf Update picolibc to 1.7.6
* Fixes 1.7.4 issue with recent meson versions which error on
  'descrption' typo.

* Positional parameters (%$1d) in printf/scanf

* Lots (and lots) of math library exception/errno fixes; now tested against
  glibc test suite.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-04-02 13:31:28 +13:00
Anton Maklakov
6cd16639b9 gcc: add fixes for GCC 11.2. Anon and aggregated struct access 2022-03-28 21:01:58 +13:00
Anton Maklakov
bfda65e00e gcc: rename patches to order 2022-03-28 21:01:58 +13:00
Chris Packham
1e47ca1e70 gcc: powerpc: Fix asm machine directive for some CPUs
Bring in upstream fix for gcc outputting an incorrect .machine
directive.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-02-28 20:59:33 +13:00
Chris Packham
0822a8a2e4 binutils: Bring in upstream fix for powerpc
Some versions of GCC emit a .machine directive near the start of the
compiler's assembly output that overrides the CPU passed on the command
line. Bring in an upstream change for binutils that works around the
problem.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-02-28 20:59:33 +13:00
ivanka2012
76d9b8c15c Fix MinGW libstdc++ TLS functionality
Backport of cc1e28878a

Signed-off-by: Kittenberger Iván <ivanka2012@gmail.com>
2022-02-28 20:58:55 +13:00