On Wed, 24 Jan 2018 at 15:28 Rich Felker <dalias@libc.org> wrote:
On Tue, Jan 23, 2018 at 05:07:32PM -0800, Po-yi Wang wrote:
> (gdb) run --version
> Starting program: /tmp/build/make-4.1/make-4.1 --version
>
> Program received signal SIGSEGV, Segmentation fault.
> strlen (s=0x0) at src/string/strlen.c:15
> 15              for (w = (const void *)s; !HASZERO(*w); w++);
> (gdb)

This means make is calling strlen(0), so the bug is somewhere else --
in whatever causing the string pointer passed to strlen to be a null
pointer. Can you show a full backtrace (bt) rather than just the point
of the crash?

It's quite possible that this is a known bug in Make 4.1
https://savannah.gnu.org/bugs/?43434

Does it go away if /dev/pts is properly mounted?

Regards,
Andre