# Installing a debug build with \`make debug\` failing

**URL:** <https://discourse.julialang.org/t/installing-a-debug-build-with-make-debug-failing/22408>\
**Category:** New to Julia\
**Created:** [March 27, 2019, 1:43pm UTC](https://discourse.julialang.org/t/installing-a-debug-build-with-make-debug-failing/22408 "2019-03-27T13:43:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalekj](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dalekj](https://discourse.julialang.org/u/dalekj)\
**Post date:** [March 27, 2019, 1:43pm UTC](https://discourse.julialang.org/t/installing-a-debug-build-with-make-debug-failing/22408/1 "2019-03-27T13:43:03Z")

</div>

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

```julia
/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

```julia
$ 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
