RFR: 8295795: hsdis does not build with binutils 2.39+ [v5]
Robbin Ehn
rehn at openjdk.org
Thu Oct 19 13:11:42 UTC 2023
On Wed, 18 Oct 2023 17:57:47 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Ok, fine, let's go with this patch then.
Thank you, but I was unhappy with the situation.
I redid the patch:
- Source build now do make install, then uses same steps as pre-built after the "make install".
- Prebuilt now uses the installed directory. --with-binutils-src={installation_directory}
- Checking for API break now works on system also.
* Since libz is not installable from a binutils build, we have to use the system libz.
Source works with 2.30/2.38/trunk (and incremental source configure do not need to re-build)
Prebuilt works with 2.30/2.38/trunk
System works
AFAICT everything now is working.
But with two caveats:
- zlib mentioned above.
- you must configure with "--enable-install-libiberty" and install that if you are building your self.
@magicus ? :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15138#issuecomment-1770957528
More information about the hotspot-compiler-dev
mailing list