mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* toolchain/binutils: switch to version 2.36.1 by default Runtime-tested on: * ath79 * bcm27xx/bcm2708 * bcm27xx/bcm2709 * bcm27xx/bcm2711 * mvebu/cortexa53 * octeon * realtek * x86/64 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> * toolchain/binutils: switch to version 2.37 by default Compile tests: * all Runtime tests: * ipq806x/generic * lantiq/mt7621 * lantiq/xrx200 * x86/64 Signed-off-by: Paul Spooren <mail@aparcar.org> Tested-by: Paul Spooren <mail@aparcar.org> Tested-by: Rosen Penev <rosenp@gmail.com> Tested-by: Andre Heider <a.heider@gmail.com> Tested-by: Ansuel Smith <ansuelsmth@gmail.com> Tested-by: Rui Salvaterra <rsalvaterra@gmail.com> Signed-off-by: Paul Spooren <mail@aparcar.org> * 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> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Paul Spooren <mail@aparcar.org> Co-authored-by: Hirokazu MORIKAWA <morikw2@gmail.com>
36 lines
832 B
Plaintext
36 lines
832 B
Plaintext
# Choose binutils version.
|
|
|
|
choice
|
|
prompt "Binutils Version" if TOOLCHAINOPTS
|
|
default BINUTILS_USE_VERSION_2_37
|
|
help
|
|
Select the version of binutils you wish to use.
|
|
|
|
config BINUTILS_USE_VERSION_2_32
|
|
bool "Binutils 2.32"
|
|
select BINUTILS_VERSION_2_32
|
|
|
|
config BINUTILS_USE_VERSION_2_34
|
|
bool "Binutils 2.34"
|
|
select BINUTILS_VERSION_2_34
|
|
|
|
config BINUTILS_USE_VERSION_2_35_2
|
|
bool "Binutils 2.35.2"
|
|
select BINUTILS_VERSION_2_35_2
|
|
|
|
config BINUTILS_USE_VERSION_2_36_1
|
|
bool "Binutils 2.36.1"
|
|
select BINUTILS_VERSION_2_36_1
|
|
|
|
config BINUTILS_USE_VERSION_2_37
|
|
bool "Binutils 2.37"
|
|
select BINUTILS_VERSION_2_37
|
|
endchoice
|
|
|
|
config EXTRA_BINUTILS_CONFIG_OPTIONS
|
|
string
|
|
prompt "Additional binutils configure options" if TOOLCHAINOPTS
|
|
default ""
|
|
help
|
|
Any additional binutils options you may want to include....
|