Re: Something fishy about the current Makefiles - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Something fishy about the current Makefiles
Date
Msg-id 20248.1294340028@sss.pgh.pa.us
Whole thread Raw
In response to Re: Something fishy about the current Makefiles  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Something fishy about the current Makefiles  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Jan 6, 2011 at 11:57 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Whilst fooling around with GIN, I have repeatedly observed that doing
>> "make" in src/backend/access/gin, followed by "make install-bin" in
>> src/backend, fails to rebuild the postgres executable --- it just
>> installs the existing one. �A second execution of "make install-bin"
>> does notice that postgres is out of date and rebuilds it. �This
>> procedure for rebuilding after changing one or two .c files has always
>> worked for me before. �I can't avoid the suspicion that the recent
>> changes to make things more parallel-friendly broke something.

> I've noticed something like this as well, but haven't been able to
> figure out exactly what is going wrong.

I'm not entirely sure either, but it looks like the first upper "make"
updates the objfiles.txt file in src/backend/access and then the second
one realizes it has to rebuild postgres.  Something about multi-level
dependencies isn't quite right.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: Range Types
Next
From: Bruce Momjian
Date:
Subject: Re: Problem with pg_upgrade (8.4 -> 9.0) due to ALTER DATABASE SET ROLE