pgsql: Fix pg_crc32c_armv8_choose.c to build with ancient glibc release
pgsql: Fix pg_crc32c_armv8_choose.c to build with ancient glibc release
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fix pg_crc32c_armv8_choose.c to build with ancient glibc releases. If you go back as far as the RHEL7 era, does not provide the HWCAPxxx macros needed with elf_aux_info or getauxval, so you need to get those from the kernel header instead. We knew that for the 32-bit case but failed to extrapolate to the 64-bit case. Oversight in commit aac831caf. Reported-by: GaoZengqi Author: Tom Lane Discussion: https://postgr.es/m/CAFmBtr3Av62-jBzdhFkDHXJF9vQmNtSnH2upwODjnRcsgdTytw@mail.gmail.com Backpatch-through: 18 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6d969ca687b4b2d4387d318c3fbcf3fc606ea55b Modified Files -------------- src/port/pg_crc32c_armv8_choose.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)