Re: Broken make dependency somewhere near win32ver.o?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Broken make dependency somewhere near win32ver.o?
Дата
Msg-id 20220322153018.ijuh3adub4kncihj@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Broken make dependency somewhere near win32ver.o?  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Hi,

On 2022-03-22 18:09:08 +1300, Thomas Munro wrote:
> On Tue, Mar 22, 2022 at 4:14 PM Andres Freund <andres@anarazel.de> wrote:
> > The problem looks to be that pg_dumpall doesn't have a dependency on OBJs,
> > which in turn is what contains the dependency on WIN32RES, which in turn
> > contains win32ver.o. So the build succeeds if pg_dump/restores's dependencies
> > are built first, but not if pg_dumpall starts to be built before that...
> >
> > Seems we just need to add $(WIN32RES) to pg_dumpall: ?
> 
> Ah, yeah, that looks right.  I don't currently have a mingw setup to
> test, but clearly $(WIN32RES) is passed to $(CC) despite not being
> listed as a dependency.

Pushed a fix for that. Ended up doing it for all branches, although I was
debating with myself about doing so.

I did a quick search and didn't find other cases of this problem.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: SQL/JSON: JSON_TABLE
Следующее
От: Robert Haas
Дата:
Сообщение: Re: refactoring basebackup.c (zstd workers)