From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4563 Path: news.gmane.org!not-for-mail From: Oliver Schneider Newsgroups: gmane.linux.lib.musl.general Subject: Re: How to build libc.a with -fPIC for all archive members? Date: Mon, 10 Feb 2014 13:27:12 +0000 Organization: CYREN Iceland Message-ID: <52F8D3B0.4030106@f-prot.com> References: <52F8C782.4060308@f-prot.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392038840 26407 80.91.229.3 (10 Feb 2014 13:27:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 13:27:20 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4567-gllmg-musl=m.gmane.org@lists.openwall.com Mon Feb 10 14:27:28 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 1WCqtS-0005SR-2L for gllmg-musl@plane.gmane.org; Mon, 10 Feb 2014 14:27:26 +0100 Original-Received: (qmail 5302 invoked by uid 550); 10 Feb 2014 13:27:25 -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 5294 invoked from network); 10 Feb 2014 13:27:25 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <52F8C782.4060308@f-prot.com> X-Antivirus: Scanned by F-PROT Antivirus (http://www.f-prot.com) Xref: news.gmane.org gmane.linux.lib.musl.general:4563 Archived-At: So I piped the output of the compilation into a text file and then used "grep -v fPIC" to see only lines that don't contain -fPIC (well fPIC), but that yields a list where the "ar" command and a few auxiliary commands are the only ones left. So it appears all calls to the compiler (I use GCC) pass the -fPIC from the ./configure invocation. Still looking, but if someone has any input, that would be appreciated. // Oliver