Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8025275

JDK 8 build fails in configure phase on Mac (says not the required gcc)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Not an Issue
    • 8, 9
    • None
    • infrastructure
    • Mountain lion

    • os_x

    Description

      When building JDK on Mac , we are getting ,
      "The C compiler (located as /usr/bin/gcc) does not seem to be the required GCC compiler".

      The above message is apparently because of parsing of the command "gcc --version" which is failing as the Apple's gcc --version command output is different from the JDK configure script's expected result. So though we have gcc etc configure doesn't want to move further. We have installed XCode 5.0 and the required XCode as per JDK 8 build README is 4.5.X.

      Bottom line : Parsing the gcc --version must be improved to consider all versions of GCC (or) get a workaround to find the GCC version(not sure how though).

      Attachments

        Activity

          People

            Unassigned Unassigned
            srikchan Srikalyan Chandrashekar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: