Tianling Shen
88bbb16ca6
Revert "binutils/2.37: fix fd regression in bfd"
...
Replaced by 8c501bf9feeaa ("toolchain/binutils: v2.37 Close the file
descriptor if there is no archive fd")
Fixes: 5dcd22bbc47fb ("Merge Official Source")
This reverts commit af7ec88ae7176e678203032cad1d7dc82e1689f1.
Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2022-01-12 11:48:15 +08:00
AmadeusGhost
5dcd22bbc4
Merge Official Source
2022-01-11 23:58:41 +08:00
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
Tianling Shen
af7ec88ae7
binutils/2.37: fix fd regression in bfd
...
https://sourceware.org/bugzilla/show_bug.cgi?id=28138
Fixes build issue with nodejs: nodejs/node#39452 .
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-15 18:42:17 +08:00
Rui Salvaterra
d63fbfce70
toolchain/binutils: add binutils 2.37
...
Tested on ath79/generic, without issues.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-25 13:52:38 +02:00