SANITIZE_TARGET=address/hwaddress is broken on pixel3xl(crosshatch)

87 views
Skip to first unread message

韩子诺

unread,
Dec 22, 2019, 11:39:01 AM12/22/19
to Android Building
Hi all,

I'm trying to boot the pixel3 xl with asan build, logs and steps I followed are:

1) Download the source code

$ repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r15
$ repo sync

2) Build 

$ source build/envsetup.sh
$ lunch aosp_crosshatch-eng
$ make -j42
$ SANITIZE_TARGET=address make -j42

3) Flash to pixel3xl

$ fastboot flash userdata && fastboot flashall
Sending 'userdata' (17208 KB)                      OKAY [  0.610s]
Writing 'userdata'                                 OKAY [  0.366s]
Finished. Total time: 1.111s
--------------------------------------------
Bootloader Version...: b1c1-0.2-5672671
Baseband Version.....: g845-00086-191011-B-5933466
Serial Number........: 8B3Y0TEH6
--------------------------------------------
Checking 'product'                                 OKAY [  0.060s]
Setting current slot to 'a'                        OKAY [  0.219s]
Sending 'boot_a' (65536 KB)                        OKAY [  1.960s]
Writing 'boot_a'                                   OKAY [  0.676s]
Sending 'dtbo_a' (8192 KB)                         OKAY [  0.350s]
Writing 'dtbo_a'                                   OKAY [  0.106s]
Sending 'vbmeta_a' (4 KB)                          OKAY [  0.120s]
Writing 'vbmeta_a'                                 OKAY [  0.063s]
Rebooting into fastboot                            OKAY [  0.060s]
< waiting for any device >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.

Please help me on how to resolve these errors?

By the way, I also have successfully flashed the hwasan build img into my pixel3xl(crosshatch), but it couldn't detect any memory error. So do I need to perform additional steps to activate the function of memory error detection?

Thanks!

Reply all
Reply to author
Forward
0 new messages