mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: musl + PowerPC + GCC 5
Date: Thu, 15 Dec 2016 13:58:10 -0500	[thread overview]
Message-ID: <20161215185810.GA1555@brightrain.aerifal.cx> (raw)
In-Reply-To: <20161215105901.GI16379@port70.net>

On Thu, Dec 15, 2016 at 11:59:01AM +0100, Szabolcs Nagy wrote:
> * A. Wilcox <AWilcox@Wilcox-Tech.com> [2016-12-14 22:11:49 -0600]:
> > On 14/12/16 04:53, Szabolcs Nagy wrote:
> > > * A. Wilcox <awilfox@adelielinux.org> [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


      reply	other threads:[~2016-12-15 18:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14 10:02 A. Wilcox
2016-12-14 10:53 ` Szabolcs Nagy
2016-12-15  4:11   ` A. Wilcox
2016-12-15 10:59     ` Szabolcs Nagy
2016-12-15 18:58       ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161215185810.GA1555@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).