YCM-Generator
YCM-Generator copied to clipboard
Stuck on Linux kernel (cross compilation) "fake compilation"
It's stuck on the following command:
/bin/sh -c set -e; echo ' CHK include/generated/timeconst.h'; mkdir -p include/generated/; ?(echo | bc -q kernel/time/timeconst.bc ) < kernel/time/timeconst.
Linux kernel version: 4.7 Cross compiling for arc.
Cross compiling for arc.
Cross-compilation with the kernel probably won't work, since you're specifying a different toolchain through KConfig. Try either removing the toolchain setting or pointing it to the toolchain in ~/.vim/bundle/YCM-Generator/fake-toolchain/Unix/ (You might need to add some more symlinks to that folder to get it to work with your target ARCH).
Hi, first of all, thanks for this tool guys!!
I've just release a YCM-Generator based tool, which basically process build log outputs and generate the corresponding compilation database file. The idea is to be faster (doesn't need a clean build or even an actual build) and more "cross-compilation friendly". I've used it successfully to index some large AOSP modules in ~1 minute and used its output with tools like YouCompleteMe, Deoplete and Rtags.
Feel free to try it out, open issues/feature requests and send PRs :)
https://github.com/nickdiego/compiledb-generator
Thanks, Nick
i have exactly the same issue, make -i -j8 doesn't call make at all, it just stucks at bc -q kernel/time/timeconst.bc