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

Build binutils out of source tree

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • None
    • infrastructure
    • None
    • b20
    • generic
    • linux

    Description

      Currently, when passing --with-binutils-src, binutils is built in the source tree. That leads to conflicting targets when compiling for different architectures (ex: amd64 on the host, and riscv64 or aarch64 for the target) from the same jdk source tree.

      The simplest solution is to build binutils out-of-tree and into the build/<target>/binutils folder. These out-of-tree builds are already supported by binutils and only require some changes in the way we invoke the binutils/configure command.

      Attachments

        Issue Links

          Activity

            People

              luhenry Ludovic Henry
              luhenry Ludovic Henry
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: