From: Daniel Jacobowitz <drow@mvista.com>
To: Alexandre Oliva <aoliva@redhat.com>
Cc: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com,
binutils@sources.redhat.com
Subject: Re: (toplevel) Fix dramatic breakage for ordinary crosses (related to program_transform_name)
Date: Sat, 28 Dec 2002 10:50:00 -0000 [thread overview]
Message-ID: <20021228185007.GA22186@nevyn.them.org> (raw)
In-Reply-To: <orn0mq3sch.fsf@free.redhat.lsd.ic.unicamp.br>
On Sat, Dec 28, 2002 at 04:34:38PM -0200, Alexandre Oliva wrote:
> On Dec 28, 2002, Daniel Jacobowitz <drow@mvista.com> wrote:
>
> > It's a question of whether you can do the locking without making people
> > throw up, I think.
>
> I'm confident I can, but... On second thought, it occurs to me that
> all locking would accomplish is let one make in a make -j pool run one
> configure script while other makes block on the lock. Not good...
>
> Another idea is that we could really run multiple configure scripts in
> parallel, giving each one a separate cache file. We'd still have to
> synchronize the actions of taking a copy of config.cache and of
> updating it, and then we might get some tests run more than once in
> separate directories.
>
>
> But then, frankly... If running configure scripts in parallel is so
> much of a problem, why haven't we had problems so far? It's not like
> our build infrastructure has ever prevented configure scripts in
> sibling directories from running in parallel. It's perfectly possible
> for say gas, ld and binutils to be reconfigured in parallel after
> their configure scripts are modified, and I've never heard of anyone
> having problems because of this.
>
> So, if we really can't avoid the problem, is it really worth fussing
> so much about it? I mean, if you want to make absolutely sure that
> configure to be run sequentially, run `make configure' without -j and
> be done with it, and only then run `make -jN all NOTPARALLEL=all'. If
> you can live with a little bit of risk, skip `make configure' and let
> us know if you run into problems (after forced serialization of
> configure is taken out, of course :-) Comments?
Now you're speaking my language. This even lets me say "make
configure-gdb" to configure exactly the directories I need. Sure, some
reconfigures may end up taking place in parallel; I posit that if we
see a config.cache problem then it should be solved by fixing
_autoconf_ to update the cache atomically.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-28 18:49 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-28 4:36 Nathanael Nerode
2002-12-28 8:33 ` Alexandre Oliva
2002-12-28 9:51 ` Daniel Jacobowitz
2002-12-28 9:56 ` Alexandre Oliva
2002-12-28 9:59 ` Daniel Jacobowitz
2002-12-28 10:41 ` Alexandre Oliva
2002-12-28 10:46 ` Dan Kegel
2002-12-28 11:07 ` DJ Delorie
2002-12-28 12:26 ` Daniel Jacobowitz
2002-12-28 10:50 ` Daniel Jacobowitz [this message]
2002-12-28 11:01 ` DJ Delorie
2002-12-28 12:57 ` Alexandre Oliva
2002-12-28 13:51 ` Alexandre Oliva
2002-12-29 18:57 ` Alexandre Oliva
2002-12-28 14:14 ` DJ Delorie
2002-12-28 15:22 ` Alexandre Oliva
2002-12-28 10:54 ` Alexandre Oliva
2002-12-28 10:49 ` DJ Delorie
2002-12-28 11:00 ` DJ Delorie
-- strict thread matches above, loose matches on Subject: below --
2003-01-06 0:49 Michael Elizabeth Chastain
2002-12-29 0:39 Michael Elizabeth Chastain
2002-12-29 2:48 ` Alexandre Oliva
2002-12-28 13:22 Michael Elizabeth Chastain
2002-12-28 13:44 ` Alexandre Oliva
2003-01-06 0:04 ` Ben Elliston
2002-12-28 1:00 Nathanael Nerode
2002-12-28 1:22 ` Alexandre Oliva
2002-12-28 1:33 ` Alexandre Oliva
2002-12-28 7:47 ` Kazu Hirata
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=20021228185007.GA22186@nevyn.them.org \
--to=drow@mvista.com \
--cc=aoliva@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sources.redhat.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