archlinux-s390x/patches
Mathieu Benoit 63be2a7990 [FIX] gcc: do not rewrite the libgccjit language list
The PKGBUILD configures gcc twice: once for the compiler, once for
libgccjit with --enable-languages=jit. The hook rewrote every
occurrence, so the second tree built a compiler instead of a library
and package() died on

  cp: cannot stat 'gcc/libgccjit.so*': No such file or directory

after forty minutes of compiling -- the worst kind of failure, at the
very end, from a patch that looked right.

The sed now skips any line containing jit. A patch that rewrites "every
occurrence" of anything in a PKGBUILD should be suspected by default:
these files configure the same source tree several times, for different
outputs.

--- FR ---

Le PKGBUILD configure gcc deux fois : une fois pour le compilateur, une
fois pour libgccjit avec --enable-languages=jit. Le crochet reecrivait
toutes les occurrences, si bien que le second arbre batissait un
compilateur au lieu d une bibliotheque, et package() mourait sur

  cp: cannot stat 'gcc/libgccjit.so*': No such file or directory

apres quarante minutes de compilation -- le pire genre d echec, tout a
la fin, venu d un correctif qui semblait juste.

Le sed ecarte desormais toute ligne contenant jit. Un correctif qui
reecrit « toutes les occurrences » de quoi que ce soit dans un PKGBUILD
doit etre suspecte d office : ces fichiers configurent plusieurs fois le
meme arbre source, pour des sorties differentes.

Assisted-by: Claude Opus 5
2026-08-16 01:18:45 -04:00
..
pkgbuild [FIX] gcc: do not rewrite the libgccjit language list 2026-08-16 01:18:45 -04:00
mkinitcpio-mount-run.patch full boot with systemd 2025-06-05 12:32:34 +02:00
mkinitcpio-s390x-base-hook.patch rearchitechted things 2025-06-02 19:01:23 +02:00
mkinitcpio-s390x.conf fix ci & cleanup mkintcpio patching 2025-06-01 19:22:10 +02:00