On Thu, 26 Oct 2023 22:17:45 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 4f9f1955
Author:    Claes Redestad <redes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/4f9f1955ab2737880158c57d4891d90e2fd2f5d7
Stats:     12 lines in 1 file changed: 9 ins; 0 del; 3 mod

8318753: hsdis binutils may place libs in lib64

Reviewed-by: rehn, djelinski, ihse

-------------

PR: https://git.openjdk.org/jdk/pull/16387

Reply via email to