Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Joshua Lock <joshua.lock@collabora.co.uk>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] [fido] binutils: fix native builds when host has gcc5
Date: Wed, 17 Jun 2015 12:52:37 +0100	[thread overview]
Message-ID: <55815F85.4020300@collabora.co.uk> (raw)
In-Reply-To: <1433946366-54477-1-git-send-email-martin.stolpe@gmail.com>

Hi Martin,

Instead of taking this I've queued a patch in my fido/next branch from 
George McCollister's patch[2] which backports a fix from upstream instead.

With this I'm able to build binutils-native on a Fedora 22 laptop.

Cheers,

Joshua

1. 
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=joshuagl/fido-next
2. 
http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106168.html

On 10/06/15 15:26, Martin Stolpe wrote:
> Problem is that when building binutils using GCC >=5.0
> warnings will be treated as errors which will cause
> the build to fail.
>
> Signed-off-by: Martin Stolpe <martin.stolpe@gmail.com>
> ---
>   meta/recipes-devtools/binutils/binutils_2.24.bb | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils_2.24.bb b/meta/recipes-devtools/binutils/binutils_2.24.bb
> index 738aaee..bc34a14 100644
> --- a/meta/recipes-devtools/binutils/binutils_2.24.bb
> +++ b/meta/recipes-devtools/binutils/binutils_2.24.bb
> @@ -7,12 +7,15 @@ EXTRA_OECONF += "--with-sysroot=/ \
>                   --enable-install-libbfd \
>                   --enable-install-libiberty \
>                   --enable-shared \
> +                --disable-werror \
>                   "
>
>   EXTRA_OECONF_class-native = "--enable-targets=all \
>                                --enable-64-bit-bfd \
>                                --enable-install-libiberty \
> -                             --enable-install-libbfd"
> +                             --enable-install-libbfd \
> +                             --disable-werror \
> +                             "
>
>   do_install_class-native () {
>   	autotools_do_install
>



  parent reply	other threads:[~2015-06-17 11:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10 14:26 [PATCH] [fido] binutils: fix native builds when host has gcc5 Martin Stolpe
2015-06-10 15:42 ` Khem Raj
2015-06-11  5:27   ` Martin Stolpe
2015-06-12 14:34     ` Khem Raj
2015-06-17 11:52 ` Joshua Lock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-16 18:12 [PATCH][fido] " George McCollister

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=55815F85.4020300@collabora.co.uk \
    --to=joshua.lock@collabora.co.uk \
    --cc=openembedded-core@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