Julia `make` Problem

I compiled Julia many times without difficulties, but my latest attempt on a new HPC node failed: I believe this happens at the very end of the make process:

    LINK usr/lib/libjulia.so.0.6.4
    CC ui/repl.o
    LINK usr/bin/julia
    JULIA usr/lib/julia/inference.ji
A method error occurred before the base MethodError type was defined. Aborting...
getfield(Core, Symbol("#@_noinline_meta"))() world 5
()
while loading boot.jl, in expression starting on line 198
rec_backtrace at /home/maths/maskan/gits/julia6/src/stackwalk.c:84
jl_method_error_bare at /home/maths/maskan/gits/julia6/src/gf.c:1488
jl_method_error at /home/maths/maskan/gits/julia6/src/gf.c:1499
fl_invoke_julia_macro at /home/maths/maskan/gits/julia6/src/ast.c:195
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1226
_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:682
fl_map1 at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:2219
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1226
_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:682
fl_map1 at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:2219
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1226
_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:682
fl_map1 at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:2219
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1226
_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:682
fl_map1 at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:2219
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1226
_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:682
fl_map1 at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:2219
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1226
do_trycatch at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:898
apply_cl at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:1806
_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:682
fl_applyn at /home/maths/maskan/gits/julia6/src/flisp/flisp.c:722
jl_parse_eval_all at /home/maths/maskan/gits/julia6/src/ast.c:856
jl_load at /home/maths/maskan/gits/julia6/src/toplevel.c:616
_julia_init at /home/maths/maskan/gits/julia6/src/init.c:671
julia_init at /home/maths/maskan/gits/julia6/src/task.c:301
main at /home/maths/maskan/gits/julia6/ui/repl.c:259
__libc_start_main at /lib64/libc.so.6 (unknown line)
unknown function (ip: 0x401719)
Allocations: 5786 (Pool: 5786; Big: 0); GC: 0
/bin/sh: line 1: 352001 Aborted                 /home/maths/maskan/gits/julia6/usr/bin/julia -C native --output-j
i /home/maths/maskan/gits/julia6/usr/lib/julia/inference.ji --startup-file=no -g0 -O0 coreimg.jl
make[1]: *** [/home/maths/maskan/gits/julia6/usr/lib/julia/inference.ji] Error 134
make: *** [julia-inference] Error 2

I’m afraid I have no clue to even start fixing this and would appreciate any help!

A few more comments:

  • this is Julia v0.6.4 (I haven’t yet had time to update a fairly large code base)
  • The Linux version is (note this is not the GCC I’m using for compiling Julia)
Linux version 3.10.0-957.5.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.\
5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Fri Feb 1 14:54:57 UTC 2019
  • GCC version:
bash-4.2$ gcc --version
gcc (GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • The make process was simply started with
git clone git@github.com:JuliaLang/julia.git
cd Julia
git checkout v0.6.4
make

I’m not sure if the solution reported here Source build Julia 0.6.0-pre-alpha branch fails with error in inference.ji will work for you.