pi-c

Timeline
Login

Timeline

6 check-ins related to "gcc-build"

2026-11-20
01:32
Land gcc-build: gcc builds, a leak fix, the Linux benchmark baseline

Merges the gcc-build branch (gcc warning-clean build flags, _GNU_SOURCE for strptime, the json_valid leak in models.c, a checked freopen in the benchmark, the Linux-x86_64 baseline) into current trunk. Code added since the branch is made gcc-clean too (a shadowed name in the TUI, a string comparison gcc could not prove safe), and the benchmark builds again (designated initializers for the tool hooks). The README's build notes move into its Build section. closed check-in: fc3329ac14 user: dmestas tags: gcc-land

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

16:06
Create new branch named "gcc-build" check-in: 626baaecb6 user: dlair tags: gcc-build
14:32
CI green on 1e04dff70e05; Fil-C pass check-in: 5451d909db user: dmestas tags: trunk