model-writtenrun 5389 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread with a committed buildfarm fix protecting backend references in static inline functions from frontend builds and undoing an unnecessary macro conversion in src/include/storage/bufmgr.h #1.
- Peter Eisentraut asked how to reproduce the failure locally #2, and Tom Lane identified the wrasse buildfarm animal and suggested gcc -fkeep-inline-functions as a possible reproducer #3.
- Peter Eisentraut confirmed that -fkeep-inline-functions exposed the problem #4.
- Peter Eisentraut found that the gcc option required additional fixes and submitted a patch restoring PageAddItem and PageIsVerified as macros and guarding RelationGetSmgr and OldSnapshotThresholdActive with #ifndef FRONTEND #5.
- Tom Lane endorsed the patch in the thread’s final message, while noting uncertainty about exactly which external references caused wrasse to fail #6.
- Peter Eisentraut subsequently committed the complete patch with only a guard-placement adjustment and an expanded commit message as 3e9ca52601, enabling manual use of -fkeep-inline-functions without adding it to the build system.