So gory details.
Building off master. OS X.11.4
Latest Xcode.
Mac ports up to date."
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
lunch hikey-userdebug
make -j <whatever>
.....
dex2oatd I 83022 53972102 art/dex2oat/dex2oat.cc:2610] out/host/darwin-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --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/core-junit_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_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/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_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/core-junit.jar --dex-location=/system/framework/bouncycastle.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/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --oat-symbols=out/target/product/hikey/symbols/system/framework/arm64/boot.oat --oat-file=out/target/product/hikey/dex_bootjars/system/framework/arm64/boot.oat --oat-location=/system/framework/arm64/boot.oat --image=out/target/product/hikey/dex_bootjars/system/framework/arm64/boot.art --base=0x70000000 --instruction-set=arm64 --instruction-set-variant=generic --instruction-set-features=default --android-root=out/target/product/hikey/system --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --multi-image --no-inline-from=core-oj.jar
dex2oatd I 83022 53972102 art/runtime/parsed_options.cc:471] setting boot class path to out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar:out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar
dex2oatd W 83022 53972102 art/runtime/class_linker.cc:5691] Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
dex2oatd W 83022 53972102 art/runtime/class_linker.cc:5691] Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
dex2oatd W 83022 53972102 art/runtime/class_linker.cc:5691] Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
dex2oatd F 83022 53972102 art/runtime/runtime_linux.cc:336]*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) fault addr 0x50
OS: Darwin 15.4.0 (x86_64)
Cmdline: out/host/darwin-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --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/core-junit_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_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/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_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/core-junit.jar --dex-location=/system/framework/bouncycastle.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/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --oat-symbols=out/target/product/hikey/symbols/system/framework/arm64/boot.oat --oat-file=out/target/product/hikey/dex_bootjars/system/framework/arm64/boot.oat --oat-location=/system/framework/arm64/boot.oat --image=out/target/product/hikey/dex_bootjars/system/framework/arm64/boot.art --base=0x70000000 --instruction-set=arm64 --instruction-set-variant=generic --instruction-set-features=default --android-root=out/target/product/hikey/system --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --multi-image --no-inline-from=core-oj.jar
Thread: 53972102 "<unknown>"
Registers:
eax: 0x122c28f0 ebx: 0xa2e73038 ecx: 0x00000000 edx: 0x00000000
edi: 0xbff65078 esi: 0x00000000 ebp: 0xbff64fc8 esp: 0xbff64f10
eip: 0x0097d4f0 eflags: 0x00010286 [ PF SF IF ]
cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x0000001f
gs: 0x0000000f ss: 0x00000023
Backtrace:
Thoughts?
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@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 a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/Z-YVTiqBSDQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
including ./system/media/audio_utils/Android.mk ...including ./system/media/brillo/audio/audioservice/Android.mk ...including ./system/media/camera/src/Android.mk ...including ./system/media/camera/tests/Android.mk ...including ./system/media/radio/src/Android.mk ...including ./system/nativepower/Android.mk ...including ./system/netd/Android.mk ...including ./system/security/keystore-engine/Android.mk ...including ./system/security/keystore/Android.mk ...including ./system/security/softkeymaster/Android.mk ...including ./system/sepolicy/Android.mk ...including ./system/tools/aidl/Android.mk ...including ./system/tpm/trunks/Android.mk ...including ./system/update_engine/Android.mk ...including ./system/vold/Android.mk ...including ./system/weaved/Android.mk ...including ./system/webservd/Android.mk ...including ./tools/external/fat32lib/Android.mk ...build/core/binary.mk:664: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'build/core/binary.mk:664: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'build/core/binary.mk:668: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'build/core/binary.mk:668: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'Starting build with ninjaninja: Entering directory `.'[ 0% 34/46628] Generating TOC: out/ta...S/sdk_v8_intermediates/classes.jar.tocFAILED: /bin/bash -c "(out/host/linux-x86/bin/ijar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp ) && (if cmp -s out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc ; then rm out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp ; else mv out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc ; fi )"output_length=4891983Unable to open output file out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp: Invalid argument/bin/bash: line 1: 5132 Aborted ( out/host/linux-x86/bin/ijar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp )[ 0% 34/46628] host Java: jsilver (ou...BRARIES/jsilver_intermediates/classes)Note: external/jsilver/src/org/clearsilver/FactoryLoader.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.ninja: build stopped: subcommand failed.make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (06:20 (mm:ss)) ####[ 1% 655/47318] Generating TOC: out/t...S/sdk_v8_intermediates/classes.jar.tocFAILED: /bin/bash -c "(out/host/linux-x86/bin/ijar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp ) && (if cmp -s out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc ; then rm out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp ; else mv out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc ; fi )"output_length=4891983Unable to open output file out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp: Invalid argument/bin/bash: line 1: 8905 Aborted ( out/host/linux-x86/bin/ijar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jar.toc.tmp )[ 1% 655/47318] target Java: core-all...RARIES/core-all_intermediates/classes)Note: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.ninja: build stopped: subcommand failed.make: *** [ninja_wrapper] Error 1My solution (if you want to call it one) was to build in Vagrant.
Sent from my iPhone
AOSP $ java -version
openjdk version "1.8.0_151"Unable to open output file out/target/common/obj/JAVA_LIBRARIES/sdk_v9_intermediates/classes.jar.toc.tmp: Invalid argument