Hi guys,

I got error message when trying to build AOSP (master branch) on 
ubuntu-16.04.
Any suggestion are welcome, thank you.

FAILED: 
out/target/product/generic/dex_bootjars/system/framework/arm/boot.art
/bin/bash -c "(mkdir -p 
out/target/product/generic/symbols/system/framework/arm/ ) && (rm -f 
out/target/product/generic/dex_bootjars/system/framework/arm//*.art 
out/target/product/generic/dex_bootjars/system/framework/arm//*.oat 
out/target/product/generic/dex_bootjars/system/framework/arm//*.art.rel ) 
&& (rm -f out/target/product/generic/symbols/system/framework/arm//*.art ) 
&& (rm -f out/target/product/generic/symbols/system/framework/arm//*.oat ) 
&& (rm -f 
out/target/product/generic/symbols/system/framework/arm//*.art.rel ) && 
(ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg 
-Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile 
--profile-file=out/target/product/generic/dex_bootjars/system/framework/boot.prof
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar
 
--dex-location=/system/framework/core-oj.jar 
--dex-location=/system/framework/core-libart.jar 
--dex-location=/system/framework/conscrypt.jar 
--dex-location=/system/framework/okhttp.jar 
--dex-location=/system/framework/bouncycastle.jar 
--dex-location=/system/framework/apache-xml.jar 
--dex-location=/system/framework/legacy-test.jar 
--dex-location=/system/framework/ext.jar 
--dex-location=/system/framework/framework.jar 
--dex-location=/system/framework/telephony-common.jar 
--dex-location=/system/framework/voip-common.jar 
--dex-location=/system/framework/ims-common.jar 
--dex-location=/system/framework/org.apache.http.legacy.boot.jar 
--dex-location=/system/framework/android.hidl.base-V1.0-java.jar 
--dex-location=/system/framework/android.hidl.manager-V1.0-java.jar 
--oat-symbols=out/target/product/generic/symbols/system/framework/arm/boot.oat 
--oat-file=out/target/product/generic/dex_bootjars/system/framework/arm/boot.oat
 
--oat-location=/system/framework/arm/boot.oat 
--image=out/target/product/generic/dex_bootjars/system/framework/arm/boot.art 
--base=0x70000000 --instruction-set=arm --instruction-set-variant=generic 
--instruction-set-features=default 
--android-root=out/target/product/generic/system --runtime-arg -Xnorelocate 
--compile-pic --no-generate-debug-info --generate-build-id --multi-image 
--no-inline-from=core-oj.jar --abort-on-hard-verifier-error 
--abort-on-soft-verifier-error 
--generate-mini-debug-info   || ( echo \"ERROR: Dex2oat failed to compile a 
boot image. It is likely that the boot classpath is inconsistent. Rebuild 
with ART_BOOT_IMAGE_EXTRA_ARGS=\"--runtime-arg -verbose:verifier\" to see 
verification errors.\" ; false ) && ANDROID_LOG_TAGS=\"*:e\" 
ANDROID_ROOT=out/target/product/generic/system 
ANDROID_DATA=out/target/product/generic/dex_bootjars/system/framework/arm/ 
out/host/linux-x86/bin/patchoatd 
--input-image-location=out/target/product/generic/dex_bootjars/system/framework/boot.art
 
--output-image-relocation-directory=out/target/product/generic/dex_bootjars/system/framework/arm/
 
--instruction-set=arm --base-offset-delta=0x10000000 )"
/bin/bash: line 1: 19097 Illegal instruction     (core dumped) 
ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2oatd --runtime-arg 
-Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile 
--profile-file=out/target/product/generic/dex_bootjars/system/framework/boot.prof
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar
 
--dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar
 
--dex-location=/system/framework/core-oj.jar 
--dex-location=/system/framework/core-libart.jar 
--dex-location=/system/framework/conscrypt.jar 
--dex-location=/system/framework/okhttp.jar 
--dex-location=/system/framework/bouncycastle.jar 
--dex-location=/system/framework/apache-xml.jar 
--dex-location=/system/framework/legacy-test.jar 
--dex-location=/system/framework/ext.jar 
--dex-location=/system/framework/framework.jar 
--dex-location=/system/framework/telephony-common.jar 
--dex-location=/system/framework/voip-common.jar 
--dex-location=/system/framework/ims-common.jar 
--dex-location=/system/framework/org.apache.http.legacy.boot.jar 
--dex-location=/system/framework/android.hidl.base-V1.0-java.jar 
--dex-location=/system/framework/android.hidl.manager-V1.0-java.jar 
--oat-symbols=out/target/product/generic/symbols/system/framework/arm/boot.oat 
--oat-file=out/target/product/generic/dex_bootjars/system/framework/arm/boot.oat
 
--oat-location=/system/framework/arm/boot.oat 
--image=out/target/product/generic/dex_bootjars/system/framework/arm/boot.art 
--base=0x70000000 --instruction-set=arm --instruction-set-variant=generic 
--instruction-set-features=default 
--android-root=out/target/product/generic/system --runtime-arg -Xnorelocate 
--compile-pic --no-generate-debug-info --generate-build-id --multi-image 
--no-inline-from=core-oj.jar --abort-on-hard-verifier-error 
--abort-on-soft-verifier-error --generate-mini-debug-info
ERROR: Dex2oat failed to compile a boot image. It is likely that the boot 
classpath is inconsistent. Rebuild with 
ART_BOOT_IMAGE_EXTRA_ARGS=--runtime-arg -verbose:verifier to see 
verification errors.
[ 31% 13694/43962] R8: 
out/target/common/obj/APPS/Music_intermediates/dex/classes.dex
[ 31% 13695/43962] Target Java: 
out/target/common/obj/JAVA_LIBRARIES/android-support-v7-cardview_intermediates/classes-full-debug.jar
[ 31% 13696/43962] R8: 
out/target/common/obj/APPS/PhotoTable_intermediates/dex/classes.dex
ninja: build stopped: subcommand failed.
11:36:58 ninja failed with: exit status 1
make: *** [build/make/core/main.mk:21: run_soong_ui] Error 1



-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to