Files
phibkro 9e4c67a55c tinycc: skip installCheck on darwin
The Hydra failure on x86_64-darwin (build 330314747) bails in
installCheckPhase with `sh: codesign: command not found`. Adding
`darwin.sigtool` to nativeBuildInputs gets past that but exposes
deeper test breakage:

  codesign_allocate: fatal error: file not in an order that can be
  processed (symbol table out of place): hello, vla_test, asm-c-connect
  tcc: error: undefined symbol '___va_arg'  (abitest-tcc.exe)

i.e. tcc's Mach-O output isn't in the layout codesign_allocate
expects, and abitest needs a __va_arg helper tcc doesn't provide on
x86_64-darwin. These are upstream tcc bugs about its DARWIN-OUTPUT
code generation; the tcc binary itself works fine (verified
`tcc -run hello.c` on macOS 15.6.1 Sequoia).

aarch64-darwin already disables doInstallCheck entirely for its own
atomic-helper issue. Extending the same exclusion to x86_64-darwin is
the consistent fix. The preInstallCheck that removed tests/tests2/{108,
114}* was a partial fix for the same shape — now subsumed.

Fixes https://hydra.nixos.org/build/330314747

Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-11 00:34:56 +02:00
..