-
Notifications
You must be signed in to change notification settings - Fork 84
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
Failed to build goldfish kernel #11
Comments
You will need to use |
The same. |
You should not be getting that exact same error? |
Thanks nathanchance for your quick response.
|
What version of clang are you using? asm goto support was added to clang-9 so it must be rather old. |
|
I would use |
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-
|
You should probably add |
Yes, awesome! By add LD=ld.ldd, I can compile Android kernel now. |
No. Honestly, if you care about hacking up the kernel on a virtual Android platform, you should take a look at Cuttlefish. |
@nathanchance Cuttlefish sucks, never worked normally like any Google "new" things. |
Hi the guide is pretty cool. But I met a failure when I make kernel:
make O=out ARCH=x86_64 CC=clang CLANG_TRIPLE=x86_64-linux-gnu x86_64_defconfig
make -j64 O=out ARCH=x86_64 CC=clang CLANG_TRIPLE=x86_64-linux-gnu- CROSS_COMPILE=x86_64-linux-android-
I have not much experience on compiling Android or cross build kernel, so could you please guide me more ? Great thank.
Before the code change, I can cross build kernel 4.19 with gcc, but i have no idea how to do that with CLang.
Thanks
--Yi
The text was updated successfully, but these errors were encountered: