Skip to content
pi-c Timeline
Login

Timeline

Parents and children of check-in [56507bd89c]

2026-11-19
17:10
Record the Linux-x86_64 benchmark baseline

Measured on an x86_64 Linux Mint 22.3 host (Intel i5-9300H) with the LLVM 23.1.6 release clang, using the same bench binary and release build the Darwin-arm64 baseline uses. The regression gate now has a second platform. closed check-in: b4a2a2487f user: dlair tags: gcc-build

16:16
Declare strptime for glibc

The model-catalog fetcher calls strptime and timegm. Darwin declares both under _DARWIN_C_SOURCE, which the build already sets; glibc keeps strptime behind _XOPEN_SOURCE/_GNU_SOURCE, so a Linux build stopped at an implicit declaration. _GNU_SOURCE is added to the build's feature macros; Darwin ignores it. check-in: 56507bd89c user: dlair tags: gcc-build

16:14
Build with gcc, not only clang

gcc 13 refused the tree under -Werror: -Wformat-truncation fires on snprintf into the fixed error and display buffers, where a clipped message is the intended outcome, and the benchmark ignored freopen's result. The warning is now out of the fatal set, the benchmark fails its child when the redirect fails, and the README gains the build section it never had.

Running the suite with gcc on Linux also found two things clang's builds cannot: an ssize_t that the drain loop's guard always assigns but the compiler cannot prove, and a sql_text result in model resolution used only as a truth test and never freed (Linux LeakSanitizer; macOS does not detect leaks). Both are fixed.

test-pic passes with clang (230 cases) and with gcc 13 (228; the schema-3 migration case skips where the sqlite3 command is absent). check-in: 061c21b2e4 user: dlair tags: gcc-build