Compiling sys.o: Segmentation fault in expression starting at none:0

Say, I was following the instructions from the PackageCompiler on how to manually compile an app; but, I am getting an error right away with no hint as to what’s wrong:

julia  --startup-file=no  -J"/path/to/julia/1.4.2/lib/julia/sys.so"  --output-o sys.o  custom_sysimage.jl

signal (11): Segmentation fault
in expression starting at none:0
uv_write2 at /workspace/srcdir/libuv/src/unix/stream.c:1397
.
.
.

Any idea what the problem could be?

I am in CentOS 7 and just downloaded Julia 1.4.2

Never mind…I figured it out; after carefully, manually, running PackageCompiler with additional debug statement, I notice that something was missing inside the custom_sysimage.jl file.