Re: [android-building] Error when building android 9 source (ubuntu 18.04)

2019-12-18 Thread Eliane Fonseca
The processor of the PC used to build the AOSP code is a AMD C-60, that 
uses the Bobcat microarchitecture.

Em quarta-feira, 18 de dezembro de 2019 21:59:44 UTC-3, Colin Cross 
escreveu:
>
> 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  > 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 android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-...@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 the Google Groups 
>> "Android Building" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/3e4a52ba-a9bd-4fbb-805b-35e8ea56ae44%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@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 the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/68f826d4-9116-4af7-b8f3-047101bbdf5e%40googlegroups.com.


Re: [android-building] Error when building android 9 source (ubuntu 18.04)

2019-12-18 Thread 'Colin Cross' via Android Building
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 
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 android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@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 the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/3e4a52ba-a9bd-4fbb-805b-35e8ea56ae44%40googlegroups.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@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 the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAMbhsRSXpztQThCV2Kai5JKDOmLd9EC9i8HkmmXVGZRMGNzgVA%40mail.gmail.com.


[android-building] Error when building android 9 source (ubuntu 18.04)

2019-12-18 Thread Eliane Fonseca
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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@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 the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/3e4a52ba-a9bd-4fbb-805b-35e8ea56ae44%40googlegroups.com.