Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Dirk Opfer <Dirk@Do13.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] gcc-configure-common.inc: Disable	--enable-target-optspace for *-*-linux-gnuspe.
Date: Wed, 27 Jan 2010 18:55:47 +0100	[thread overview]
Message-ID: <4B607E23.1010601@Do13.de> (raw)
In-Reply-To: <1264578737-7573-1-git-send-email-raj.khem@gmail.com>

Khem Raj schrieb:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes/gcc/gcc-configure-common.inc |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc
> index ee6c0e7..7a15562 100644
> --- a/recipes/gcc/gcc-configure-common.inc
> +++ b/recipes/gcc/gcc-configure-common.inc
> @@ -16,6 +16,13 @@ OBJC_nylon ?= ""
>  OBJC_mips ?= ""
>  OBJC_mipsel ?= ""
>  OBJC ?= ",objc"
> +# disable --enable-target-optspace for powerpc SPE
> +# at -Os libgcc.so.1 creates references into
> +# hidden symbols in libgcc.a which linker complains
> +# when linking shared libraries further in the build like (gnutls)
> +
> +OPTSPACE_linux-gnuspe ?= ""
> +OPTSPACE ?= "--enable-target-optspace"
>  
>  # gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
>  FORTRAN ?= ",f77"
> @@ -27,7 +34,6 @@ EXTRA_OECONF_PATHS ?= ""
>  EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
>                  --with-gnu-ld \
>                  --enable-shared \
> -                --enable-target-optspace \
>                  --enable-languages=${LANGUAGES} \
>                  --enable-threads=posix \
>                  --enable-multilib \
> @@ -36,6 +42,7 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d,
>                  --enable-symvers=gnu \
>                  --enable-libstdcxx-pch \
>                  --program-prefix=${TARGET_PREFIX} \
> +                ${OPTSPACE} \
>                  ${EXTRA_OECONF_BASE} \
>                  ${EXTRA_OECONF_FPU} \
>                  ${EXTRA_OECONF_PATHS} \
>   
Builds a gcc 4.4.2 based toolchain without problems

Acked-by: Dirk Opfer <Dirk@do13.de>

Thanks,
Dirk




      reply	other threads:[~2010-01-27 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27  7:52 [PATCH] gcc-configure-common.inc: Disable --enable-target-optspace for *-*-linux-gnuspe Khem Raj
2010-01-27 17:55 ` Dirk Opfer [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=4B607E23.1010601@Do13.de \
    --to=dirk@do13.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox