From 6a95c5081d805f0d41ebfb487989166ebb221841 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 18 Feb 2026 21:14:16 +0000 Subject: [PATCH 1/2] libmpeg2: ignore BTI for now. The assembler in this project needs updating, but we want to enable the bti-report=error flag globally. Change-Id: I82f46f5a8e5eaca7adcb418b155371253fd98b01 --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index c7a06d1..521828d 100644 --- a/Android.bp +++ b/Android.bp @@ -17,6 +17,7 @@ license { cc_library_static { name: "libmpeg2dec", + defaults: ["no_bti"], vendor_available: true, host_supported: true, shared_libs: [ From 22f8287db1c96bf3a9a3ba0c413a2594e6223654 Mon Sep 17 00:00:00 2001 From: Ananya Sharma Date: Mon, 9 Mar 2026 08:57:49 +0000 Subject: [PATCH 2/2] Fix CL for failing targets in git_main-throttled-haiku This change adds the 'no_bti' default to mpeg2_dec_fuzzer as it statically links against libraries lacking BTI support. This is done to fix the linker errors raised in haiku_fuzz_shiba-trunk_staging-userdebug and haiku_fuzzcoverage_shiba-trunk_staging-userdebug targets. Bug: 491119982 Flag: EXEMPT BUGFIX Test: CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS='*' m haiku dist && m haiku dist Change-Id: If432fb08c9cdc50a2b0dea3bc9ec2fcc80d0b224 --- fuzzer/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fuzzer/Android.bp b/fuzzer/Android.bp index d2e8795..6dc1e7e 100644 --- a/fuzzer/Android.bp +++ b/fuzzer/Android.bp @@ -9,6 +9,10 @@ package { cc_fuzz { name: "mpeg2_dec_fuzzer", + //TODO: b/485868924 + defaults: [ + "no_bti", + ], host_supported: true, srcs: [ "mpeg2_dec_fuzzer.cpp",