Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] rpm: fix build issue with gcc5
Date: Sun, 10 May 2015 23:03:03 +0100	[thread overview]
Message-ID: <1431295383.30971.25.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAMKF1spdFnLWipG86g52MGfTEohRkketU6qCj+cTQcJC-o2rCQ@mail.gmail.com>

On Sun, 2015-05-10 at 09:15 -0700, Khem Raj wrote:
> On Sun, May 10, 2015 at 7:28 AM, Armin Kuster <akuster808@gmail.com> wrote:
> > | tset.o:(.debug_loc+0xe8): undefined reference to `.LCL0'
> > | tset.o:(.debug_loc+0xf7): undefined reference to `.LCL0'
> >
> > thanks Khem
> >
> > Signed-off-by: Armin Kuster <akuster808@gmail.com>
> > ---
> >  meta/recipes-devtools/rpm/rpm_5.4.14.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
> > index 03a24f0..22b111a 100644
> > --- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb
> > +++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
> > @@ -110,6 +110,9 @@ inherit autotools gettext
> >
> >  acpaths = "-I ${S}/db/dist/aclocal -I ${S}/db/dist/aclocal_java"
> >
> > +FULL_OPTIMIZATION_powerpc_remove = "-O2"
> > +FULL_OPTIMIZATION_append_powerpc = " -Os "
> > +
> 
> http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&id=741d3bf91144973d26de647039fa60b87a09edf1
> fixes same issue for libx11
> 
> I am wondering if we should make this change in some common config
> metadata file to list all recipes that need this workaround
> untill gcc is fixed for it may be arch-powerpc.inc, since then it will
> be easy to remember to unbolt them once gcc is fixed.

I like the idea of a common include to handle this a lot better.

FWIW, I tried gcc 5 on the autobuilder. The results were 141 failures so
far:

http://errors.yoctoproject.org/Errors/Search/?items=10&query=1426e31f0bcd19f066931d2ecbdec3752b14e88e&limit=150

Cheers,

Richard



  reply	other threads:[~2015-05-10 22:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-10 14:28 [PATCH] rpm: fix build issue with gcc5 Armin Kuster
2015-05-10 16:15 ` Khem Raj
2015-05-10 22:03   ` Richard Purdie [this message]
2015-05-11 15:30     ` akuster808
2015-05-11 15:47     ` Khem Raj
2015-05-11 16:17       ` akuster808
2015-05-12  7:06     ` Richard Purdie
2015-05-12 14:57       ` Otavio Salvador
2015-05-12 15:15         ` Dan McGregor
2015-05-12 16:11         ` Khem Raj
2015-05-12 16:17       ` akuster808
2015-05-15 10:40       ` Richard Purdie
2015-05-15 16:25         ` Khem Raj
2015-05-15 16:45           ` akuster808
2015-05-15 16:48             ` Bruce Ashfield
2015-05-15 20:00               ` akuster808
2015-05-19 20:50         ` Bruce Ashfield
2015-05-20 20:42           ` Bruce Ashfield

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=1431295383.30971.25.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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