RFR: 8318753: hsdis binutils may place libs in lib64
Claes Redestad
redestad at openjdk.org
Thu Oct 26 22:22:38 UTC 2023
The binutils build of libiberty is put in `$BINUTILS_INSTALL_DIR/lib64` on some Linux distributions (e.g. Fedora, Oracle Linux), `$BINUTILS_INSTALL_DIR/lib` on others (e.g. Ubuntu).
This PR suggest simply adding logic to look for `libiberty.a` in either place, favoring `.../lib` like now. Alternative solutions like adding an explicit `--libdir=$BINUTILS_INSTALL_DIR/lib` in the binutils `configure` setup was tested, but this option was ignored by the libibrerty build on the binutils versions I've tried.
-------------
Commit messages:
- 8318753: hsdis binutils may place libs in lib64
Changes: https://git.openjdk.org/jdk/pull/16387/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16387&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8318753
Stats: 12 lines in 1 file changed: 9 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/16387.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16387/head:pull/16387
PR: https://git.openjdk.org/jdk/pull/16387
More information about the build-dev
mailing list