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

Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage

    Details

    • Subcomponent:
    • Introduced In Build:
      b06
    • Introduced In Version:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        6953477 added some support for cross-compilation. When cross-compiling the ALT_COMPILER_PATH is used to the find the cross-compiler and other tools that operate on the foreign binaries. Unfortunately JPRT also uses ALT_COMPILER_PATH to redirect only the compiler usage to the cccache, which means that the other tools (nm, strip) will not be found and so part of the build will fail. This only affects the Linux build at present.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dholmes David Holmes
                  Reporter:
                  dholmes David Holmes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: