On Fri, 21 Oct 2022 15:26:59 GMT, Aleksey Shipilev <sh...@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:

I started on a journey that I unfortunately never got around to finish, with 
using the license-unencumbered capstone hsdis implementation, and include that 
as default when building the JVM.

Apparently there is still need for the binutils hsdis, which I guess is due to 
limitations in the capstone version compared to binutils. (?) Otherwise 
binutils is just a plain pain to work with from the JDK perspective, due to the 
incompatible license involved.

Given that the capstone hsdis version can be made to match the binutil version 
in functionality, I think it would be a much saner path forward to focus on 
that implementation, and just bundle it with the JVM.

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

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

Reply via email to