mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
3fee0ae7be
tcc 0.9.27's lib/bcheck.c uses __malloc_hook, removed in glibc 2.34, so the pinned build failed on Ubuntu 24.04 (lib/bcheck.c:738). Shards never use -b; the build now passes BCHECK_O= unconditionally, keeping every other libtcc1.a object. The bundle smoke also clears LIBRARY_PATH, CC and GCC_EXEC_PREFIX and checks shards import no bounds-checking symbols. Verified: linux_tcc_bundle_smoke_test passes on Ubuntu 24.04 x86_64 (glibc 2.39, gcc + libc6-dev installed, so host headers exist but are not used) and on Steam Runtime sniper (glibc 2.31). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>