Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] toolchain/crosstool-NG: disable decimal floats
Date: Wed, 16 May 2012 09:40:37 +0200	[thread overview]
Message-ID: <87ehqkr2tm.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4FB2D9B7.6050705@mind.be> (Arnout Vandecappelle's message of "Wed, 16 May 2012 00:33:27 +0200")

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 Arnout> On 05/15/12 23:15, Yann E. MORIN wrote:
 >> Decimal floats were introduced circa gcc-4.2 or -4.3, and requires
 >> the floating-point environement fenv.h in the C library.
 >> 
 >> The uClibc .config file used by crosstool-NG to build uClibc is the
 >> same as used by the internal buildroot mechanism, and explcitly
 >> disables fenv support.
 >> 
 >> The quick workaround is to simply disable decimal floats in all
 >> crosstool-NG config files.

 Arnout>  Wouldn't it be better to enable FENV in buildroot's uClibc config?

It's afaik only available for i386, and even then I believe some things
are missing.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2012-05-16  7:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 21:15 [Buildroot] [PATCH] toolchain/crosstool-NG: disable decimal floats Yann E. MORIN
2012-05-15 22:33 ` Arnout Vandecappelle
2012-05-16  7:40   ` Peter Korsgaard [this message]
2012-05-16  7:58     ` Yann E. MORIN
2012-05-16  8:38       ` Peter Korsgaard
2012-05-16  8:39 ` Peter Korsgaard

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=87ehqkr2tm.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox