model-writtenrun 3793 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread after Xcode 15 began warning about obsolete -multiply_defined usage and duplicate library arguments, and verified that removing the obsolete option also worked on Catalina #1 #2.
- The obsolete-option removal landed directly from that discussion in 3aa021b29b, with 0e0de20c88 representing the same change on a stable branch.
- Tom traced duplicate libraries to libpq_pgport and proposed removing its redundant libpgcommon/libpgport references only on macOS, where export controls prevent accidental symbol dependencies #3.
- Investigating Meson exposed a separate linker-detection failure and broken exported-symbol-list syntax; Andres Freund identified the required Meson upgrade and proposed passing the export-list option explicitly through -Wl #4 #5 #10.
- Andres submitted the export-list fix together with a tentative Sonoma CI migration, and Tom tested equivalent linker arguments on Catalina and confirmed correct symbol exports #11 #12.
- Andres argued that export controls made the old linkage constraint unnecessary across supported platforms, so Tom broadened the development-branch patch while preserving the macOS-only version for stable branches #7 #8 #16.
- The all-platform revision landed unchanged as 06843df4ab, while the listed stable-branch commit 4d10fda520 follows the earlier macOS-only patch; Tom rejected backpatching additional export controls because that could itself break ABI compatibility #18.
- The export-list syntax fix from #11 landed as b1a8dc846d, leaving the proposed CI migration out of that commit #19.
- AIX duplicate-symbol warnings then led Tom to discover that the linkage simplification could make initdb use libpq's encoding IDs instead of the backend's, while the previous ordering had concealed the opposite problem in psql #21.
- Tom rejected another link-order workaround and introduced physically distinct private encoding-function names, making symbol ownership explicit; the backend ABI change prevented backpatching #22.
- The revised encoding patch added Meson support but intentionally omitted the old MSVC infrastructure because its removal was expected and the Windows version-skew risk was considered lower #23.
- Andres approved the encoding design and requested simpler Meson c_args handling; Tom incorporated that small adjustment and committed b6c7cfac88 #24 #26 #27.
- Robert Haas reopened the remaining Meson warning problem in November, and Tom, Peter Eisentraut, and Aleksander Alekseev confirmed related warnings across toolchains and package-manager configurations #28 #34 #38 #39.
- Andres investigated library deduplication and package metadata, while Robert experimentally removed the undefined-error flag and showed that this eliminated module warnings but left warnings generated by Meson itself for executables #36 #37 #40.
- Andres found a duplicate-library warning suppression option, Tom supported using it where available, and the December prototype combined capability-tested linker flags with a Ventura/Sonoma CI matrix; whether autoconf should also receive the suppression flag remained a question #41 #42 #43.
- The production Meson changes from #43 landed without the CI scaffolding as a3da95deee, with 9158e4b9eb carrying the PostgreSQL 16 backport.
- In the final message, Andres confirmed that the remaining warning fixes had been committed and that he had also fixed other warnings upstream in Meson; the thread records no further pending production patch, although the optional autoconf suppression question was not explicitly resolved #44.