On 2024-10-28 16:48, Baesken, Matthias wrote:

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

>If you believe this to be a bug, please open a JBS issue.

At least the error output is bad , it says :

configure: error: "/mydir/binutils-2.39-s15/lib64 must contain libbfd.a, libopcodes.a and libiberty.a"

but when checking the 3 libs are present .

The error output and check do not match .

Probably we need something like

    if (test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a || test -e $BINUTILS_INSTALL_DIR/lib64/libbfd.a) && \

        (test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a || test -e $BINUTILS_INSTALL_DIR/lib64/libopcodes.a) && \

Best regards, Matthias

Please open an issue in JBS.

/Magnus

Reply via email to