Good day all,
I was trying to build Julia's master branch onto my Ubuntu 20.04 machine on a complete new Parallels VM installed on my M1 MacBook Pro. However, despite I have installed all the tools with this command sudo apt-get install build-essential libatomic1 python gfortran perl wget m4 cmake pkg-config curl following this readme , I was hitting this error:
/usr/bin/ld: cannot find -lssp collect2: error: ld returned 1 exit status make[2]: *** [Makefile:102: /home/nazerke/julia/src/flisp/flisp] Error 1 make[2]: Leaving directory '/home/nazerke/julia/src/flisp' make[1]: *** [Makefile:324: flisp/libflisp.a] Error 2 make[1]: Leaving directory '/home/nazerke/julia/src' make: *** [Makefile:43: julia_flisp.boot.inc.phony] Error 2
Some versioning info is as follows and the full verbose log is attached below too:
- gcc: 9.3.0
- libssp is a part of gcc with libgcc-9-dev package
Also, actually after setting override HAVE_SSP := 0 on my locally created Make.user a new error with llvm has arrived which is below:
DTRACE src/uprobes.h.gen CC src/aotcompile.o /home/parallels/julia/src/aotcompile.cpp:29:10: fatal error: llvm/Transforms/Utils/SimplifyCFGOptions.h: No such file or directory 29 | #include <llvm/Transforms/Utils/SimplifyCFGOptions.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:216: aotcompile.o] Error 1 make: *** [Makefile:76: julia-src-release] Error 2
Could you please help me with resolving this issue? Ideally, I wanted to use uprobes with dtrace and bpftrace tools to inspect Julia's garbage collection. However, without a master branch, looks like I cannot go far away with my experiments :(
sims.log
Good day all,
I was trying to build Julia's master branch onto my Ubuntu 20.04 machine on a complete new Parallels VM installed on my M1 MacBook Pro. However, despite I have installed all the tools with this command
sudo apt-get install build-essential libatomic1 python gfortran perl wget m4 cmake pkg-config curlfollowing this readme , I was hitting this error:/usr/bin/ld: cannot find -lssp collect2: error: ld returned 1 exit status make[2]: *** [Makefile:102: /home/nazerke/julia/src/flisp/flisp] Error 1 make[2]: Leaving directory '/home/nazerke/julia/src/flisp' make[1]: *** [Makefile:324: flisp/libflisp.a] Error 2 make[1]: Leaving directory '/home/nazerke/julia/src' make: *** [Makefile:43: julia_flisp.boot.inc.phony] Error 2Some versioning info is as follows and the full verbose log is attached below too:
Also, actually after setting
override HAVE_SSP := 0on my locally created Make.user a new error with llvm has arrived which is below:DTRACE src/uprobes.h.gen CC src/aotcompile.o /home/parallels/julia/src/aotcompile.cpp:29:10: fatal error: llvm/Transforms/Utils/SimplifyCFGOptions.h: No such file or directory 29 | #include <llvm/Transforms/Utils/SimplifyCFGOptions.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:216: aotcompile.o] Error 1 make: *** [Makefile:76: julia-src-release] Error 2Could you please help me with resolving this issue? Ideally, I wanted to use uprobes with
dtraceandbpftracetools to inspect Julia's garbage collection. However, without a master branch, looks like I cannot go far away with my experiments :(sims.log