hsdis build

Baesken, Matthias matthias.baesken at sap.com
Mon Oct 28 12:39:42 UTC 2024


Hello, I wanted to try the hsdis build  (on Linux x86_64) .
After no success my system binutils, I  downloaded the sources and used these configure options :

   --with-hsdis=binutils   --with-binutils-src=/mydir/binutils/binutils-2.42.90

The configure part does not complain, and seems the binutils are built.
But no hsdis  shared lib shows up after the  jdk  build is over.

Then I found the  --enable-hsdis-bundling   configure flag and when adding it,  the hsdis build seems to work,  the file  ./images/jdk/lib/hsdis-amd64.so    is present after the build.

Should we maybe check for    --enable-hsdis-bundling     or warn/fail  in case it is not set together with the      --with-hsdis    ?

Another issue on my SUSE  Linux box was that libopcodes.a  was not detected correctly when using a pre-built   binutils dir.   The folder  lib was taking but this one was in lib64 .


Best regards, Matthias




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20241028/80ed5171/attachment.htm>


More information about the build-dev mailing list