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 10:39:52 +0200	[thread overview]
Message-ID: <871umkr02v.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1337116550-12175-1-git-send-email-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Tue, 15 May 2012 23:15:50 +0200")

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> Decimal floats were introduced circa gcc-4.2 or -4.3, and requires
 Yann> the floating-point environement fenv.h in the C library.

 Yann> The uClibc .config file used by crosstool-NG to build uClibc is the
 Yann> same as used by the internal buildroot mechanism, and explcitly
 Yann> disables fenv support.

 Yann> The quick workaround is to simply disable decimal floats in all
 Yann> crosstool-NG config files.

 Yann> In the long run, it might be better to check this situation, and/or
 Yann> add code and/or options in crosstool-NG to handle this (but it is
 Yann> much more involved, and this workaround is sane).

Committed, thanks.

-- 
Bye, Peter Korsgaard

      parent reply	other threads:[~2012-05-16  8:39 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
2012-05-16  7:58     ` Yann E. MORIN
2012-05-16  8:38       ` Peter Korsgaard
2012-05-16  8:39 ` Peter Korsgaard [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=871umkr02v.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