Re: [PATCH] kbuild: fix ld-version.sh to not be affected by locale

2021-03-12 Thread Nathan Chancellor
On Sat, Mar 13, 2021 at 04:38:14AM +0900, Masahiro Yamada wrote: > ld-version.sh checks the output from $(LD) --version, but it has a > problem on some locales. > > For example, in Italian: > > $ LC_MESSAGES=it_IT.UTF-8 ld --version | head -n 1 > ld di GNU (GNU Binutils for Debian) 2.35.2 >

Re: [PATCH] kbuild: fix ld-version.sh to not be affected by locale

2021-03-12 Thread Nick Desaulniers
On Fri, Mar 12, 2021 at 11:38 AM Masahiro Yamada wrote: > > ld-version.sh checks the output from $(LD) --version, but it has a > problem on some locales. > > For example, in Italian: > > $ LC_MESSAGES=it_IT.UTF-8 ld --version | head -n 1 > ld di GNU (GNU Binutils for Debian) 2.35.2 > > This

[PATCH] kbuild: fix ld-version.sh to not be affected by locale

2021-03-12 Thread Masahiro Yamada
ld-version.sh checks the output from $(LD) --version, but it has a problem on some locales. For example, in Italian: $ LC_MESSAGES=it_IT.UTF-8 ld --version | head -n 1 ld di GNU (GNU Binutils for Debian) 2.35.2 This makes ld-version.sh fail because it expects "GNU ld" for the BFD linker