RFR: 8371088: Build fails when trying hsdis option
Mohamed Issa
missa at openjdk.org
Sat Nov 1 21:15:35 UTC 2025
When compiling the **install-hsdis** target, _libsframe.a_ won't be linked on some Linux distros (e.g., openSUSE Leap v15.6) because it's in the _lib64_ folder. This change adds a check for that so the build doesn't fail.
To test, I used the configure and build commands posted below.
bash ./configure --with-boot-jdk=/opt/jvm/java-25-openjdk --with-boot-jdk-jvmargs="-Xmx8G" --with-jmh=build/jmh/jars --with-hsdis=binutils --with-binutils-src=~/git/sourceware.org/binutils-gdb --with-jtreg=~/github/missa-prime/openjdk/jtreg/build/images/jtreg --with-gtest=~/github/missa-prime/google/googletest --with-debug-level=fastdebug
make CONF=linux-x86_64-server-fastdebug clean
make CONF=linux-x86_64-server-fastdebug install-hsdis
-------------
Commit messages:
- Add check for lib64 library to pick up libsframe.a in hsdis build
Changes: https://git.openjdk.org/jdk/pull/28099/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28099&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8371088
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/28099.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28099/head:pull/28099
PR: https://git.openjdk.org/jdk/pull/28099
More information about the build-dev
mailing list