Workaround boot loop by turning off stack protector check for noreturn calls
clang-r487747 added stack protector capability to check noreturn calls.
This caused the system to boot loop. Turn off the new capabilities as a
temporary workaround.
Test: build and boot
Change-Id: I62c912619dfdd2384672d504ce5d52330bf2a102
diff --git a/libc/Android.bp b/libc/Android.bp
index c101f45..e1c0ba6 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -2146,6 +2146,10 @@
name: "crt_defaults",
defaults: ["crt_and_memtag_defaults"],
system_shared_libs: [],
+
+ conlyflags: [
+ "-mllvm -disable-check-noreturn-call",
+ ]
}
cc_defaults {