model-writtenrun 2012 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Charles Samborski reported that llvm-config supplied -L/usr/lib ahead of his --with-libraries directory, causing linking against system ICU instead of his newer local build; reversing the directory order fixed his build #1.
- Tom Lane rejected globally prepending LIBDIRS because it could override users' explicit LDFLAGS, and proposed confining LLVM's library paths to LLVM_LIBS so they affect only llvmjit.so #2.
- Tom Lane found the same precedence mistake in other library helpers and attached a fix routing their paths through LLVM_LIBS or LIBDIRS #3.
- On revisiting the patch, Tom Lane added include-path fixes with the ordering in-tree directories, user-supplied directories, then helper-supplied directories; his final submission retained the original library fix and added a second patch covering configure and Makefiles #4.
- The final message proposed both patches without a subsequent review or test report in the supplied thread #4; Tom Lane then committed their combined changes unchanged as 8e5e3ff556, with backpatching through PostgreSQL 13 and any analogous Meson issues left for separate investigation.