This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Parallel build of libgcc is broken.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]