Integrated: 8295262: Build binutils out of source tree

Ludovic Henry luhenry at openjdk.org
Mon Oct 17 14:06:46 UTC 2022


On Thu, 13 Oct 2022 07:43:33 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 4d37ef2d
Author:    Ludovic Henry <luhenry at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4d37ef2d545c016e6c3ad52171ea961d4406726f
Stats:     24 lines in 1 file changed: 12 ins; 2 del; 10 mod

8295262: Build binutils out of source tree

Reviewed-by: shade, erikj, ihse

-------------

PR: https://git.openjdk.org/jdk/pull/10689



More information about the build-dev mailing list