From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7660 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: ppc soft-float regression Date: Sun, 17 May 2015 12:35:21 -0400 Message-ID: <20150517163521.GO17573@brightrain.aerifal.cx> References: <20150517080321.GL16123@waldemar-brodkorb.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1431880542 15093 80.91.229.3 (17 May 2015 16:35:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 May 2015 16:35:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7672-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 17 18:35:37 2015 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 1Yu1XM-0007p1-6G for gllmg-musl@m.gmane.org; Sun, 17 May 2015 18:35:36 +0200 Original-Received: (qmail 7575 invoked by uid 550); 17 May 2015 16:35:35 -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 7554 invoked from network); 17 May 2015 16:35:34 -0000 Content-Disposition: inline In-Reply-To: <20150517080321.GL16123@waldemar-brodkorb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7660 Archived-At: On Sun, May 17, 2015 at 10:03:21AM +0200, Waldemar Brodkorb wrote: > Hi, > > as mentioned the days on IRC. > 1.1.9 produces a lot of segfaults on Qemu-PPC with Soft-Float. > 1.1.8 was fine. Soft-float has never been a supported configuration for PowerPC, as you can see from the fact that there's no separate dynamic linker name for it. I'm surprised it ever seemed to work -- surely setjmp/longjmp would be broken since they save/restore FPU registers. I don't think it would be hard to add though, and I'd welcome patches for it. What's needed is basically: - detection in configure, setting $SUBARCH there - dynamic linker name variants in arch/powerpc/reloc.h - separate subarch dir for soft-float in src/setjmp If you add soft-float it would probably make sense to add little-endian variant at the same time, if that's useful to anyone, since once you do the subarch work there's hardly any more work to make an endian variant too. Rich