From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10091 Path: news.gmane.org!not-for-mail From: Lei Zhang Newsgroups: gmane.linux.lib.musl.general Subject: Dynamic linker name Date: Mon, 6 Jun 2016 09:47:10 +0800 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1465177649 11879 80.91.229.3 (6 Jun 2016 01:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 01:47:29 +0000 (UTC) To: musl@lists.openwall.com, Luca Barbato Original-X-From: musl-return-10104-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jun 06 03:47:28 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1b9jdY-0004RX-06 for gllmg-musl@m.gmane.org; Mon, 06 Jun 2016 03:47:28 +0200 Original-Received: (qmail 26175 invoked by uid 550); 6 Jun 2016 01:47:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26156 invoked from network); 6 Jun 2016 01:47:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=lVn2BGrEw9P7v6pNU+hJMokR0D9u1OW6g4Xg5S8lNXc=; b=z+ZCoqjyXSAxN5Z4Jv5hU8O3s3cpW0xWwPdPQkSDL8cDC5vJjCYKf8bt3IqaS9N31w 7k3jfGWiTcl/Bsg8xYz0Y6v9Fv9SeDCczhuUWBNhTpp2rtUnfh+XOJlWUZL0HX/fCLeE V++xz7c/wgdj41hOW6qxiCoND+7NjCW0fSuKT/zcKAyW9nzbNqN9ttckzX6q9i63DvbI 9rRdY014+V3OaKuhS1hr0Oqf+RcUzbdX3QJZ/YISQgOS5iplWA6bDf4szAc3FqgcrOwV g8ecK+afHTxGhSpdeiyUyELPsmNheI+RI5MEjaXFeG0O0mHgmxB84Rg5MJ6riwOAzvIk hYvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lVn2BGrEw9P7v6pNU+hJMokR0D9u1OW6g4Xg5S8lNXc=; b=JU1aq3khqySZHx2BWIGKH4zG+FZ96SuNK+tgGy7ShKjjtWTGockp1ZQ+hBoIbUtVEv uuNeXvjIIgUoS7CWlVutkb6OqEy+Zst5GTKwhSmKP738r8H1ukJDaz7+7M4Bge7iQwKu FgTohXt5CgzkzKBAOwMtkgGnGWaxf6/VZfBZ/famww9m5MGctwA2Hxm+4w868rfoEn5P dCHprULTjWSaPuljT6lW8diL8HAAVfCVstEzRnRb+aPIYhw44LXUfLcz/JnWjgpn9yFd dMjAOKBfkgIhITTp8UOjhqsD9o9nEVq5Nxyxwf6aWwj0O4gHSlDvDXHBZ1q5/NvuRXF1 iYCQ== X-Gm-Message-State: ALyK8tKczhiORFvR408OjTQ9kuRuVgqSrA0tfcU2x1JDWNeQ57p9x/kQ/uP7XAwGcsMal/Mfx0vac64/6fytlA== X-Received: by 10.202.96.68 with SMTP id u65mr6539675oib.83.1465177631026; Sun, 05 Jun 2016 18:47:11 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:10091 Archived-At: 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 Thanks, Lei