diff mbox series

[meta-python] python3-aiohttp: fix compiler failure on 32-bit arm

Message ID 20251024032707.1406241-1-hongxu.jia@windriver.com
State Under Review
Headers show
Series [meta-python] python3-aiohttp: fix compiler failure on 32-bit arm | expand

Commit Message

Hongxu Jia Oct. 24, 2025, 3:27 a.m. UTC
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

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb
index cb8aa96d00..6ca05d0596 100644
--- a/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.12.15.bb
@@ -21,3 +21,5 @@  RDEPENDS:${PN} = "\
     python3-yarl \
     python3-aiodns \
 "
+
+CFLAGS:append:arm = " -flax-vector-conversions"