Mon 15 Feb 2016 05:03:17 AM UTC, original submission:
Hi,
This was reported by a debian user. Please retain a CC to -unavailable- so that the Debian BTS has a copy of your input. I (Manoj) have not been able to reproduce this, but th patch looks sane.
Running make against commit hash 1a4b795432 in
https://github.com/pastcompute/hdp15
after the antares/ subfolder had updated
The offending makefile is actually in https://github.com/pastcompute/antares
The following line, the last line in the Makefile causes the crash
.DEFAULT_GOAL := $(subst ",, $(CONFIG_MAKE_DEFTARGET))
I got a stack trace on line 2168 of main.c. ns (below) is a null pointer,
ns = multi_glob (
parse_file_seq (&p, '\0', sizeof (struct nameseq), 1),
sizeof (struct nameseq));
Line 2168:
if (ns->next != 0)
fatal (NILF, _(".DEFAULT_GOAL contains more than one target"));
default_goal_file = enter_file (ns->name);
ns->name = 0; /* It was reused by enter_file(). */
free_ns_chain (ns);
Interestingly the same error doesn't happen for me against
https://github.com/pastcompute/esp8266-frankenstein which uses exactly the same code in antares/ So I presume it is something to do with CONFIG_MAKE_DEFTARGET being empty and some edge case in parsing
Manoj
|