Bcc Source fails On Puppy Linux (Bionic Puppy)
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
When building on puppy linux (bionic) via make this error is generated:
In file included from /usr/local/include/clang/AST/RecursiveASTVisitor.h:22:0,
from /root/bcc/src/cc/frontends/clang/b_frontend_action.h:23,
from /root/bcc/src/cc/frontends/clang/loader.cc:57:
/usr/local/include/clang/AST/DeclObjC.h: At global scope:
/usr/local/include/clang/AST/DeclObjC.h:1105:37: error: ‘SmallDenseSet’ in namespace ‘llvm’ does not name a template type
using ProtocolPropertySet = llvm::SmallDenseSet;
^~~~~~~~~~~~~
/usr/local/include/clang/AST/DeclObjC.h:2256:43: error: ‘ProtocolPropertySet’ has not been declared
ProtocolPropertySet &PS,
^~~~~~~~~~~~~~~~~~~
src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make:62: 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:523: 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:140: recipe for target 'all' failed
make: *** [all] Error 2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the make failure on Bionic Puppy and inspect src/cc/frontends/clang/loader.cc together with the reported clang/AST/DeclObjC.h error. Check the CMake-generated clang frontend build and the installed LLVM/Clang headers. Done means the cause is identified and the project builds successfully on the reported environment, or the compatibility limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100