This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Parallel build is broken (Re: Bulding glibc with new dependency changes report)
- From: Roland McGrath <roland at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Art Haas <ahaas at airmail dot net>, libc-alpha at sources dot redhat dot com
- Date: Sat, 3 May 2003 12:22:01 -0700
- Subject: Re: Parallel build is broken (Re: Bulding glibc with new dependency changes report)
> That kills the build on SMP machine with parallel make. I took me
> several hours to figure it out. Roland, could you please fix it?
I am looking into it.
> Also when I added/removed source files, I used to be able to
>
> # rm -f xxx.d
> # cd ..
> # make
>
> xxx.o* would be recompiled. Now it nolonger works. After I did
>
> # rm -f xxx.*d*
> # cd ..
> # make
>
> nothing got rebuilt.
I mentioned this in the announcement. The deps won't be re-generated
unless the file is being recompiled. If you add a new file, the new file's
date should be newer than the old object and so it should be rebuilt. If
you remove one so that another existing sysdeps/ file with an older date is
used, then the object won't be rebuilt. The safe thing to do is "rm xxx*".