Syntax error in TOOLCHAIN_CHECK_COMPILER_VERSION

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: infrastructure
    • None
    • b131
    • generic
    • generic

      Configuring JDK build on Linux, I see the following messages in the output:

      <path/to/hs>/closed/autoconf/generated-configure.sh: line 51600: test: -ge: unary operator expected
      <path/to/hs>/closed/autoconf/generated-configure.sh: line 51886: test: -ge: unary operator expected

      The lines correspond to this line in TOOLCHAIN_CHECK_COMPILER_VERSION:

        if test [$]ARG_PREFIX[COMPARABLE_ACTUAL_VERSION] -ge $COMPARABLE_REFERENCE_VERSION ; then

      which looks like this in the generated-configure.sh:

        if test $OPENJDK_BUILD_COMPARABLE_ACTUAL_VERSION -ge $COMPARABLE_REFERENCE_VERSION ; then

      This is on Ubuntu 14.04 - bash 4.3.11, in case that matters.

            Assignee:
            Andrew Hughes
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: