Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Jun 2016 22:57:40 -0400
From: Rich Felker <dalias@...c.org>
To: Lei Zhang <zhanglei.april@...il.com>
Cc: musl@...ts.openwall.com, Luca Barbato <lu_zero@...too.org>
Subject: Re: Dynamic linker name

On Mon, Jun 06, 2016 at 09:47:10AM +0800, Lei Zhang wrote:
> Hi,
> 
> I'm trying to make a few changes to clang/LLVM to make it work with
> musl, i.e. link executables against musl instead of glibc.
> 
> One of the changes involved is to tell clang where to find musl's
> dynamic linker. My question is: is musl's dynamic linker always named
> "ld-musl-$ARCH.so.1" and put under /lib?
> 
> More specifically, on a multilib system, which of the following is encouraged?
> 
> 1. /lib/ld-musl-{x86,x86_64}.so.1
> 2. /lib32/ld-musl-x86.so.1 and /lib64/ld-musl-x86_64.so.1

It's always /lib/, not /lib32/ or /lib64/.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.