Check more of the installed toolchain in the sanity check #9

Merged
techwritescode merged 1 commit from toolchain-smoke-tests into main 2026-10-12 22:12:06 +00:00

v0.3.0 shipped without libiopmini and nothing in CI noticed. The sanity check now also fails when:

  • a required library is missing (libc, libm, libc++, libc++abi, libpthread, both compiler-rt builtins, libiopmini);
  • libiopmini lacks memset, memcpy, memmove or memcmp, or the builtins lack __emutls_get_address;
  • libc++ was built without std::filesystem;
  • libc, libm or libc++ call the soft-float __addsf3/__subsf3/__mulsf3/__divsf3 helpers;
  • a thread_local program does not pull in the emulated TLS runtime;
  • a C++ file including malloc.h and stdlib.h does not compile;
  • IOP code has an R_MIPS_HI16 that is not followed directly by its R_MIPS_LO16.

All pass against the released v0.3.2 toolchain; the relocation check was also run on shared-lui code compiled without -mips-split-hi16, where it correctly fails.

🤖 Generated with Claude Code

v0.3.0 shipped without libiopmini and nothing in CI noticed. The sanity check now also fails when: - a required library is missing (libc, libm, libc++, libc++abi, libpthread, both compiler-rt builtins, libiopmini); - libiopmini lacks memset, memcpy, memmove or memcmp, or the builtins lack `__emutls_get_address`; - libc++ was built without std::filesystem; - libc, libm or libc++ call the soft-float `__addsf3`/`__subsf3`/`__mulsf3`/`__divsf3` helpers; - a `thread_local` program does not pull in the emulated TLS runtime; - a C++ file including malloc.h and stdlib.h does not compile; - IOP code has an `R_MIPS_HI16` that is not followed directly by its `R_MIPS_LO16`. All pass against the released v0.3.2 toolchain; the relocation check was also run on shared-lui code compiled without `-mips-split-hi16`, where it correctly fails. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sanity check: verify libraries, emulated TLS, std::filesystem, soft-float use and IRX1-ready IOP code
All checks were successful
Build / build-native-linux (push) Successful in 1m52s
Release / build-native-linux (push) Successful in 3m46s
Release / package-linux (push) Successful in 1m42s
Build / build-windows-cross (push) Successful in 1m47s
Release / build-windows-cross (push) Successful in 1m39s
Release / package-windows (push) Successful in 1m22s
49b155af3b
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
techwritescode deleted branch toolchain-smoke-tests 2026-10-12 22:12:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ps2/llvm-toolchain!9
No description provided.