I have same error :( On Tuesday, March 17, 2020 at 1:13:58 AM UTC+8, dosi wrote: > > The defualt compiler of android kernel is clang and I'd like to compile > android kernel with gcc. I tried to follow the instructions on > https://source.android.com/setup/build/building-kernels and used the > command “*build/build.sh <http://build.sh> CC=gcc*”. I got the following > mistake: > > > Cannot use CONFIG_LTO_CLANG: requires clang 5.0 or later > > > It seems like something related to LTO, so I disabled LTO according to the > instructions from the above website and tried again. Then still failed: > > > Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not > supported by compiler > > > By the way, I can build kernel with clang successfully. > > Please help me T.T >
-- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/650c06e7-bc25-4b3f-a715-778759222d84o%40googlegroups.com.
