Re: output from $(error) lost with output sync

2014-01-13 Thread Frank Heckenbach
Oliver Kiddle wrote: Given the following Makefile, the output from the error function is being lost when the gmake 4 output-sync is enabled: [...] With assertions active I even get this error: % make -O make: main.c:3409: die: Assertion `output_context == make_sync' failed. Aborted I

Re: output from $(error) lost with output sync

2014-01-13 Thread Paul Smith
I fixed this one locally a couple of days ago; sorry for not pushing. I'll do that shortly. I don't think this change is sufficient because if output_sync != make_sync then make_sync is never dumped with the change below. On Tue, 2014-01-14 at 06:21 +0100, Frank Heckenbach wrote: Oliver Kiddle

Re: output from $(error) lost with output sync

2014-01-13 Thread Frank Heckenbach
Paul Smith wrote: I fixed this one locally a couple of days ago; sorry for not pushing. I'll do that shortly. I don't think this change is sufficient because if output_sync != make_sync then make_sync is never dumped with the change below. I had assumed it wasn't a problem because

output from $(error) lost with output sync

2014-01-08 Thread Oliver Kiddle
Given the following Makefile, the output from the error function is being lost when the gmake 4 output-sync is enabled: foo: $(OBJS) echo $(or $(filter %.o,$^),$(error No input files for library: $@)) % gmake Makefile:2: *** No input files for library: foo. Stop. % gmake -O % With