RFR: 8295795: hsdis does not build with binutils 2.39+
Ludovic Henry
luhenry at openjdk.org
Wed Jan 25 19:23:44 UTC 2023
On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Fails like this:
>
>
> $ sh ./configure --with-boot-jdk=jdk19u-ea --with-hsdis=binutils --with-binutils-src=binutils-2.39
> $ make clean build-hsdis
>
> === Output from failing command(s) repeated here ===
> * For target support_hsdis_hsdis-binutils.o:
LLVM can be a good replacement for binutils in these newer platforms. RISC-V support in LLVM for example is on-par with GCC's.
I haven't looked what's the license for LLVM and whether it's compatible with the OpenJDK's, but I would still see the need to support more than 1 backend for hsdis for new/esoteric platforms (Windows-AArch64 being the reason to do LLVM backend in the first place).
-------------
PR: https://git.openjdk.org/jdk/pull/10817
More information about the hotspot-compiler-dev
mailing list