From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4973 Path: news.gmane.org!not-for-mail From: Timo Teras Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 2/3] Add soname to dynamic section Date: Mon, 28 Apr 2014 09:32:06 +0300 Message-ID: <20140428093206.57e713db@vostro> References: <1398649434-23560-1-git-send-email-raj.khem@gmail.com> <1398649434-23560-2-git-send-email-raj.khem@gmail.com> <20140428020032.GU26358@brightrain.aerifal.cx> <20140428055421.GA1429@muslin> <20140428062239.GA1516@muslin> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398666747 7398 80.91.229.3 (28 Apr 2014 06:32:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 06:32:27 +0000 (UTC) Cc: ibid.ag@gmail.com To: musl@lists.openwall.com Original-X-From: musl-return-4977-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 28 08:32:22 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Wef6z-00075H-Rh for gllmg-musl@plane.gmane.org; Mon, 28 Apr 2014 08:32:21 +0200 Original-Received: (qmail 7243 invoked by uid 550); 28 Apr 2014 06:32:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7235 invoked from network); 28 Apr 2014 06:32:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=9UQyJ/kFXqi97qHjFigMEXIMxXIneXAOT6WqxaXcCzs=; b=zXGuGsfkUsWdWZ3vnHCoF26YqOdMybImkiWWmCHJfk7TQS25JXzReXqrUp4iH7/Rsg NlvA0r/wgHWQwR6JL/zObi4/KojtfbrEjjvigMBxKQ4v7I7TUtnbXRqPk8Hm+z6pq3It N2gdzvtXLPeZ4goT7Q2yxzEomlItxQ0oVNBLjDcDQJFHTlmHNpkeCGmndUi6r/A+JnEC 8f3rm5Dr9ZiWV72C/4V+tEfNdq81ac1YHOiVtpf9UQATAkKoPZdNaDoPMyqrPeWm2Upi RKPJf8X9P/5CEOGip9oPCJfB5Fzjho84mBmUP2Anem1Hs99Vbo8cyxo5kjmB2qTzD+MV HlQw== X-Received: by 10.153.7.69 with SMTP id da5mr365874lad.38.1398666729821; Sun, 27 Apr 2014 23:32:09 -0700 (PDT) Original-Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= In-Reply-To: <20140428062239.GA1516@muslin> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; i486-alpine-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:4973 Archived-At: On Sun, 27 Apr 2014 23:22:40 -0700 Isaac Dunham wrote: > On Sun, Apr 27, 2014 at 11:00:16PM -0700, Khem Raj wrote: > > On Sun, Apr 27, 2014 at 10:54 PM, Isaac Dunham > > wrote: > > > > > > The SONAME used to be in the makefile, but was removed due to > > > people encountering problems when they ran ldconfig. > > > > well, it seems coexisting is another usecase. My systems are > > bootstrapped with musl so I do not worry about ldconfig and glibc > > being around. > > so may be making soname configurable > > (--enable-soname/--disable-soname) is middle ground > > It should be possible to add -Wl,-soname=libc.so to LDFLAGS. > For example, > ./configure --prefix=/usr --libdir=/lib LDFLAGS="-Wl,-soname=libc.so" Yes, that works. This is what we do in Alpine Linux: http://git.alpinelinux.org/cgit/aports/tree/main/musl/APKBUILD#n75 - Timo