/bin/sh: line 0: [: -ge: unary operator expected

From: kbuild test robot
Date: Sat Mar 12 2016 - 18:42:14 EST


Hi Huacai,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
commit: 5188129b8c9f58ba089bfd3809a163a8c087c797 MIPS: Loongson-3: Improve -march option and move it to Platform
date: 7 weeks ago
config: mips-jz4740 (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 5188129b8c9f58ba089bfd3809a163a8c087c797
# save the attached .config to linux build tree
make.cross ARCH=mips

All errors (new ones prefixed by >>):

awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
/bin/sh: line 0: [: -lt: unary operator expected
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected
--
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected
--
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected
awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
>> /bin/sh: line 0: [: -ge: unary operator expected

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data