model-writtenrun 9788 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Donald Dong reported unresolved libpq symbols when building test examples and submitted a local explicit link rule placing object files before library flags #1 #2.
- Tom Lane initially could not reproduce the failure and asked about the toolchain; Donald identified Ubuntu 18.04.1 with GCC 7.3.0 and GNU ld 2.30 #3 #4.
- Tom reproduced a related libpgport failure in src/interfaces/libpq/test and traced it to library flags preceding object files; he considered separating library flags, adding local rules everywhere, or overriding the implicit rule globally, favoring the global approach over invasive convention changes #5.
- Donald replaced his local fix with a global link rule, removed the redundant ECPG rule, corrected Linux shared-library linking, and reported successful Ubuntu builds of both affected test directories; other platforms remained untested by him #6.
- Tom committed the revised patch with expanded comments and corresponding fixes across other platforms, backend, ECPG, and thread-test link commands; he deferred backpatching because demonstrated failures affected tests not normally built and some problems were new to the development branch 69ae9dcb44.
- Tom's final reply confirmed the push and left cross-platform validation to the buildfarm, including whether the retained $(X) suffix would cause a mismatch between make's target and the output filename #7.