RARIES/core-oj_intermediates/annotated/java/lang/Double.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Enum.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Float.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Integer.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Iterable.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Long.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Object.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/String.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/StringBuffer.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/StringBuilder.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/System.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/Thread.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/ThreadLocal.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/AccessibleObject.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/AnnotatedElement.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Array.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Constructor.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Executable.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Field.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/GenericArrayType.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/GenericDeclaration.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Member.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Method.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Parameter.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/ParameterizedType.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Proxy.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/Type.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/TypeVariable.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/reflect/WildcardType.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/util/ArrayList.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/util/HashMap.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/util/Iterator.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/util/List.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/util/Map.java out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/util/Set.java
/bin/bash -c "(rm -rf out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated ) && (libcore/annotations/generate_annotated_java_files.py libcore/annotations/ojluni.jaif > out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/annotated_java_files.bp.tmp ) && (diff -u libcore/annotated_java_files.bp out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/annotated_java_files.bp.tmp || (echo -e \"********************\" >&2; echo -e \"annotated_java_files.bp needs regenerating. Please run:\" >&2; echo -e \"libcore/annotations/generate_annotated_java_files.py libcore/annotations/ojluni.jaif > libcore/annotated_java_files.bp\" >&2; echo -e \"********************\" >&2; exit 1) ) && (rm out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/annotated_java_files.bp.tmp ) && (external/annotation-tools/annotation-file-utilities/scripts/insert-annotations-to-source -d out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated libcore/annotations/ojluni.jaif libcore/ojluni/src/main/java/java/io/PrintWriter.java libcore/ojluni/src/main/java/java/lang/Appendable.java libcore/ojluni/src/main/java/java/lang/Boolean.java libcore/ojluni/src/main/java/java/lang/Byte.java libcore/ojluni/src/main/java/java/lang/CharSequence.java libcore/ojluni/src/main/java/java/lang/Character.java libcore/ojluni/src/main/java/java/lang/Class.java libcore/ojluni/src/main/java/java/lang/Double.java libcore/ojluni/src/main/java/java/lang/Enum.java libcore/ojluni/src/main/java/java/lang/Float.java libcore/ojluni/src/main/java/java/lang/Integer.java libcore/ojluni/src/main/java/java/lang/Iterable.java libcore/ojluni/src/main/java/java/lang/Long.java libcore/ojluni/src/main/java/java/lang/Object.java libcore/ojluni/src/main/java/java/lang/String.java libcore/ojluni/src/main/java/java/lang/StringBuffer.java libcore/ojluni/src/main/java/java/lang/StringBuilder.java libcore/ojluni/src/main/java/java/lang/System.java libcore/ojluni/src/main/java/java/lang/Thread.java libcore/ojluni/src/main/java/java/lang/ThreadLocal.java libcore/ojluni/src/main/java/java/lang/reflect/AccessibleObject.java libcore/ojluni/src/main/java/java/lang/reflect/AnnotatedElement.java libcore/ojluni/src/main/java/java/lang/reflect/Array.java libcore/ojluni/src/main/java/java/lang/reflect/Constructor.java libcore/ojluni/src/main/java/java/lang/reflect/Executable.java libcore/ojluni/src/main/java/java/lang/reflect/Field.java libcore/ojluni/src/main/java/java/lang/reflect/GenericArrayType.java libcore/ojluni/src/main/java/java/lang/reflect/GenericDeclaration.java libcore/ojluni/src/main/java/java/lang/reflect/Member.java libcore/ojluni/src/main/java/java/lang/reflect/Method.java libcore/ojluni/src/main/java/java/lang/reflect/Parameter.java libcore/ojluni/src/main/java/java/lang/reflect/ParameterizedType.java libcore/ojluni/src/main/java/java/lang/reflect/Proxy.java libcore/ojluni/src/main/java/java/lang/reflect/Type.java libcore/ojluni/src/main/java/java/lang/reflect/TypeVariable.java libcore/ojluni/src/main/java/java/lang/reflect/WildcardType.java libcore/ojluni/src/main/java/java/util/ArrayList.java libcore/ojluni/src/main/java/java/util/HashMap.java libcore/ojluni/src/main/java/java/util/Iterator.java libcore/ojluni/src/main/java/java/util/List.java libcore/ojluni/src/main/java/java/util/Map.java libcore/ojluni/src/main/java/java/util/Set.java ) && (touch out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/timestamp )"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd0c4eb8746, pid=29302, tid=29442
#
# JRE version: (9.0+181) (build )
# Java VM: OpenJDK 64-Bit Server VM (9+181-android4627429, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libc.so.6+0x8b746] strlen+0x26
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /BPI-S905X3-Android9/hs_err_pid29302.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Aborted
[ 1% 892/72282] build out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
ninja: build stopped: subcommand failed.
01:16:54 ninja failed with: exit status 1
#### failed to build some targets (03:33 (mm:ss)) ####
source code at here : https://github.com/BPI-SINOVOIP/BPI-S905X3-Android9
please check Readme. and step by step to build your image.
this error is because you didn’t read the README.md of android source code carefully.
Of course that I read the README.md and follow it step by step but just didn’t work. The proof is in this post.
I encountered a similar issue while compiling BPI-S905X3-Android9. I did follow the instructions in the README.md.
libcore/ojluni/src/main/java/java/util/Set.java ) && (touch out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/timestamp )"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fa2d5e8b746, pid=20381, tid=20386
#
# JRE version: (9.0+181) (build )
# Java VM: OpenJDK 64-Bit Server VM (9+181-android4627429, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libc.so.6+0x8b746] strlen+0x26
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /media/bananapi_m5_m2pro_android9/core.20381)
#
# An error report file with more information is saved as:
# /media/bananapi_m5_m2pro_android9/hs_err_pid20381.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
[ 0% 192/70248] target thumb C++: libv8base <= external/v8/src/base/ieee754.cc
ninja: build stopped: subcommand failed.
08:57:58 ninja failed with: exit status 1
#### failed to build some targets (01:09 (mm:ss)) ####
here is the log:
hs_err_pid13427.log (21.5 KB) hs_err_pid31570.log (21.5 KB)