On Wed, Sep 15, 2021 at 4:12 AM CHIGOT, CLEMENT <clement.chi...@atos.net> wrote: > > As gcc on 64bit for AIX is built with "MULTILIB_MATCHES= .=maix32", > "-print-multi-directory" and similar flags aren't returning the > correct directory when used with -maix32: "." is returned instead > of "ppc32". > Libgcc installation script needs to be adjust to bypass this > problem and correctly install 32bit files in a ppc32 subdirectory. > > libgcc/ChangeLog: > 2021-09-03 Clément Chigot <clement.chi...@atos.net> > > * config/rs6000/t-slibgcc-aix (SHLIB_INSTALL): Replace > "$(slibdir)@shlib_slibdir_qual@" by $(inst_libdir).
Hi, Clement Sorry for the delay. I believe that this is a change in behavior. Maybe you don't see it because you use --enable-version-specific-runtime-libs? If one uses that configure option, your patch produces the same results -- it's explicitly using that version-specific directory. If one does not use that configure option, your patch enforces that behavior. The patch should not change that behavior. Based on your question in another email message, I infer that MULTIOSSUBDIR and shlib_slibdir_qual are defined incorrectly. Thanks, David