This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Parallel build of libgcc is broken.
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Parallel build of libgcc is broken.
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Wed, 17 May 2000 12:50:50 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <20000517123605.A20925@lucon.org>
On Wed, May 17, 2000 at 12:36:05PM -0700, H . J . Lu wrote:
> Parall build of libgcc is broken since libgcc may not exist when
> it is written to. This patch
>
> http://www.lucon.org/gcc/3.0/gcc-3.0-gcc-parallel.patch
>
> seems to work for me.
I've now stared at your patch for ten minutes and the only part I see
that's conceivably relevant to parallel make is
- echo "${dir}:; mkdir ${dir}"
- echo "libgcc/${dir}:; mkdir libgcc/${dir}"
- all="$all libgcc/${dir} ${dir}"
+ echo "${dir}:; -mkdir ${dir}"
+ echo "libgcc/${dir}: ${dir}; -mkdir libgcc/${dir}"
which causes the directory inside libgcc to depend on the directory
outside. Which does not fix the problem. I think you meant
echo "libgcc/${dir}: libgcc; -mkdir libgcc/${dir}"
The other 45 lines of the patch have nothing to do with the problem as
far as I can tell.
I won't do this again. If you want people to look at your patches,
post the *patch*, not a URL, to *gcc-patches*, not gcc, and include a
ChangeLog and an explanation of why it fixes the bug.