Skip to contentSkip to conversation

python3-aiohttp: fix compiler failure on 32-bit arm

PATCH New Hongxu Jia 1 participant 1 message Oct 24, 2025

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

PATCH 1/1 python3-aiohttp: fix compiler failure on 32-bit arm

Build 32bit python3-aiohttp failed on arm
...
vendor/llhttp/build/c/llhttp.c:2643:11: error: incompatible type for argument 1 of 'vandq_u16'

 2643 |           vcgeq_u8(input, vdupq_n_u8(' ')),
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |           |
      |           uint8x16_t

...

Refer [1], add -flax-vector-conversions to 32bit arm compiler

[1] https://github.com/xmrig/xmrig/issues/3673

---
 meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb +2 -0
index cb8aa96d00..6ca05d0596 100644
@@ -21,3 +21,5 @@ RDEPENDS:${PN} = "\
     python3-yarl \
     python3-aiodns \
 "
+
+CFLAGS:append:arm = " -flax-vector-conversions"
Signature · 1 line
2.34.1