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

BUILD_LD is set incorrectly when cross compiling on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • infrastructure
    • None

      A typical native linux build will set BUILD_LD to /usr/bin/gcc, the same as BUILD_CC.
      However, when COMPILE_TYPE is "cross", configure will set BUILD_LD to /usr/bin/ld.
      This then causes the link of the genSocketOptionRegistry executable in
      jdk/make/gensrc/GensrcMisc.gmk to fail (if we haven't provided a pre-generated
      SocketOptionRegistry.java).

            erikj Erik Joelsson
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: