-
Notifications
You must be signed in to change notification settings - Fork 48
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/clang: use llvm instead of binutils #1181
Conversation
- use llvm toolchain with clang build - fix incompatible target for CLANG_ABIFLAGS - explicitly use $(CPP) for c preprocessor - rename CLANG to LLVM Signed-off-by: Paweł Jasiak <[email protected]>
For tests use #1167 with llvm and lld packages. |
|
What do you mean? Changes in
I don't agree with you. First of all - the source of that naming scheme is Linux kernel -
For me it works on AArch64 build as good as before. Anyway, it's only proof of concept that we can live (almost [2]) without binutils and gcc compiler. I don't know how looks llvm support for risc-v and other build-time features that we are using with gcc (kgprof?) so it's not my intention to merge it. We can just leave it and come back in the future if we will want to explore alternatives to gcc and binutils or we can close this pull request. [1] https://github.com/llvm/llvm-project/ |
* The test checks external library libfdt which we consider to be well tested by its owners.
Tested on AArch64 build.
As far as I know mips target is not fully compatible with llvm toolchain.