aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2024-05-08 00:05:36 +0000
committerPirama Arumuga Nainar <pirama@google.com>2024-05-08 00:05:36 +0000
commit529cbd60a0b6856319b35934a0622b09505cde9c (patch)
tree152c48b79434fcf4464c5ca6fb16d7babbf4f314
parent1594ee862a05c5e5585beef4fe3248e1f00f9527 (diff)
downloadlibfuse-main.tar.gz
Disable LTO for libfuseHEADmastermain
Bug: http://b/329787497 `.symver` inline assembly used in libfuse/lib/fuse.c causes non-deterministic output with ThinLTO (b/329787497, https://github.com/llvm/llvm-project/issues/85585). Disable LTO until this is resolved in LLVM. Change-Id: Ibdd6fb6f4656e1988b21c4a0e59dc864a8e4c371 Test: manually verify that the output is deterministic without LTO, presubmit
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 7319225..fc04df6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -97,6 +97,11 @@ cc_library {
"lib/mount_util.c",
],
+ // http://b/329787497 - LTO causes non-deterministic output
+ lto: {
+ never: true,
+ },
+
apex_available: [
"//apex_available:platform",
"com.android.mediaprovider",