openwrt/toolchain
Hirokazu MORIKAWA 8c501bf9fe toolchain/binutils: v2.37 Close the file descriptor if there is no archive fd
This fixes the following build error:
/home/build/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/sergey/openwrt2/build_dir/target-aarch64_cortex-a53_musl/node-v14.18.2/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status

It's a bad error handling related to -EMFILE (too many open files). nodejs is probably just very close to open file limit.

https://sourceware.org/bugzilla/show_bug.cgi?id=28138
https://github.com/nodejs/node/issues/39452

https://github.com/openwrt/packages/issues/17496
https://github.com/openwrt/packages/issues/16729
https://github.com/openwrt/packages/issues/17164

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
[Take full patch from 2.37 branch and refresh]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-01-08 21:37:45 +01:00
..
binutils toolchain/binutils: v2.37 Close the file descriptor if there is no archive fd 2022-01-08 21:37:45 +01:00
fortify-headers toolchain/fortify-headers: Update to 1.1 2019-07-28 09:43:49 +01:00
gcc toolchain/gcc: use ELFv2 ABI on ppc64 with musl 2021-12-21 21:35:29 +02:00
gdb toolchain: gdb: Update to version 11.1 2021-11-03 23:52:08 +01:00
glibc toolchain: glibc: Enable --enable-bind-now 2022-01-07 22:30:40 +01:00
kernel-headers toolchain: kernel-headers: kernel Git tree mirror hash 2020-11-27 14:46:13 +01:00
musl toolchain: musl: disable crypt size hack by default 2021-12-27 11:26:32 +01:00
nasm toolchain: nasm: update to 2.15.05 2020-09-28 23:44:49 +01:00
wrapper buildroot: allow specifying libc personality for external toolchains 2013-02-20 15:06:10 +00:00
build_version toolchain: add a version that can be bumped to force toolchain/target rebuild 2021-11-16 22:02:45 +01:00
Config.in build: add support for using prebuilt LLVM toolchain 2021-11-04 20:06:14 +01:00
info.mk uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) 2009-04-24 02:07:24 +00:00
Makefile Revert "toolchain: add autoconf-lean" 2021-03-02 11:36:36 +00:00