635 Commits

Author SHA1 Message Date
Chris Packham
329bb4da71 zstd: Bring in upstream fix for MSYS
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-03-10 08:37:11 +13:00
Oliver Old
64e6c96532 Make GCC 12.4.0 compatible with MinGW >=11
This patch defines `WIN32_LEAN_AND_MEAN` before the `windows.h` include
statements to avoid name clashes with the `abort()` member function in
`IXMLDOMDocument`, which would now be pulled in via `msxml.h` without
the `WIN32_LEAN_AND_MEAN` definition.

Signed-off-by: Oliver Old <mail@oold.dev>
2025-02-24 08:46:59 +13:00
Keith Packard
106cfa2016 packages/picolibc: Update to version 1.8.9
Support latest upstream release

Signed-off-by: Keith Packard <keithp@keithp.com>
2025-02-17 08:43:57 +13:00
Chris Packham
1e9bf81515 gmp: Add upstream patch for C23 compatibility
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
Add a patch from upstream GMP that updates some custom configure checks
for C23 compatibility (gnu32 will be the default for GCC 15).

Reported-by: Marc Poulhiès <dkm@kataplop.net>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-08 17:34:19 +13:00
Chris Packham
7d8717a5be mold: Mark versions 2.31.0-2.33.0 as obsolete
2.36.0 is the latest version. There's no reason to keep these older ones
around.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-08 17:33:46 +13:00
Chris Packham
fb42bbf8fb mpc, mpfr: Remove unused milestones
An older version of MPC had issues with some versions of MPFR. We don't
actually have either version of these packages anymore so we no longer
need these milestones.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-08 17:33:46 +13:00
Chris Packham
c6427a99ad packages: Drop obsolete versions
Post release drop versions of some packages that were marked as
obsolete.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-08 17:33:46 +13:00
Michał Zagórski
ac8ac3d393 Bump make 4.4 to 4.4.1
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
https://lists.gnu.org/archive/html/info-gnu/2023-02/msg00011.html

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
f0e9e89d84 Add ncurses 6.5
https://invisible-island.net/ncurses/announce.html

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
dfe9235437 Add automake 1.17
https://lists.gnu.org/archive/html/autotools-announce/2024-07/msg00000.html

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
869d5b9198 Add autoconf 2.72
https://lists.gnu.org/archive/html/autotools-announce/2023-12/msg00003.html

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
be3b815688 Add bison 3.8.2
https://lists.gnu.org/archive/html/bison-announce/2021-09/msg00002.html

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
e4421cc319 Add libiconv 1.18
https://savannah.gnu.org/news/?id=10703

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
145725c482 Add libtool 2.5.4
https://lists.gnu.org/archive/html/libtool/2024-12/msg00004.html

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Michał Zagórski
b47936c6db Add libexpat 2.6.4
https://github.com/libexpat/libexpat/releases/tag/R_2_6_4

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2025-02-07 09:36:37 +13:00
Marc Poulhiès
937e5cda7d Add GMP 6.3.0
Some checks are pending
CI / crosstool (macos-13) (push) Waiting to run
CI / crosstool (ubuntu-22.04) (push) Waiting to run
CI / tarballs (ubuntu-22.04) (push) Blocked by required conditions
CI / toolchains (push) Blocked by required conditions
GMP 6.2.1 may fail some autoconf test when using GCC master (to-be-15) branch.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2025-02-04 16:48:52 +13:00
Chris Packham
2cf5986f61 gdb: Add 16.2
https://sourceware.org/pipermail/gdb-announce/2025/000144.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-03 11:56:47 +13:00
Chris Packham
c8743eab09 libelf: Update configure tests for GCC14 part2
Some checks are pending
CI / crosstool (macos-13) (push) Waiting to run
CI / crosstool (ubuntu-22.04) (push) Waiting to run
CI / tarballs (ubuntu-22.04) (push) Blocked by required conditions
CI / toolchains (push) Blocked by required conditions
More configure checks that need updating.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-02 13:54:36 +13:00
Chris Packham
fbeed30e9c gettext: Add 0.23.1
Add the latest gettext version.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-02 13:53:37 +13:00
Chris Packham
666316bdb5 gettext: Add fix for tparm check in gettext-0.20.1
Some canadian configs that use uclibc are pinned to gettext-0.20.1. We
need to update some of the configure checks to avoid issues with newer
versions of GCC.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-02 13:53:37 +13:00
Chris Packham
87605d6593 glibc: Add 2.41
Some checks are pending
CI / crosstool (macos-13) (push) Waiting to run
CI / crosstool (ubuntu-22.04) (push) Waiting to run
CI / tarballs (ubuntu-22.04) (push) Blocked by required conditions
CI / toolchains (push) Blocked by required conditions
https://sourceware.org/pipermail/libc-announce/2025/000045.html

