Files
openwrt/package/libs
Daniel Golle bb6df54d9d zlib: do not build POWER8 code on 32-bit PowerPC
zlib-ng decides whether to build its POWER8 and POWER9 sources from a
probe that compiles getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_2_07 and
nothing else, so it accepts any target whose libc has getauxval. On
mpc85xx that offers POWER8 to an e500v2 and the build fails:

  adler32_power8.c:126:13: error: '__builtin_vsx_lxvw4x_v16qi' requires
  the '-mvsx' option

POWER8 is ISA 2.07 and POWER9 is ISA 3.0, 64-bit server ISAs that no
32-bit PowerPC in the tree implements, so turn both off for
ARCH=powerpc. powerpc64 keeps them, where they build and zlib-ng gates
them on HWCAP2 at runtime.

Fixes: b6ab56871d ("zlib: switch to zlib-ng 2.3.3 in zlib-compatible mode")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-10-06 10:39:05 +01:00
..
2026-09-26 22:12:32 +02:00
…
2026-06-04 09:59:32 +02:00
2026-05-08 10:22:40 +02:00
2026-06-10 21:30:40 +02:00
2026-09-26 21:55:40 +02:00
2026-04-27 10:50:53 +02:00
2026-09-13 20:46:35 +01:00
2026-06-04 09:49:44 +02:00
2026-08-12 02:09:37 +02:00
…
…
2026-08-13 21:57:45 +02:00