ART runtime fails to work on android 4.4 kitkat

Bug #1256020 reported by Chris
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro GCC
Invalid
Undecided
Unassigned

Bug Description

ART runtime fails to initialize on the galaxy nexus android 4.4 kitkat if it is built using the arm-linux-androideabi-4.8-linaro toolchain on galaxy nexus even with standard aosp cflags, when ART runtime works just fine with the same cflags with the aosp arm-linux-androideabi-4.7 toolchain

Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

Confirmed -- I've run into this as well when doing the port (but didn't have the time to isolate the problem yet).
Can you try with the arm-linux-androideabi-4.7-linaro toolchain and with stock gcc 4.8.2 to help narrow down what's breaking it?

Revision history for this message
Chris (cgibson16137) wrote :

ART also fails with the stock aosp arm-linux-androideabi 4.8 toolchain but seems to work just fine with the arm-linux-androideabi-4.7-linaro toolchain

If it helps any the logcat on the builds using the stock aosp or linaro 4.8 toolchains always comes up with
E/art ( 700): /system/bin/dex2oat failed: /system/bin/dex2oat --image=/cache/dalvik-cache/system@<email address hidden>@classes.dex --runtime-arg -Xms64m --runtime-arg -Xmx64m --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/framework/okhttp.jar --dex-file=/system/framework/core-junit.jar --dex-file=/system/framework/bouncycastle.jar --dex-file=/system/framework/ext.jar --dex-file=/system/framework/framework.jar --dex-file=/system/framework/framework2.jar --dex-file=/system/framework/telephony-common.jar --dex-file=/system/framework/voip-common.jar --dex-file=/system/framework/mms-common.jar --dex-file=/system/framework/android.policy.jar --dex-file=/system/framework/services.jar --dex-file=/system/framework/apache-xml.jar --dex-file=/system/framework/webviewchromium.jar --oat-file=/cache/dalvik-cache/system@<email address hidden>@classes.oat --base=0x60000000 --image-classes-zip=/system/framework/framework.jar --image-classes=preloaded-classes
F/art ( 700): art/runtime/gc/space/image_space.cc:148] Check failed: GenerateImage(image_file_name) Failed to generate image: /cache/dalvik-cache/system@<email address hidden>@classes.dex

Viktor (vchong)
Changed in gcc-linaro:
status: New → Confirmed
Revision history for this message
Chris (cgibson16137) wrote :
Viktor (vchong)
Changed in gcc-linaro:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.