chibicc-git
- Path: arch/adapted/chibicc-git
- 2026-08-02: x86_64 built+published cleanly (20260802-1, +
chibicc-git-debug); pkgver is
$(date +%Y%m%d) so it always bumps
to “today” on any rebuild – expected, not a real upstream change
each time. Full check() test suite passed on x86_64 (self-hosting
compiler test suite + driver.sh + hashmap).
- i686 fails in
check(): generated assembly uses 64-bit registers
(%rax, %rbp) which the i686 as rejects (bad register name).
This isn’t a packaging bug – chibicc’s own codegen only ever emits
x86_64 instructions (it’s an educational compiler that doesn’t
implement a 32-bit target at all), so it fundamentally can’t self-host
on i686 even though arch=(i686 x86_64 armv7h aarch64) lists it.
Not fixed here; would need either dropping i686/armv7h from arch=()
(armv7h/aarch64 untested, may have the same issue for a different
reason) or skipping check() on non-x86_64, out of scope for this
pass.