model-writtenrun 2390 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- John Naylor opened the thread with the announcement of x86 CRC inlining in e2809e3a10, intended to avoid a regression from future function-pointer dispatch; analogous Arm and LoongArch changes were deferred because of alignment questions and no immediate plans for additional implementations #1.
- John reported a build failure on skimmer and initially questioned whether configure had cached an incorrect SSE 4.2 result; Kyotaro Horiguchi then reported CRC intrinsics failing to inline because pg_comp_crc32c_dispatch lacked the required target feature #2 #3 #4.
- John proposed adding an explicit SSE 4.2 function attribute, initially suspecting an LTO-related compiler bug on RHEL-derived systems, and attached the thread's sole patchset #6.
- Tom Lane reproduced the failure with --with-llvm and traced it to gcc targeting SSE 4.2 by default while clang did not; he found that meson avoided the failure and that explicitly adding -msse4.2 to BITCODE_CFLAGS also fixed it, leaving open whether broader compiler-flag coordination was preferable #7 #8 #9 #10.
- Todd Cook confirmed that the attribute patch restored skimmer's build, and John chose to land that immediate fix while the broader compiler-target issue remained unresolved #11 #12.
- John committed the patch from #6 as af0c248557, retaining its code unchanged and adding a comment explaining why the attribute is necessary for mixed gcc/clang builds.
- John's final update confirmed that bumblebee was green again; the attached fix had landed, while the broader question of differing compiler targets remained open #13 #12.