bcc build issue
Hi
I had issues building bcc yesterday and have tried again today on a different system the error it fails with is as follows.
src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make:54: recipe for target 'src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o' failed make[2]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o] Error 1 CMakeFiles/Makefile2:343: recipe for target 'src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/all' failed make[1]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/all] Error 2 Makefile:126: recipe for target 'all' failed
with the error stated here
/var/tmp/llvm/build/install/include/clang/AST/ExprCXX.h:2653:76: error: request for member ‘operator delete’ is ambiguous ADL, Overloaded, nullptr, Begin, End);
OS ubuntu - 4.4.0-2-generic Distributor ID: Ubuntu Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 Codename: xenial
I have an identical system with the same version of clang etc 3.9.0 which is currently working ok.
Ok system clang version 3.9.0 clang version 3.9.0 (http://llvm.org/git/clang.git 6d76083a6d01f842d48837c2b225598fed43bd4b) (http://llvm.org/git/llvm.git f4afd08249555741d5373beb045351cae291b788)
Broken clang version 3.9.0 (http://llvm.org/git/clang.git 13aef9aabe6bd928a78d33733560c65122f7399f) (http://llvm.org/git/llvm.git e51c15a4f472b7a2b8f1ca25542a592742b174f6)
taking the version of llvm/clang from https://github.com/llvm-mirror/ has resolved this