How to build aosp(android 11)with asan!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to build aosp(android 11)with asan!

Wu Chen
  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.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/3381534b-ce90-47b5-8853-802272f20963n%40googlegroups.com.