On Sat, 28 Mar 2020 11:35:36 +0100
Andreas Schwab <sch...@linux-m68k.org> wrote:

> On Mär 28 2020, Sergei Trofimovich via Gcc wrote:
> 
> > x86_64-linux-musl targets do not support multilib layout as-is
> > and usually expects libdir=lib. glibc target usually uses libdir=lib64.  
> 
> If x86_64-linux-musl doesn't support multilib then it should not use
> i386/t-linux64 as tmake_file.

i386/t-linux64 is also be used for (debian's?) multiarch and not just multilib.
From https://gcc.gnu.org/PR90077#c2 I assume multiarch still works
    MULTILIB_OSDIRNAMES = m64=../lib64:x86_64-linux-musl
and happens to use lib64, yes? Don't know how multiarch maps to real 
directories.

https://wiki.debian.org/Multiarch/LibraryPathOverview claims result should
end up being.
    /usr/lib/$(multiarch)

Looking at 
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config.gcc;h=13e3cb753e2c6b9b326d182ffb38944fb44454a5;hb=HEAD#l1916
it does not seem like just dropping it for '*-musl*' will work.

-- 

  Sergei

Reply via email to