[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread manfred99 at gmx dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #1 from Manfred Schwarb --- The script in question is gcc/configure, not toplevel configure. The script error location corrsponds to line 2120 in gcc/configure.ac. The code in question was introduced in revision 205392 by hjl.

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Aug 18 15:49:16 2014 New Revision: 214108 URL: https://gcc.gnu.org/viewcvs?rev=214108&root=gcc&view=rev Log: Set install_gold_as_default to no for --enable-gold=no PR othe

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread manfred99 at gmx dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #4 from Manfred Schwarb --- This does not catch all cases. There is also yes) if test x${default_ld} != x; then install_gold_as_default=yes fi ;; which needs an "else" case, as far as I can see. "default_ld" is empty f

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 H.J. Lu changed: What|Removed |Added CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com --- Comment

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread manfred99 at gmx dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #6 from Manfred Schwarb --- I did the following (error present also with your recent patch): # ../gfortran-source/gcc-5-20140817/configure --enable-languages=c,c++,fortran --disable-nls --enable-checking=release --disable-libmudflap

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #7 from H.J. Lu --- Created attachment 33357 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33357&action=edit Try this one

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-18 Thread manfred99 at gmx dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #8 from Manfred Schwarb --- Works for me, the error message is gone. I inserted a pair of set -x/set +x around the gold configure block, and the following is the output, everything looks OK: original: + test set = set + : + enableva

[Bug other/62168] error in configure: line 21572: test: =: unary operator expected

2014-08-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62168 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Aug 19 16:23:36 2014 New Revision: 214168 URL: https://gcc.gnu.org/viewcvs?rev=214168&root=gcc&view=rev Log: Set install_gold_as_default to no first PR other/62168 * c