Hi,
On 2022-09-15 10:52:31 +0700, John Naylor wrote:
> On Thu, Sep 15, 2022 at 4:04 AM Andres Freund <andres@anarazel.de> wrote:
> >
> > The most general solution I can see would be
> >
> > diff --git i/src/backend/common.mk w/src/backend/common.mk
> > index fa96a82b1a0..61861f5c7eb 100644
> > --- i/src/backend/common.mk
> > +++ w/src/backend/common.mk
> > @@ -23,6 +23,7 @@ objfiles.txt: Makefile $(SUBDIROBJS) $(OBJS)
> >
> > ifeq ($(with_llvm), yes)
> > objfiles.txt: $(patsubst %.o,%.bc, $(OBJS))
> > +$(patsubst %.o,%.bc, $(OBJS)): $(OBJS)
> > endif
>
> Since there have been no other ideas in the past few hours, I will
> push this but it will be a blind attempt since it seems sporadic and
> doesn't happen to reproduce for me.
WFM.
FWIW, you can reproduce it with
rm -rf .deps/ gram.c scan.c *.o *.bc && make parser.bc
in src/backend/parser.
Greetings,
Andres Freund