From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14846 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: another armv7-m exception handling problem Date: Mon, 21 Oct 2019 01:38:29 -0400 Message-ID: <20191021053829.GG16318@brightrain.aerifal.cx> References: <20191021050411.GE16318@brightrain.aerifal.cx> <20191021052005.GF16318@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40616"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14862-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 21 07:38:50 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iMQOy-000AP0-OX for gllmg-musl@m.gmane.org; Mon, 21 Oct 2019 07:38:44 +0200 Original-Received: (qmail 9334 invoked by uid 550); 21 Oct 2019 05:38:42 -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 9312 invoked from network); 21 Oct 2019 05:38:41 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14846 Archived-At: On Mon, Oct 21, 2019 at 04:34:07PM +1100, Patrick Oppenlander wrote: > On Mon, Oct 21, 2019 at 4:20 PM Rich Felker wrote: > > > > On Mon, Oct 21, 2019 at 01:04:11AM -0400, Rich Felker wrote: > > > > > > OK, this is almost surely a bug in the tooling -- a weak reference has > > > to use a GOT slot in PIC since it might be undefined and need to > > > evaluate to 0, and the GOT slot should not have a relocation on it if > > > it ends up evaluating to 0. Pretty sure it's ld's fault. > > Makes sense. Should I report to the binutils guys? I think so, but it would probably be worth determining whether it's arm-specific or more general first so that the report gets to the right ppl. I can try it on some other archs tomorrow. Rich