We have run into a bug with GNU make 3.78.1 where it fails an assertion
trying to parse a particular Makefile.  As suggested, we have reduced the
makefile to the smallest one possible that still exhibits the bug.  That
makefile is attached.  The expected output (as per make 3.77) is:

make: Nothing to be done for `foo.o'.

But the output from 3.78.1 is:

make: read.c:892: read_makefile: Assertion `*p2 != '\0'' failed.
Aborted (core dumped)

It is important not to edit the makefile in Emacs, because the problem
appears to be partially caused by an escaped space at the end of the line
with the OBJS assignment.  Emacs removes the space when it saves the
modified file, causing the makefile to work correctly.

This bug has been replicated on 2 machines, and make on both machines
is the stock version supplied in Red Hat Linux 6.2 (3.78.1 compiled
i386-redhat-linux-gnu).  If you need any more information
configuration-wise, feel free to contact me.

Evan Deaubl
Software Engineer
NewMonics, Inc.
[EMAIL PROTECTED]
OBJS := foo.o                                 \ 

$(OBJS) :

Reply via email to