From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10805 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl + PowerPC + GCC 5 Date: Thu, 15 Dec 2016 13:58:10 -0500 Message-ID: <20161215185810.GA1555@brightrain.aerifal.cx> References: <585118BF.6040004@adelielinux.org> <20161214105306.GG16379@port70.net> <58521805.5000308@Wilcox-Tech.com> <20161215105901.GI16379@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1481828311 9233 195.159.176.226 (15 Dec 2016 18:58:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 18:58:31 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10818-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 15 19:58:27 2016 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.84_2) (envelope-from ) id 1cHbES-00017e-A8 for gllmg-musl@m.gmane.org; Thu, 15 Dec 2016 19:58:20 +0100 Original-Received: (qmail 15598 invoked by uid 550); 15 Dec 2016 18:58:23 -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 15580 invoked from network); 15 Dec 2016 18:58:22 -0000 Content-Disposition: inline In-Reply-To: <20161215105901.GI16379@port70.net> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10805 Archived-At: On Thu, Dec 15, 2016 at 11:59:01AM +0100, Szabolcs Nagy wrote: > * A. Wilcox [2016-12-14 22:11:49 -0600]: > > On 14/12/16 04:53, Szabolcs Nagy wrote: > > > * A. Wilcox [2016-12-14 04:02:39 -0600]: > > > i think the simplest fix is to config with --disable-decimal-float > > > > Note "--disable-decimal-float". I receive the same error. > > > > yeah, libgcc insists on using decimal float if the > compiler you build it with supports it.. (which is xgcc > when you cross compile so things work, but if you build > natively the config flags don't affect the outcome). > try to configure with > > libgcc_cv_dfp=no I don't think this should be an issue unless you're lying to configure: 1. If you have --build=powerpc-linux-musl and the gcc on your system is actually musl-targeted, it won't have decimal float (because it's presently impossible to build a gcc where that's working) and it should detect that and work. 2. If you have --build=powerpc-linux-gnu, then you're cross compiling and/or building across compiler, so xgcc or powerpc-linux-musl-gcc should be used in place of gcc to build target libs. Only in the case where you told it build=musl but it's really build=gnu should this break... Rich