From: Daniel Jacobowitz <drow@mvista.com>
To: Nathanael Nerode <neroden@twcny.rr.com>
Cc: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com,
binutils@sources.redhat.com, dj@redhat.com
Subject: Re: (toplevel) introduce host subdir configuration in Makefile
Date: Mon, 02 Dec 2002 08:18:00 -0000 [thread overview]
Message-ID: <20021202161822.GA11078@nevyn.them.org> (raw)
In-Reply-To: <20021128221312.GA20889@doctormoo>
On Thu, Nov 28, 2002 at 05:13:12PM -0500, Nathanael Nerode wrote:
> This introduces configure targets for host modules, but doesn't use them
> by default. To use them right now, you need to configure --norecursion
> and then hit each one by hand. I'll make them used automatically once I
> fiddle around and get the dependencies right for sure.
>
> At the moment it appears that 'gcc','zlib','fastjar', and 'libiberty' can
> be configured in any order relative to each other (nice and straightforward).
> If anyone knows of specific configure order dependencies, they should tell
> me. I'll be spending a while fiddling with gcc and src trying to identify
> any other real configure order dependencies.
>
> The 'safe' way to do it is to have all-foo for *every* host module foo
> depend on configure-bar for *every* host module bar, and to have
> a huge list of configure-configure dependencies forcing a specific order.
> But that's stupid, and it looks to me like there are actually few if any
> of these dependences. (Apart from all-foo: configure-foo). I did include
> the one which was actually documented.
>
> Note that the configure target was written to replicate existing behavior
> as closely as possible, and is therefore a bit squirrely; I'll deal with
> that later, but at the moment I want to break as little as possible.
You may already know this, but just to be careful I'll mention it
anyway... it is not necessarily safe to configure more than one
subdirectory at a time. One possibly gotcha is the updating of
$cache_file. It isn't done atomically and so if you happen to have two
subdirectories with the same (essentially) configure.in, and they
happen to get started on an SMP system by make -j2 at (essentially) the
same time, you can blow out the cache file.
This isn't entirely hypothetical. A similar thing happened in
libiberty with two invocations of config.status.
Now, on the other hand, we could configure GCC while building
libiberty. It would be nice to have a way to throw each configure step
into its own log file so that they don't interleave on the screen,
someday.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-02 16:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-28 14:13 Nathanael Nerode
2002-11-29 8:44 ` Andrew Cagney
2002-12-02 8:18 ` Daniel Jacobowitz [this message]
2002-12-02 8:40 ` Alexandre Oliva
2002-12-02 8:52 ` Daniel Jacobowitz
2002-12-02 9:44 ` Alexandre Oliva
2002-12-02 10:23 ` Daniel Jacobowitz
2002-12-02 12:48 ` Alexandre Oliva
2002-12-02 13:43 ` DJ Delorie
2002-12-02 14:03 ` Thomas Dickey
2002-12-04 0:42 ` Samuel Tardieu
2002-12-04 3:14 ` Thomas E. Dickey
2002-12-02 10:17 ` DJ Delorie
2002-11-29 13:51 Nathanael Nerode
2002-11-29 14:23 ` Andrew Cagney
2002-11-29 14:40 Nathanael Nerode
2002-11-29 15:16 ` Andrew Cagney
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=20021202161822.GA11078@nevyn.them.org \
--to=drow@mvista.com \
--cc=binutils@sources.redhat.com \
--cc=dj@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=neroden@twcny.rr.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