Skip to content

Various patches to make GCC 12.1 work with musl

This is a rebased version of the alpine/12.1 branched based on 5cf7ffe3.

See also: aports!36469 (merged)

The following patches have been removed:

  • 0038-Fix-attempt-to-use-poisoned-calloc-error-in-libgccji.patch
  • 0015-dlang-use-libucontext-on-mips64.patch

The following patches have been added:

  • 0045-druntime-link-against-libucontext-on-all-platforms.patch
  • 0046-c-avoid-memory-poisoning-on-musl-PR106102.patch
  • 0047-jit-avoid-calloc-poisoning-on-musl-PR106102.patch
  • 0053-libgo-make-match.sh-POSIX-shell-compatible.patch
  • 0049-libgo-adjust-name-of-union-in-sigevent-struct.patch
  • 0050-libphobos-don-t-define-__mode_t-twice-on-musl-target.patch
  • 0051-libgo-Explicitly-define-SYS_timer_settime-for-32-bit.patch
  • 0052-libgnat-time_t-is-always-64-bit-on-musl-libc.patch

It compiles fine on all architectures supported by our GitLab CI but I haven't done any extensive tests beyond that.

Edited by Sören Tempel

Merge request reports

Loading