All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>,
	 Ross Burton <ross.burton@intel.com>
Subject: Re: [OE-core] [PATCH] binutils: Pregenerate autoconf files
Date: Thu, 26 Mar 2020 11:29:39 -0700	[thread overview]
Message-ID: <CAMKF1sp3kT69xFNVjpckzymVt+jbguz3byzZF1Pc5H5wzZj_Uw@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1srYNHp7hNBzuTcgxHDAnA7rsu=53Qs8YyaE+tCxfd26Rg@mail.gmail.com>

On Thu, Mar 26, 2020 at 10:03 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Thu, Mar 26, 2020 at 5:45 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > On Wed, 2020-03-25 at 16:16 -0700, Khem Raj wrote:
> > > libtool patch will result in configure file regeneration, instead of
> > > doing that at build time, do it in patch itself, this avoids running
> > > autoconf before configure step.
> > >
> > > Since binutils needs specific version of autoconf ( which is 2.69 )
> > > this will break on systems using newer or older verisons of autoconf
> > > in current state.
> > >
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > Cc: Ross Burton <ross.burton@intel.com>
> > > ---
> > >  meta/recipes-devtools/binutils/binutils.inc   |     8 +-
> > >  .../binutils/0007-Use-libtool-2.4.patch       | 26583 ++++++++++++
> > > ----
> > >  2 files changed, 20352 insertions(+), 6239 deletions(-)
> >
> > Whilst I appreciate the intent here, our policy is to autoreconf most
> > things in general. This allows us to more easily support newer
> > architectures and platforms.
> >
> > There is a significant build speed benefit from not autoreconf'ing
> > things but where do we draw the line?
> >
>
> in general this is fine but binutils, gcc , glibc can not be treated
> in general category
> since they have dependencies on specific versions of autotools
> unfortunately, it currently
> works for binutils because our version of autoconf matches with what
> binutils expects
> as of now, but this will skew if this changes in future. In nutshell,
> the auto-fu in these
> packages is quite involved and has hard dependencies on specific
> versions of tools
> needed to reconfig them.
>
> > I'm also worried about patches which touch both configure and
> > configure.ac since the timestamp changes can cause things to autoreconf
> > even when we're trying to avoid that. As such this is actually quite a
> > risky change given past bad experiences :(
>
> We were not fully reconfiguring binutils even now, because of other
> autotool sversion mimatches
> only autoconf was being run which does not change the case if
> configure was say regenerated
> as you say.
>
> >
> > I'm not completely against it but I am worried.
> >
>
> perhaps addresses some of your concerns.

after some IRC discussions, I think it better for us to drop this change.

>
> > Cheers,
> >
> > Richard
> >

  reply	other threads:[~2020-03-26 18:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 23:16 [PATCH] binutils: Pregenerate autoconf files Khem Raj
2020-03-26 12:45 ` [OE-core] " Richard Purdie
2020-03-26 12:56   ` Otavio Salvador
2020-03-26 17:03   ` Khem Raj
2020-03-26 18:29     ` Khem Raj [this message]
2020-03-27  0:57       ` Khem Raj

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=CAMKF1sp3kT69xFNVjpckzymVt+jbguz3byzZF1Pc5H5wzZj_Uw@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=ross.burton@intel.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 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.