> 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.
Ludovic Henry has updated the pull request incrementally with one additional commit since the last revision: Update make/autoconf/lib-hsdis.m4 Co-authored-by: Magnus Ihse Bursie <m...@icus.se> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/10689/files - new: https://git.openjdk.org/jdk/pull/10689/files/8faf5083..c78d2f02 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=10689&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10689&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/10689.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10689/head:pull/10689 PR: https://git.openjdk.org/jdk/pull/10689