Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails without USE_ORCJIT #15688

Closed
nalimilan opened this issue Mar 30, 2016 · 0 comments · Fixed by #15700
Closed

Build fails without USE_ORCJIT #15688

nalimilan opened this issue Mar 30, 2016 · 0 comments · Fixed by #15700
Labels
building Build system, or building Julia or its dependencies

Comments

@nalimilan
Copy link
Member

Maybe that's expected, but when I remove #define USE_ORCJIT from src/llvm-version.h, the build fails with (in-tree) LLVM 3.7.1. This is annoying to debug performance regressions like #15246.

In file included from /home/milan/Dev/julia/src/codegen.cpp:24:0:
/home/milan/Dev/julia/usr/include/llvm/ExecutionEngine/ExecutionEngine.h: Dans la fonction ‘void* jl_get_global(llvm::GlobalVariable*)’:
/home/milan/Dev/julia/usr/include/llvm/ExecutionEngine/ExecutionEngine.h:156:15: erreur: ‘std::__cxx11::string llvm::ExecutionEngine::getMangledName(const llvm::GlobalValue*)’ is protected
   std::string getMangledName(const GlobalValue *GV);
               ^
In file included from /home/milan/Dev/julia/src/codegen.cpp:426:0:
/home/milan/Dev/julia/src/jitlayers.cpp:783:50: erreur: à l'intérieur du contexte
             jl_ExecutionEngine->getMangledName(gv));
                                                  ^
In file included from /home/milan/Dev/julia/src/codegen.cpp:24:0:
/home/milan/Dev/julia/usr/include/llvm/ExecutionEngine/ExecutionEngine.h: Dans la fonction ‘const jl_value_t* jl_dump_function_asm(void*, int)’:
/home/milan/Dev/julia/usr/include/llvm/ExecutionEngine/ExecutionEngine.h:156:15: erreur: ‘std::__cxx11::string llvm::ExecutionEngine::getMangledName(const llvm::GlobalValue*)’ is protected
   std::string getMangledName(const GlobalValue *GV);
               ^
/home/milan/Dev/julia/src/codegen.cpp:1389:53: erreur: à l'intérieur du contexte
             jl_ExecutionEngine->getMangledName(llvmf));
                                                     ^
Makefile:99: recipe for target 'codegen.o' failed
make[1]: *** [codegen.o] Error 1
make[1]: *** Attente des tâches non terminées....
Makefile:90: recipe for target 'julia-src-release' failed
make: *** [julia-src-release] Error 2
@nalimilan nalimilan added the building Build system, or building Julia or its dependencies label Mar 30, 2016
vtjnash added a commit that referenced this issue Mar 30, 2016
vtjnash added a commit that referenced this issue Mar 30, 2016
vtjnash added a commit that referenced this issue Mar 31, 2016
vtjnash added a commit that referenced this issue Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant