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
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
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
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