All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] Add --disable-decimal-float option to gcc-cross-intermediate/gcc-cross_4.4.2.bb
Date: Mon, 4 Jan 2010 15:14:53 -0800	[thread overview]
Message-ID: <20100104231453.GA10191@gmail.com> (raw)
In-Reply-To: <1262417638-26595-1-git-send-email-camelguo@gmail.com>

On (02/01/10 15:33), Guo Hongruan wrote:
> 1. Add --disable-decimal-float option to gcc-cross-intermediate_4.4.2.bb when LIBC == uclibc and TARGET_ARCH == i[3|4|5|6]86, without it, the compilation will failed due to lack of fenv.h.
> ---
>  recipes/gcc/gcc-cross-intermediate_4.4.2.bb |    7 +++++++
>  recipes/gcc/gcc-cross_4.4.2.bb              |    7 ++++++-
>  2 files changed, 13 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes/gcc/gcc-cross-intermediate_4.4.2.bb b/recipes/gcc/gcc-cross-intermediate_4.4.2.bb
> index 3ca59aa..4bb1004 100644
> --- a/recipes/gcc/gcc-cross-intermediate_4.4.2.bb
> +++ b/recipes/gcc/gcc-cross-intermediate_4.4.2.bb
> @@ -1,9 +1,16 @@
>  require gcc-cross_${PV}.bb
>  require gcc-cross-intermediate.inc
>  
> +PR = "${INC_PR}.2"
> +
>  DEPENDS += "gmp-native mpfr-native"
>  
>  EXTRA_OECONF += " --disable-libmudflap \
>  		  --disable-libgomp \
>  		  --disable-libssp \
>  		"
> +
> +EXTRA_OECONF_append_linux-uclibc += " ${@base_contains('TARGET_ARCH', 'i386', '--disable-decimal-float', '',d)}"
> +EXTRA_OECONF_append_linux-uclibc += " ${@base_contains('TARGET_ARCH', 'i486', '--disable-decimal-float', '',d)}"
> +EXTRA_OECONF_append_linux-uclibc += " ${@base_contains('TARGET_ARCH', 'i586', '--disable-decimal-float', '',d)}"
> +EXTRA_OECONF_append_linux-uclibc += " ${@base_contains('TARGET_ARCH', 'i686', '--disable-decimal-float', '',d)}"

It should be disabled for all uclibc based arch/distro combo's
and the change should go to gcc-<version>.inc files as in my original
patch.




  reply	other threads:[~2010-01-04 23:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-02  7:33 [PATCH] Add --disable-decimal-float option to gcc-cross-intermediate/gcc-cross_4.4.2.bb Guo Hongruan
2010-01-04 23:14 ` Khem Raj [this message]
2010-01-05  1:59   ` Guo Hongruan

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=20100104231453.GA10191@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.