Re: Make 3.81 and 3.82 break on parallel build

2011-11-17 Thread Kamil Mierzejewski
There are some issues filed describing similar behavior: http://savannah.gnu.org/bugs/?31847 http://savannah.gnu.org/bugs/?26893 http://savannah.gnu.org/bugs/?30653 The last one has two patches attached. One of them is mine. Dnia 17 listopad 2011 00:57:11 Paul Smith pisze: On Wed, 2011-11-16 at

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Paul Smith
On Wed, 2011-11-16 at 17:35 -0600, David Hagood wrote: > On Wed, 2011-11-16 at 17:02 -0500, Paul Smith wrote: > > On Wed, 2011-11-16 at 15:40 -0600, david.hag...@gmail.com wrote: > > > > Try running the parallel version with -d (redirect the output because > > > > it's voluminous) and see what make

RE: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread David Hagood
On Wed, 2011-11-16 at 15:43 -0800, Lawrence Ibarria wrote: > There is a rule to make the missing .so file, or it is a byproduct of a > different target? Yes, there is an implicit rule on how to build any so in somedir, and an explicit set of dependencies for all the libraries, so Make knows how t

RE: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Lawrence Ibarria
t: Wednesday, November 16, 2011 3:36 PM > To: psm...@gnu.org > Cc: bug-make@gnu.org > Subject: Re: Make 3.81 and 3.82 break on parallel build > > On Wed, 2011-11-16 at 17:02 -0500, Paul Smith wrote: > > On Wed, 2011-11-16 at 15:40 -0600, david.hag...@gmail.com wrote: > > >

RE: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread David Hagood
On Wed, 2011-11-16 at 13:48 -0800, Lawrence Ibarria wrote: > Does it still happen if you do a clean first? Yes. In fact, once everything is built the first time, all is well - it seems that Make is being silly, and if the file does not exist (but will, as it will be made as a part of the run), then

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread David Hagood
On Wed, 2011-11-16 at 17:02 -0500, Paul Smith wrote: > On Wed, 2011-11-16 at 15:40 -0600, david.hag...@gmail.com wrote: > > > Try running the parallel version with -d (redirect the output because > > > it's voluminous) and see what make says about trying to build > > > somedir/libfoo.so: what does

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Paul Smith
On Wed, 2011-11-16 at 15:40 -0600, david.hag...@gmail.com wrote: > > Try running the parallel version with -d (redirect the output because > > it's voluminous) and see what make says about trying to build > > somedir/libfoo.so: what does it say about the somedir/libbar.so > > prerequisite? > That i

RE: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Lawrence Ibarria
PM > To: psm...@gnu.org > Cc: david.hag...@gmail.com; bug-make@gnu.org > Subject: Re: Make 3.81 and 3.82 break on parallel build > > > Although this could be a bug, it's more likely, IMO, that your > > target/prerequisite requirements are not correctly stated. > > >

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread david . hagood
> Although this could be a bug, it's more likely, IMO, that your > target/prerequisite requirements are not correctly stated. > > For example, it could be that you use slightly different paths so that > make doesn't realize these two libraries are really the same thing, and > the dependencies aren'

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Paul Smith
On Wed, 2011-11-16 at 12:32 -0600, david.hag...@gmail.com wrote: > I have a make file that includes a set of machine generated dependency > files. Those files describe a set of shared libraries to be build, of the > form: > > somedir/libfoo.so: somedir/libbar.so somedir/libbaz.so > > Note that "l

Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread david . hagood
I have a make file that includes a set of machine generated dependency files. Those files describe a set of shared libraries to be build, of the form: somedir/libfoo.so: somedir/libbar.so somedir/libbaz.so Note that "libfoo.so" has explicitly stated it depends upon somedir/libbar.so. libbar.so h