aurupdater

cpuburn

Plain upstream AUR package (maintainer lighterowl), not maintained by us — local-install/cpuburn, rebuilt only so the archlinuxaba repo/cluster gets it too, per the standard [[feedback_local_install_rebuilds]] workflow. Already installed locally via yay (1.4a-7) before this rebuild.

arch extended, x86 family + armv7h (2026-11-17)

Upstream ships arch=('x86_64') only. The actual build is pure hand-written assembly, so “all platforms” genuinely doesn’t apply uniformly – checked before blindly expanding, per [[feedback_local_install_rebuilds]]’s “not every package is a good fit” note:

User explicitly chose “x86 family + armv7h” (asked via AskUserQuestion, given the non-routine build()/package() surgery and uncertainty) rather than stopping at x86-only or inventing new asm for other arches.

armv7h: a real bug, caught by actually running the binary (2026-11-17)

First pass at wiring in ARM/burnCortexA8/burnCortexA9 reused upstream’s own ARM/Makefile via make -C ARM CC=gcc (just swapping the cross-compiler name for the native gcc). Built fine, published fine (cpuburn-1.4a-7.1-armv7h.pkg.tar.xz) – but the binaries didn’t run: ELF ... pie executable ... dynamically linked, interpreter /lib/ld-linux.so.3 – exit 127, “No such file or directory” despite the file existing, because the dynamic linker itself couldn’t be resolved for this no-libc static-intent binary. Caught only because the published package was actually executed on the real board (eurobuild5) afterward, not just build-logged as a “success”.

Root cause: upstream’s ARM/Makefile doesn’t pass -static (unlike the x86 side, which gets -static from cpuburn.patch). Without it, modern gcc defaults to a PIE, and -nostdlib alone doesn’t prevent that.

Fix: bypassed ARM/Makefile entirely, invoke gcc directly in build() with the same flags plus -static. Verified both resulting binaries are statically linked (no PT_INTERP) and actually execute (ran to a timeout-imposed kill, i.e. looped as a burn tool should, not a crash) – both via a manual test compile on eurobuild5 and against the final packaged/stripped binaries in /data/INSTALL/cpuburn/pkg/cpuburn/usr/bin/ before calling it done. pkgrel bumped 7.1 -> 7.2 (packaging-only fix, see [[feedback_pkgrel_vs_pkgver]]) and the whole 5-arch set rebuilt+republished for version consistency across arches, even though only armv7h’s binaries actually changed.

Published, 1.4a-7.2 (2026-11-17)

All 5 arches (i486, i686, pentium4, x86_64 built locally; armv7h built remotely on eurobuild5) signed and confirmed present on the remote repo. cpuburn-debug only exists for the x86 arches – gdb-add-index has no equivalent step wired up for the armv7h build, not investigated further (low-value for a 2-instruction asm loop).

Per [[feedback_local_adaptions_go_in_adapted]]’s spirit: this arch=() expansion + the -static armv7h build fix are real local deviations from upstream’s AUR PKGBUILD, same caveat as any local-install/ package – see [[feedback_local_install_rebuilds]]: these edits do not survive a future fresh git clone of the AUR repo (step 2 of that workflow). If cpuburn needs a future rebuild (e.g. a real upstream version bump), this arch=() + armv7h build()/package() logic must be re-applied by hand from this memory file, not assumed to carry over.