Android 9 did not support the hwaddress sanitizer, I believe that support
is in AOSP master, and should be in the Q release.

- Dan

On Tue, Jul 16, 2019 at 9:08 AM H Sai Manikanta Eadapalapati <
saimanika...@eximiusdesign.com> wrote:

> I'm trying to boot the pixel3 xl with aosp hwasan build, for that I took
> the latest build
>
>
> https://source.android.com/setup/start/build-numbers.html#source-code-tags-and-builds
>
> PQ3A.190705.003 android-9.0.0_r44 Pie Pixel 3 XL, Pixel 3 2019-07-05
>
> I'm getting an error as "unknown global sanitizer option hwaddress".
> Please help me on how to resolve these errors and compile. Are any patches
> available?
>
> logs and steps I followed are
>
> c_sai@mani:/sai/PQ3A.190705.003_p3xl$ source build/envsetup.sh
> .....
> c_sai@mani:/sai/PQ3A.190705.003_p3xl$ lunch aosp_crosshatch-userdebug
> .......
> c_sai@mani:/sai/PQ3A.190705.003_p3xl$ make SANITIZE_TARGET=hwaddress
>
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=9
> TARGET_PRODUCT=aosp_crosshatch
> TARGET_BUILD_VARIANT=userdebug
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm64
> TARGET_ARCH_VARIANT=armv8-2a
> TARGET_CPU_VARIANT=cortex-a75
> TARGET_2ND_ARCH=arm
> TARGET_2ND_ARCH_VARIANT=armv8-a
> TARGET_2ND_CPU_VARIANT=cortex-a75
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-4.4.0-146-generic-x86_64-Ubuntu-16.04.6-LTS
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=PQ3A.190705.003
> OUT_DIR=out
> PRODUCT_SOONG_NAMESPACES=device/google/crosshatch hardware/google/av
> hardware/google/interfaces hardware/qcom/sdm845 vendor/qcom/sdm845
> ============================================
> [1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
> [55/56] glob prebuilts/ndk/cpufeatures.bp
> [77/77] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
> FAILED: out/soong/build.ninja
> out/soong/.bootstrap/bin/soong_build -t -l
> out/.module_paths/Android.bp.list -b out/soong -n out -d
> out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
> error: frameworks/native/headers/Android.bp:1:1: module
> "media_plugin_headers" variant "android_arm64_armv8-2a_cortex-a75_core":
> unknown global sanitizer option hwaddress
> error: hardware/google/av/codec2/Android.bp:1:1: module
> "libstagefright_codec2" variant
> "android_arm64_armv8-2a_cortex-a75_core_shared": unknown global sanitizer
> option hwaddress
> error: hardware/interfaces/tests/baz/1.0/Android.bp:3:1: module
> "android.hardware.tests.baz@1.0-adapter" variant
> "android_arm64_armv8-2a_cortex-a75_core": unknown global sanitizer option
> hwaddress
> error: system/media/audio_utils/tests/Android.bp:170:1: module
> "simplelog_tests" variant "android_arm64_armv8-2a_cortex-a75_core": unknown
> global sanitizer option hwaddress
> error: frameworks/native/libs/nativewindow/tests/Android.bp:17:1: module
> "AHardwareBufferTest" variant "android_arm64_armv8-2a_cortex-a75_core":
> unknown global sanitizer option hwaddress
> error: external/wayland-protocols/Android.bp:59:1: module
> "libwayland_extension_client_protocols" variant
> "android_arm64_armv8-2a_cortex-a75_core_static": unknown global sanitizer
> option hwaddress
> error: external/jemalloc/Android.bp:246:1: module "jemalloc_unittests"
> variant "android_arm64_armv8-2a_cortex-a75_core_a0": unknown global
> sanitizer option hwaddress
> error: external/libopus/Android.bp:1:1: module "libopus" variant
> "android_arm64_armv8-2a_cortex-a75_core_shared": unknown global sanitizer
> option hwaddress
> error: frameworks/base/tools/stats_log_api_gen/Android.bp:97:1: module
> "libstatslog" variant "android_arm64_armv8-2a_cortex-a75_core_shared":
> unknown global sanitizer option hwaddress
> error: frameworks/native/libs/nativewindow/Android.bp:31:1: module
> "libnativewindow" variant "android_arm64_armv8-2a_cortex-a75_core_static":
> unknown global sanitizer option hwaddress
> error: hardware/interfaces/automotive/audiocontrol/1.0/Android.bp:3:1:
> module "android.hardware.automotive.audiocontrol@1.0-adapter" variant
> "android_arm64_armv8-2a_cortex-a75_core": unknown global sanitizer option
> hwaddress
> error: frameworks/av/media/libstagefright/codecs/mpeg2dec/Android.bp:1:1:
> module "libstagefright_soft_mpeg2dec" variant
> "android_arm_armv8-a_cortex-a75_core_shared": unknown global sanitizer
> option hwaddress
> error: external/tensorflow/Android.bp:15:1: module "tensorflow_headers"
> variant "android_arm64_armv8-2a_cortex-a75_core": unknown global sanitizer
> option hwaddress
> error: system/core/lmkd/Android.bp:25:1: module "libstatslogc" variant
> "android_arm64_armv8-2a_cortex-a75_core_static": unknown global sanitizer
> option hwaddress
> error: system/core/trusty/keymaster/Android.bp:26:1: module
> "trusty_keymaster_tipc" variant "android_arm64_armv8-2a_cortex-a75_vendor":
> unknown global sanitizer option hwaddress
> error: system/keymaster/Android.bp:55:1: module "libkeymaster_portable"
> variant "android_arm64_armv8-2a_cortex-a75_core_static": unknown global
> sanitizer option hwaddress
> error: frameworks/av/media/libeffects/factory/Android.bp:10:1: module
> "libeffects" variant "android_arm64_armv8-2a_cortex-a75_vendor_shared":
> unknown global sanitizer option hwaddress
> error: test/vts-testcase/fuzz/iface_fuzzer/Android.bp:17:1: module
> "libvts_proto_fuzzer" variant
> "android_arm64_armv8-2a_cortex-a75_core_static": unknown global sanitizer
> option hwaddress
> error: hardware/libhardware/modules/tv_input/Android.bp:15:1: module
> "tv_input.default" variant
> "android_arm64_armv8-2a_cortex-a75_vendor_shared": unknown global sanitizer
> option hwaddress
> ................
>
> The information contained in this e-mail message (including any
>
> attachments) may be confidential, proprietary, privileged, or otherwise
>
> exempt from disclosure under applicable laws. It is intended to be
>
> conveyed only to the designated recipient(s). Any use, dissemination,
>
> distribution, printing, retaining or copying of this e-mail (including its
>
> attachments) by unintended recipient(s) is strictly prohibited and may
>
> be unlawful. If you are not an intended recipient of this e-mail, or
> believe
>
> that you have received this e-mail in error, please notify the sender
>
> immediately (by replying to this e-mail), delete any and all copies of
>
> this e-mail (including any attachments) from your system, and do not
>
> disclose the content of this e-mail to any other person. Thank you for
> your cooperation.
>
> *This e-mail message (including any attachments) may be confidential,
> proprietary, privileged, or otherwise exempt from disclosure under
> applicable laws. If you are not an intended recipient, please delete this
> message. Thank you.*
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/8c4fc167-232b-4061-ba42-8cb561e72122%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/8c4fc167-232b-4061-ba42-8cb561e72122%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdmO%3DC0XWoDRJL%2BJKF5Q-owXkGzvPdDGFL8zrj_CkatT2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to