From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10129 Path: news.gmane.org!not-for-mail From: Lei Zhang Newsgroups: gmane.linux.lib.musl.general Subject: Re: Dynamic linker name Date: Wed, 15 Jun 2016 11:06:25 +0800 Message-ID: References: <20160614150430.GP22574@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1465960008 8223 80.91.229.3 (15 Jun 2016 03:06:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2016 03:06:48 +0000 (UTC) Cc: Khem Raj , Luca Barbato To: musl@lists.openwall.com Original-X-From: musl-return-10142-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jun 15 05:06:42 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 1bD1A9-00032Q-RQ for gllmg-musl@m.gmane.org; Wed, 15 Jun 2016 05:06:41 +0200 Original-Received: (qmail 11365 invoked by uid 550); 15 Jun 2016 03:06:38 -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 11342 invoked from network); 15 Jun 2016 03:06:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=exMvvV5EwNwo0xou6iSxj0h9zsOUh+PUOG9bbiKf3+k=; b=ULx3+S9HNpvntTW25mZHikbZsqTJCd/7C8NMEqMoQGA7KVITteP1w+zEtvGjJflLk1 5ax/0YUyjRKAahh7O/sturnl9UBMqTaqM8DPFTayFF1UiL6VST87nRAe07Gwvy0DSE8g YRZs6C7ybs7kHqElzWcMgKmYRT2xB71qFmqhjk4JkHbxBsoW9Aqnh97MEScwi+46VDnj wJ+En8eYXXr8V73kqiC6dy/LiKqXd+QW6ahKmdRbDSumZmaAWGyS5fL4IGxXUuM2J/zL WPyG1B7oYPIqFGTN2bFzsH5lZfSzXHphETkE0xcR7mtIORaFJrhnXdmOQ5GmVNak228j jsnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=exMvvV5EwNwo0xou6iSxj0h9zsOUh+PUOG9bbiKf3+k=; b=Qt2mKQpzPrHTAZiYKSyriAXyrghgY/G18Ka8OrniJ8KFluxD+Hrfe9a07dY4+z2rGr O60+lruzycmoWT9N+w2rPrp5vF/4Tc2hvOZUYhQOPukmmiON+4D5zjUycGFi5P2Z27nD 8HztbJMKg0MkwQvzlVH/1d4cfgf+lBr67yAJvJlCf9lsGRUkUIf73u+6fd6m8J+GgQ2v 0TPmurmc0xVG2Ty7vTaO4VlOGqrNUUxcD0CccIBC40MvhZQeYF81SLa5HnXNbSNwnYp/ z42QTyBtz+rBEmd9C3GKj/D2SKfUxr9wdASFl2xciPzB27Q0EXHYboukJZcFjvQCi/Us gywQ== X-Gm-Message-State: ALyK8tI7ch/8P9XZYIpC5QQ70ZbYuQDqjt77yqkfLrNHJgtbfJOSyW+P00vAMZ38ahTTcOaArFTi/arF0FJnCw== X-Received: by 10.202.96.68 with SMTP id u65mr11351212oib.83.1465959985997; Tue, 14 Jun 2016 20:06:25 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10129 Archived-At: 2016-06-14 23:56 GMT+08:00 Lei Zhang : > 2016-06-14 23:11 GMT+08:00 Rafael Esp=C3=ADndola : >> Sorry, but my understanding is that r272662 is correct for x86, no? >> >> We can definitely add support for more arches with musl if someone sends= a >> patch to the list. > > If no one intends to do this, I can prepare further patches and > relevant test cases for other archs. Now I'm determining the $ARCH field in musl's dynamic linker name for non-x86 archs. After reading these two patches (thanks to their authors): http://git.alpinelinux.org/cgit/aports/plain/main/clang/clang-0004-Add-musl= -targets-and-dynamic-linker.patch https://github.com/kraj/meta-clang/blob/master/recipes-devtools/clang/clang= /0001-clang-driver-Add-musl-ldso-support.patch I got the following list: i386 x86_64 arm armhf armeb armebhf aarch64 aarch64_be mips mipsel mips64 mipsel64el // this one looks weird powerpc powerpc64 Is this list comprehensive? Is there anything wrong? I have no access to non-x86 machines at the moment, thus no way to verify them. BTW, I leaved out x32 on purpose, since musl's support for it is experimental (right?), and it requires yet another environment type "muslx32" in LLVM. Thanks, Lei