Support for nios2*-*-linux-gnu has been removed in this version so the
nios2 architecture now requires and older glibc.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-02-01 09:05:06 +13:00
Hans-Christian Noren Egtvedt
f395eb4e9f packages:mold: add version 2.36.0
Add newly released mold version 2.36.0 from upstream
https://github.com/rui314/mold

New Features
- The --package-metadata=<string> option has been added to embed a given
  string into the .note.package section. This option is designed for
  build scripts that generate binary packages, such as .rpm or .deb, to
  include package metadata in each executable. It simplifies the process
  of identifying the corresponding package for a given executable or
  core file. (7ddc8f4)

- [ARM][PowerPC] We've improved the algorithm for creating range
  extension thunks to reduce memory usage and improve speed. For
  example, linking clang-19 for ARM64 is now ~7% faster than before.
  (9fc0ace)

- [RISC-V][LoongArch] We've improved the algorithm for code-shrinking
  linker relaxation to reduce memory usage and improve speed. For
  example, linking clang-19 for RISC-V is now ~4% faster than before.
  (3234d88)

Bug Fixes and Compatibility Improvements
- mold created a bad relocation for an IFUNC if the linker's output file
  type was a shared library and the symbol was exported. This bug could
  cause a segmentation fault of a linked program. The problem has now
  been fixed. (a297859)

- [RISC-V] mold could produce incorrect code as a result of
  code-shrinking relaxation for the R_RISCV_HI20 relocation. That type
  of relocation was used rarely because it is not PC-relative. That
  being said, if your program used the relocation, and the relocation
  targets were at a low address (from 0x1f800 to 0x20000), your program
  would crash at runtime due to the linker's bug. The issue has now been
  resolved. (eec3f6b)

- [RISC-V][LoongArch] When the linker removed instructions from a
  function as a result of code-shrinking relaxation, the function
  symbol's size in the output file should be updated to reflect the
  result of relaxation, even though doing it is mostly cosmetic. mold
  did not do that. Now, mold sets correct sizes to output function
  symbols. (e6345d5)

- [LoongArch] Binaries linked with mold now work on 64 KiB page systems.
  Previously, only up to 16 KiB pages were supported. (2d7b6b2)

