Results 26 comments of Eason

您好。PC端的前台 前端代码,有计划开源吗?

I got the same issue. May I know the progress of this issue ? I got exactly the same issue with @jiayihu. Hi @jiayihu do you get the solution ?

@jiayihu Then did you get any other solution to get rust call-graph ?

The same. It seems we need lots of environment setting for CLang. I's now using the whole Android compiling environment to build a kernel.

Thanks nathanchance for your quick response. I re-ran the building as following: Indeed, I got a different failure. my repo: https://android.googlesource.com/kernel/goldfish/ branch: "android-5.4" ``` $ make O=out ARCH=x86_64 CC=clang CLANG_TRIPLE=x86_64-linux-gnu...

``` $ clang --version Android (5484270 based on r353983c) clang version 9.0.3 (https://android.googlesource.com/toolchain/clang 745b335211bb9eadfa6aa6301f84715cee4b37c5) (https://android.googlesource.com/toolchain/llvm 60cf23e54e46c807513f7a36d0a7b777920b5881) (based on LLVM 9.0.3svn) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /data/goldfish-kernel-54/prebuilts-master/clang/host/linux-x86/clang-r353983c/bin ```

Cool, clang-r377782c works~! But there is still some issue. $ make O=out ARCH=x86_64 CC=clang CLANG_TRIPLE=x86_64-linux-gnu- CROSS_COMPILE=x86_64-linux-androidkernel- ``` AR arch/x86/lib/built-in.a GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o AR init/built-in.a LD...

Yes, awesome! By add LD=ld.ldd, I can compile Android kernel now. BTW, do you know how to replace 5.4 kernel in Android emulator? Must I repackage system image?

折腾了半天,最后放弃了

这个问题,有计划解决吗?好奇的问下