nxhack / openwrt-node-packages

OpenWrt Project Node.js packages. v18.x TLS and v20.x LTS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node 16.13.0 Compile Error.

Boos4721 opened this issue · comments

Server System: Ubuntu 21.10
GGC Version: 11.2.0
Openwrt GGC Version: 11.2.0
Binutils Version: 2.37
ERROR LOG:

/home/boos/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/boos/openwrt/build_dir/target-aarch64_cortex-a53_musl/node-v16.13.0/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status
make[4]: *** [mkcodecache.target.mk:181: /home/boos/openwrt/build_dir/target-aarch64_cortex-a53_musl/node-v16.1
3.0/out/Release/mkcodecache] Error 1
rm a3ea499a9faba73d57fa079f4d0c8adc4f3af28a.intermediate 6bd1275d9ec0889635aeaecc7bffe6aa19029e20.intermediate 65543e00fc330e7b16cff9ce0794b501a8d2c057.intermediate 5f5a86da56cb4330f8d43fef416c12dfdcdf0471.intermediate 3b07649d2a282ed8030cc046fd251df36e91a575.intermediate 704b5195327f20803a363a9db8be80cb9d61739f.intermediate
make[3]: *** [Makefile:110: node] Error 2
make[3]: Leaving directory '/home/boos/openwrt/build_dir/target-aarch64_cortex-a53_musl/node-v16.13.0'
make[2]: *** [Makefile:196: /home/boos/openwrt/build_dir/target-aarch64_cortex-a53_musl/node-v16.13.0/.built] Error 2

btw, i used ulimit -n 2048

ya, i will reback binutils to 2.36.1.