From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9375 Path: news.gmane.org!not-for-mail From: Shiz Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix unresolved symbol issues on ARMv7 due to raise/divmod dependency Date: Tue, 23 Feb 2016 22:06:37 +0100 Message-ID: <0FBC20BB-5CD4-48D6-AF1A-41E08BA368E4@shiz.me> References: <20160223222120.253fa62ba0205776c235c22a@dimakrasner.com> <20160223204337.GB29662@port70.net> <20160223204548.GQ9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1456261613 19740 80.91.229.3 (23 Feb 2016 21:06:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 21:06:53 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9388-gllmg-musl=m.gmane.org@lists.openwall.com Tue Feb 23 22:06:53 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 1aYKAW-0005Jp-Mj for gllmg-musl@m.gmane.org; Tue, 23 Feb 2016 22:06:53 +0100 Original-Received: (qmail 19500 invoked by uid 550); 23 Feb 2016 21:06:49 -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 19471 invoked from network); 23 Feb 2016 21:06:49 -0000 In-Reply-To: <20160223204548.GQ9349@brightrain.aerifal.cx> X-Mailer: Apple Mail (2.3112) Xref: news.gmane.org gmane.linux.lib.musl.general:9375 Archived-At: > On 23 Feb 2016, at 21:45, Rich Felker wrote: > > The --as-needed stuff is also not needed; it's a nop for static > libraries, which -lgcc always is. But I'm unclear why this patch is > needed to begin with, and why -lc was there already. The compiler > should be passing in the right -l options. These are filtered out in the musl-clang front-end; only user-given -l flags are passed to the linker. This is to prevent implementation-specific library segmentation, which the compiler may have knowledge about, from leaking into the linking. - Shiz