aurupdater

gcc10

2026-09-10: tried aarch64 (to unblock cmake2), hit a board OOM – reverted, staying x86_64-only

Attempted as a prerequisite for building [cmake2] on 64-bit archs. Added aarch64 to arch=(), pkgrel 2 -> 2.1 (real content change, local-install X.Y scheme). PKGBUILD itself turned out mostly portable already (the one CARCH-conditional bit is x86_64-specific multilib handling that harmlessly no-ops elsewhere; no other hardcoded arch assumptions) – emacs/tree-sitter were already available for aarch64 too (official repos).

First attempt failed immediately on gcc-10.5.0.tar.xz ... FAILED (unknown public key 3AB00996FC26A641) – no keys/pgp/ dir existed for this package yet. Confirmed via keyserver lookup that 3AB00996FC26A641 is a subkey of Richard Guenther’s key already in validpgpkeys (...6EEB81F8981C74C7), just never imported locally. Fixed by running update_pgp_key_dir.sh (populated keys/pgp/*.asc for all 4 validpgpkeys entries) – remote_build.sh auto-imports from there before building.

Second attempt got much further (past PGP, through configure, deep into stage1 bootstrap compiling insn-emit.c) but died with g++: fatal error: Killed signal terminated program cc1pluseurobuild14’s kernel OOM-killer, confirmed directly via dmesg: Out of memory: Killed process (cc1plus) ... anon-rss:664444kB. The board has only 1.8GB RAM and zero swap configured (free -h: Mem: 1.8Gi ... Swap: 0B) – insn-emit.c is one of GCC’s most memory-hungry generated files to compile even on capable hardware, and this board just doesn’t have the headroom (no swap to fall back on when the working set spikes).

User’s call: not worth adding swap to the board or chasing this further – reverted aarch64 from arch=() and pkgrel back to 2, matching HEAD (the un-fixed-upstream commit) exactly for those two fields while leaving every other pre-existing uncommitted local fix (--disable-libsanitizer etc., from the original 2026-08-27 session, never committed per this project’s “never commit” policy) untouched. cmake2 stays x86_64-only too, for the same reason – see its own memory note. If aarch64 is ever revisited for this package, eurobuild14 needs a swapfile first (straightforward on its NBD-mounted /data volume, not local SD flash) – the PKGBUILD/keys side is otherwise ready.