Installing a debug build with `make debug` failing

#1

I’m trying to build a debug version of Julia v1.1.0 with make debug and am getting the following error:

/bin/sh: line 1: 32723 Killed                  /path/to/julia/usr/bin/julia-debug -O0 -C "native" --output-o /path/to/julia/usr/lib/julia/sys-debug-o.a.tmp --startup-file=no --warn-overwrite=yes --sysimage /path/to/julia/usr/lib/julia/sys.ji /path/to/julia/contrib/generate_precompile.jl 1
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [Makefile:218: /path/to/julia/usr/lib/julia/sys-debug-o.a] Error 1
make: *** [Makefile:84: julia-sysimg-debug] Error 2

I’ve tried the suggestions of running make clean and make cleanall but the problem persists.
Building a standard (nondebug) version completes successfully, this is only a problem with the debug version.

This is on a CentOS 6.8 virtual machine running on a MacOS system

$ git status
HEAD detached at v1.1.0
$ gcc --version
gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3)
$ cmake --version
cmake version 3.14.0

Any help would be greatly appreciated