Skip to content

make failed on Ubuntu 20.04 and cannot run dtrace tool without a master branch #43071

@NazerkeT

Description

@NazerkeT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions