mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
nodejs: fix gcc compile failed for 32 bit arm target
Use gcc to compile failed for 32 bit arm target
$ echo 'MACHINE = "qemuarm"' >> conf/local.conf
$ bitbake nodejs
...
2645 | );
| ^
../deps/llhttp/src/llhttp.c:2643:11: error: incompatible type for argument 1 of 'vandq_u16'
2643 | vcgeq_u8(input, vdupq_n_u8(' ')),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8x16_t
...
Use '-flax-vector-conversions' to permit conversions between vectors
with differing element types or numbers of subparts
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -48,6 +48,10 @@ CVE_PRODUCT += "node.js"
|
|||||||
# v8 errors out if you have set CCACHE
|
# v8 errors out if you have set CCACHE
|
||||||
CCACHE = ""
|
CCACHE = ""
|
||||||
|
|
||||||
|
# Use '-flax-vector-conversions' to permit conversions between vectors
|
||||||
|
# with differing element types or numbers of subparts
|
||||||
|
CFLAGS:append:toolchain-gcc:arm = " -flax-vector-conversions"
|
||||||
|
|
||||||
def map_nodejs_arch(a, d):
|
def map_nodejs_arch(a, d):
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user