Re: BUG #18839: ARMv7 builds fail due to missing __crc32cw and similar

Mathew Heard <mat999@gmail.com>

From: Mathew Heard <mat999@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2025-03-13T02:09:53Z
Lists: pgsql-bugs
Hi,

The relevant commit we have removed from our build that has returned the
ability to build is.

https://github.com/postgres/postgres/commit/5980f1884fc911af120c98ad440b9546ed9012c5

GCC 12.2.0-3 (latest for debian bullseye)
Debian Bullseye
ARMv7 (Allwinner H3)

When I have time I'll remove the reverted patch and find that config.log

We have tested forcing CFLAGS='-march=armv7ve+simd'
CXXFLAGS='-march=armv7ve+simd' with no luck.

Regards,
Mathew

Commits

  1. Update configure probes for CFLAGS needed for ARM CRC instructions.