- [s390x] The s390x processor-specific ABI requires the linker to
  reserve the first three slots of the .got section for the runtime.
  mold, however, reserved only two slots and used the third for itself.
  Even though we did not observe issues in the wild, it was a violation
  of the psABI. The problem has now been fixed. (dfce2fc)

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
2025-02-01 09:04:37 +13:00
Chris Packham
ba2a249911 strace: Upate to 6.13
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
https://lists.strace.io/pipermail/strace-devel/2025-January/011587.html
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-25 21:44:42 +13:00
Chris Packham
070f4feedd linux: Add 6.13, bump LTS
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-25 21:44:42 +13:00
Chris Packham
92a9115304 cloog: Reinstate 0.18.1
Some obsolete cloog versions were dropped in commit 41d4583a ("cloog:
Remove obsolete versions"). Unfortunately the ol7-u9 configs don't work
with newer versions of cloog. For now reinstate this version, after the
next release we'll drop it again along with the ol7-u9 configs.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-22 09:14:22 +13:00
Chris Packham
0c95faa936 isl: Reinstate 0.11.2
Some obsolete isl versions were removed in commit 04dce680 ("isl: Remove
obsolete versions"). Unfortunately the ol7-u9 configs don't work with
newer versions of isl. For now reinstate this version, after the next
release we'll drop it again along with the ol7-u9 configs.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-22 09:14:22 +13:00
Chris Packham
9d91cebe23 gdb: Add 16.1
https://sourceware.org/pipermail/gdb-announce/2025/000143.html

Support for Nios II targets has been removed so that architecture now
requires a version of GDB older than 16.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-22 09:13:56 +13:00
Konstantin Ivlev
0bab022029 gdb: Add 15.2
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
https://lists.gnu.org/archive/html/info-gnu/2024-09/msg00011.html

Signed-off-by: Konstantin Ivlev <tomskside@gmail.com>
2025-01-20 13:45:40 +13:00
Chris Packham
32f288e61f bpf: Use released binutils/gcc
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
When the bpf-unknown-none sample was added the target support was not in
a released version of binutils or gcc. The support has been in a few
versions of each of these for a while now. Update the sample to use
released versions instead of potentially unstable versions from
upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-08 14:22:50 +13:00
Chris Packham
c8c7b3ec20 uClibc-ng: Add 1.0.50
https://mailman.openadk.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/thread/VMUFCNHICANOQZFEFQOU4WPNPD4USGD3/

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-08 14:21:53 +13:00
Jiaxun Yang
b07f41fe31 openrisc: Initial OpenRISC 1000 support
This target is in GCC/binutils/Linux/Glibc/musl for a while.

Baremetal/glibc/musl toolchains are all build tested.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2025-01-07 09:06:53 +13:00
Chris Packham
649de5f013 newlib: Add 4.5.0 snapshot
https://sourceware.org/pipermail/newlib/2025/021431.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2025-01-05 12:01:29 +13:00
Michał Zagórski
ab5c23ce70 linux: Add 6.11, 6.12. Bump LTS and 6.x.
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
Add 6.12
Add 6.11.9
Bump 6.10 -> 6.10.14
Bump 6.9.10 -> 6.9.12
Bump 6.8.10 -> 6.8.12
Bump 6.6.41 -> 6.6.62
Bump 6.5.11 -> 6.5.13
Bump 6.3.9 -> 6.3.13
Bump 6.2.12 -> 6.2.16
Bump 6.1.100 -> 6.1.118
Bump 5.15.163 -> 5.15.173
Bump 5.10.222 -> 5.10.230
Bump  5.4.280 -> 5.4.286
Bump 4.19.318 -> 4.19.324

Signed-off-by: Michał Zagórski <zagura6+github@gmail.com>
2024-12-13 12:49:39 +13:00
Chris Packham
c4fc585def strace: Add 6.12
Some checks failed
CI / crosstool (macos-13) (push) Has been cancelled
CI / crosstool (ubuntu-22.04) (push) Has been cancelled
CI / tarballs (ubuntu-22.04) (push) Has been cancelled
CI / toolchains (push) Has been cancelled
https://lists.strace.io/pipermail/strace-devel/2024-November/011513.html

Add 6.12, drop 6.10

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-12-11 16:55:22 +13:00
WXbet
d428028db0 zlib: Remove zlib-1.3
remove zlib-1.3

Co-Authored-By: Optimum Power <opti@opti-secret.de>
Signed-off-by: WXbet <57314510+WXbet@users.noreply.github.com>
2024-10-15 14:21:53 +13:00
WXbet
051156a354 zlib: Update to zlib-1.3.1
add zlib 1.3.1
https://madler.net/pipermail/zlib-announce_madler.net/2024/000015.html

Co-authored-by: Optimum Power <opti@opti-secret.de>
Signed-off-by: WXbet <57314510+WXbet@users.noreply.github.com>
2024-10-15 14:21:53 +13:00
Keith Packard
4d36f2700f picolibc: Update to version 1.8.8
The specs prefix patch was upstreamed, so we don't need it any longer.

Signed-off-by: Keith Packard <keithp@keithp.com>
2024-10-06 15:51:45 +13:00
Nick Brassel
63fdc9cb37 avr-libc: Add 2.2.1
- Also adds the avr-libc GitHub repository as a mirror, as newer
   versions seem to be released there. Caters for their release tag
   formatting.

Signed-off-by: Nick Brassel <nick@tzarc.org>
2024-09-30 10:10:38 +13:00
Alexey Brodkin
842253a735 newlib-nano: Add a link to v4.4
In commit 39487f1ec0ab ("newlib: Add 4.4.0.20231231") new
version of Newlib was added, now let's add a reference to that
in the "nano" flavor of Newlib.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2024-09-09 08:59:18 +12:00
Alexey Brodkin
28105ae8ae newlib-nano: Remove links to absent v3.3 & v4.1
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2024-09-09 08:59:18 +12:00
Chris Packham
901722d34b picolibc: Update to 1.8.6
Update to the latest version and bring in an upstream patch for
generating portable .specs files.

Fixes: #2171
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-09-02 09:10:11 +12:00
Chris Packham
8105791c34 binutils: Add 2.43.1
https://sourceware.org/pipermail/binutils/2024-August/136396.html

Add the new version rebasing the patches we carry on top.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-08-30 09:53:47 +12:00
Hans-Christian Noren Egtvedt
146fee59bc packages:mold: add version 2.33.0
Add newly released mold version 2.33.0 from upstream
https://github.com/rui314/mold

New features
- mold gained a new linker flag --separate-debug-file to bundle debug
  info sections into a separate file instead of putting them into a main
  output file. You can optionally specify a filename in the form of
  --separate-debug-file=<filename>. By default, a debug info file is
  created in the same directory as the main output file with the .dbg
  extension. mold embeds the debug file's filename into the main output
  file so that gdb can automatically follow the link to find debug info
  when debugging the main output file.

- The main objective of this flag is to speed up the mold linker even
  more. By default, mold creates a separate debug file in the background
  after creating a main output file, so that you can start running the
  executable as soon as possible while mold is still working on linking
  its debug info sections. For example, linking clang with debug info
  normally takes ~1.70s on a Threadripper 7980X machine, while it takes
  only ~0.52s with --separate-debug-info. Shaving off a full second in
  quick edit-rebuild-run cycles should improve programmers'
  productivity. If you do not want mold to work in the background, pass
  the --no-detach option. (596ffa9)

- mold now supports the --no-allow-shlib-undefined flag. If the option
  is given, mold checks if all undefined symbols are resolved not only
  for input object files but also for shared libraries passed to the
  linker. To use the feature, you need to pass all shared libraries,
  including transitively dependent ones, to the linker so that the
  linker can resolve all symbols that are available at runtime.
  (3001f02)

- mold gained the --dynamic-list-data flag for the sake of compatibility
  with GNU ld. If the flag is given, all data symbols are exported as
  dynamic symbols. (dd8d971)

- [x86-64] -z x86-64-v2, -z x86-64-v3, -z x86-64-v4 flags are supported.
  (5606087)

Bug fixes and compatibility improvements
- [x86-64] Recent x86-64 processors support Intel CET to protect control
  flow integrity. When the feature is enabled, the instruction that is
  executed immediately after an indirect branch must be endbr64 or a CPU
  fault will raise. In other words, it restricts the locations where the
  control can transfer to with indirect branches. Doing that makes ROP
  attacks harder to conduct.

- A problem with that is the compiler needs to conservatively emit an
  endbr64 at the beginning of each global function because the compiler
  doesn't know whether or not the function's address is taken in other
  translation units. As a result, the resulting binary contains more
  endbr64s than necessary, weakening the protection.

- mold supports the -z rewrite-endbr option to conduct a whole program
  analysis and rewrite endbr64 with nop if a function's address is not
  actually taken within the program. Previously, mold didn't take
  section symbols into account when conducting the analysis, which
  resulted in culling some endbr64s that must not be removed. Now, the
  bug has been fixed. We confirmed that mold can build itself with -z
  rewrite-endbr, and the resulting mold executable works fine with Intel
  CET. (ed7eec5)

- mold now creates a .eh_frame section even if it's empty. (14a4b05)

- [LoongArch] The following relocations are now supported:
  R_LARCH_TLS_LE_HI20_R, R_LARCH_TLS_LE_ADD_R, R_LARCH_TLS_LE_LO12_R,
  R_LARCH_CALL36, R_LARCH_RELAX (36e5b4b, 98a7cff, 2c6f379)

- [LoongArch] Some relaxations that reduce the section size are now
  supported. (74b359f, 121f917)

- [LoongArch] Range extension thunk support has been removed in favor of
  R_LARCH_CALL36 relocations. (47c092a)

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
2024-08-22 13:02:56 +12:00
BtbN
5595edc370 gcc-14.2: Fix ICE on aarch64
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115464 for issue
description and list of patches to backport.

Signed-off-by: BtbN <btbn@btbn.de>
2024-08-22 13:02:32 +12:00
Chris Packham
ed12fa6840 gcc: Add 14.2.0
https://gcc.gnu.org/pipermail/gcc-announce/2024/000184.html

Add the new version clean up the patches.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-08-05 20:33:15 +12:00
Chris Packham
240c7a5d48 strace: Add 6.10
https://lists.strace.io/pipermail/strace-devel/2024-July/011482.html

Add 6.10, drop 6.9.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-07-29 13:12:22 +12:00
Chris Packham
6a03d91b8c glibc: Add 2.40
https://sourceware.org/pipermail/libc-announce/2024/000042.html

Add the new version drop the patch that was applied upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-07-29 13:12:22 +12:00
Chris Packham
d7fff42893 gcc: Add 11.5
https://gcc.gnu.org/pipermail/gcc-announce/2024/000183.html

Add the new version drop the patches that have been applied upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-07-29 13:12:22 +12:00
Chris Packham
41af907b22 linux: Add 6.10, bump LTS
Add 6.10
Bump 6.9.1 -> 6.9.10
Bump 6.6.31 -> 6.6.41
Bump 6.1.91 -> 6.1.100
Bump 5.4.276 -> 5.4.280
Bump 5.15.159 -> 5.15.163
Bump 5.10.217 -> 5.10.222
Bump 4.19.314 -> 4.19.318

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-07-29 13:12:22 +12:00
Chris Packham
a211eaefd1 gdb: Add gdb 15.1
https://sourceware.org/pipermail/gdb-announce/2024/000140.html

The release notes state that "Building GDB and GDBserver now requires a
C++17 compiler (for instance, GCC 9 or later)". Looks like we already
satisfy this requirement with GDB_DEP_NO_STD_FUTURE.

gdbserver now has a dependency on iconv.h, for uclibc configurations we
need to make sure this is satisfied.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-07-24 10:45:07 +12:00