Signal 4 is SIGILL, meaning the binary contained an illegal instruction. Parts of the ART build assume that the host CPU supports at least SSE4.2 and POPCNT ( https://cs.android.com/android/platform/superproject/+/master:art/build/Android.bp;l=188). What CPU are you building on?
On Wed, Dec 18, 2019 at 11:35 AM Eliane Fonseca <[email protected]> wrote: > The error message is attached below. It always fails at this point, with > the same exact error message. The error is: > > [ 4% 809/19992] Hidden API: > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar > FAILED: > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar > /bin/bash -c "(rm -f > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar > ) && (cp > \"out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar\" > \"out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar\" > ) && (rm -rf > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi > ) && (mkdir -p > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi > ) && (unzip -q > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar > 'classes*.dex' -d > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi > ) && (find > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi > -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs > out/host/linux-x86/bin/hiddenapi > --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt > --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt > --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt ) && > (out/soong/host/linux-x86/bin/soong_zip -o > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar > -C > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi > -D > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi > ) && (out/soong/host/linux-x86/bin/merge_zips -D -zipToNotStrip > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar > -stripFile \"classes*.dex\" > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/javalib.jar > out/target/common/obj/JAVA_LIBRARIES/android.test.base_intermediates/dex-hiddenapi/classes.dex.jar > out/soong/.intermediates/frameworks/base/test-base/android.test.base/android_common/dex/android.test.base.jar > )" xargs: out/host/linux-x86/bin/hiddenapi: terminated by signal 4 > > PS. I posted this isssue on Stack Overflow but they closed my thread and > asked me to post here. > > -- > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/3e4a52ba-a9bd-4fbb-805b-35e8ea56ae44%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/3e4a52ba-a9bd-4fbb-805b-35e8ea56ae44%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAMbhsRSXpztQThCV2Kai5JKDOmLd9EC9i8HkmmXVGZRMGNzgVA%40mail.gmail.com.
