mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
- Change -mcmodel=large to -mcmodel=medium for GCC ASAN builds. The large model inflates code size with 64-bit absolute addresses, pushing the binary past the 2GB limit where GCC's pre-compiled CRT startup code (crtstuff.c) can't reach data sections with 32-bit relocations. Medium model keeps code compact (CRT-compatible) while allowing data beyond 2GB. - Add nproc_subtract=20 for TSAN builds to reduce build parallelism. TSAN instrumentation significantly increases per-compilation-unit memory usage, causing OOM on CI runners with high parallelism. - Plumb nproc_subtract from the CI matrix through to the build workflow so individual configurations can control their parallelism. - Temporarily restrict CI matrix to only the two previously-failing configs (gcc-13 asan-ubsan, clang-20 tsan-ubsan) to validate fixes without burning CI resources on passing configs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>