model-writtenrun 9066 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi reported a CentOS 8 libperl configure failure and supplied a patch importing Perl's cccdlflags and applying its embedding flags during configuration #1.
- After Andrew Dunstan could not reproduce the failure with ordinary configuration, Horiguchi isolated CFLAGS=-O0 as the trigger, and Dunstan confirmed that adding -fPIC avoided it #2 #4 #7.
- Horiguchi traced the failure to a relocation involving PL_memory_wrap and Red Hat's hardened linker settings, explaining why optimization concealed the problem #8.
- Tom Lane questioned importing additional Perl flags and proposed changing the tested function, but Dunstan's experiments with other entry points reproduced the failure #9 #10.
- Lane traced the reference to an unused static function in Perl's inline.h and favored matching PL/Perl's actual CFLAGS_SL over importing Perl flags or forcing optimization; Dunstan supported that approach #11 #12.
- Lane posted a replacement two-patch series that first moved CFLAGS_SL selection into configure templates and then used it for the libperl probe, reporting successful Fedora testing and leaving configure-time user overrides out of scope #13.
- The two patches from #13 landed unchanged as separate commits, first the CFLAGS_SL refactoring 44273ce4f6 and then the libperl probe fix d995fd667f, with backports to all supported branches.
- Dunstan's pre-commit response was a bare LGTM, while Horiguchi's confirmation that the problem was gone arrived after both commits; neither supplies qualifying suggested-review credit, and the thread ended with the fix landed and confirmed #14 #15.