RFR: 8295795: hsdis does not build with binutils 2.39+
Magnus Ihse Bursie
ihse at openjdk.org
Tue Feb 14 11:22:47 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:
Would the lack of backwards compatibility be helped by adding some kind of versioning coherence check to the hotspot/hsdis interface?
I guess it will not help in this particular case -- as I understand it, the problem is that if we modify hsdis-binutils to support binutils 2.39, it will not be usable in older Hotspot versions. So it will not help if newer hsdis dlls flag themselves as "newer", since the older Hotspots will not be looking for that.
But it might help with future transitions, if we ever expect any such.
-------------
PR: https://git.openjdk.org/jdk/pull/10817
More information about the build-dev
mailing list