RFR: 8295262: Build binutils out of source tree [v3]
Magnus Ihse Bursie
ihse at openjdk.org
Mon Oct 17 12:24:35 UTC 2022
On Mon, 17 Oct 2022 09:37:08 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.
>
> 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 <mag at icus.se>
Marked as reviewed by ihse (Reviewer).
If you redo `/integrate`, I can sponsor.
-------------
PR: https://git.openjdk.org/jdk/pull/10689
More information about the build-dev
mailing list