Skip to content

Compilation with USE_PERF_JITEVENTS=1 fails #33417

Open

Description

Platform: Ubuntu 18.04.3 LTS
Tested Julia versions: v1.2.0, v1.3.0-rc2 as well as latest master (as of writing, d036575)

Adding USE_PERF_JITEVENTS=1 to Make.user results in a build error while linking against some LLVM symbol:

parallels@ubuntu /media/psf/Home/Development/julia (git)-[master] % make         
    LINK usr/lib/libjulia.so.1.4
./codegen.o: In function `jl_init_llvm':
/media/psf/Home/Development/julia/src/codegen.cpp:7761: undefined reference to `llvm::JITEventListener::createPerfJITEventListener()'
collect2: error: ld returned 1 exit status
Makefile:311: recipe for target '/media/psf/Home/Development/julia/usr/lib/libjulia.so.1.4' failed
make[1]: *** [/media/psf/Home/Development/julia/usr/lib/libjulia.so.1.4] Error 1
Makefile:75: recipe for target 'julia-src-release' failed
make: *** [julia-src-release] Error 2

Without this option, the build works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestGood for Hacktoberfest participantshelp wantedIndicates that a maintainer wants help on an issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions