[Optimus One, P500 Android Development] bigsupersquid:
androidarmv6 has art at least buildable now. I can get it to start up on the thunderc, with their gerrit commits plus the googlesource commits mentioned in their gerrit comments, But it always crashes a couple minutes into dex2oat building /data/dalvik-cache/system@framework@boot.art

D/AndroidRuntime( 131):
D/AndroidRuntime( 131): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 131): CheckJNI is OFF
I/art ( 131): option[0]=-Xzygote
I/art ( 131): option[1]=exit
I/art ( 131): option[2]=vfprintf
I/art ( 131): option[3]=sensitiveThread
I/art ( 131): option[4]=-verbose:gc
I/art ( 131): option[5]=-Xms4m
I/art ( 131): option[6]=-Xmx256m
I/art ( 131): option[7]=-XX:mainThreadStackSize=24K
E/art ( 131): Unrecognized option -XX:mainThreadStackSize=24K
I/art ( 131): option[8]=-Xjitcodecachesize:16m
E/art ( 131): Unrecognized option -Xjitcodecachesize:16m
I/art ( 131): option[9]=-XX:HeapGrowthLimit=128m
I/art ( 131): option[10]=-XX:HeapMinFree=512k
I/art ( 131): option[11]=-XX:HeapMaxFree=2m
I/art ( 131): option[12]=-XX:HeapTargetUtilization=0.25
I/art ( 131): option[13]=-Xgenregmap
I/art ( 131): option[14]=-Xgc:precise
W/art ( 131): Ignoring unknown -Xgc option: precise
I/art ( 131): option[15]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
I/art ( 131): option[16]=-Xlockprofthreshold:500
I/art ( 131): option[17]=-Xstacktracefile:/data/anr/traces.txt
I/art ( 131): option[18]=-Duser.language=en
I/art ( 131): option[19]=-Duser.region=US
I/art ( 131): option[20]=-Djava.io.tmpdir=/sdcard
I/art ( 131): GenerateImage: /system/bin/dex2oat --image=/data/dalvik-cache/system@framework@boot.art --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/telephony-msim.jar --oat-file=/data/dalvik-cache/system@framework@boot.oat --base=0x60000000 --image-classes-zip=/system/framework/framework.jar --image-classes=preloaded-classes
E/cutils-trace( 263): Error opening trace file: No such file or directory (2)
I/dex2oat ( 263): dex2oat: /data/dalvik-cache/system@framework@boot.oat
V/NatController( 123): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 123): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 123): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 123): runCmd(/system/bin/ip route flush cache) res=0
V/NatController( 123): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=1
V/NatController( 123): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=1
V/NatController( 123): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
D/MDnsDS ( 123): MDnsSdListener::Hander starting up
D/MDnsDS ( 123): MDnsSdListener starting to monitor
D/MDnsDS ( 123): Going to poll with pollCount 1
W/dex2oat ( 263): Verification of void org.ccil.cowan.tagsoup.HTMLSchema.<init>() took 630.838334ms
W/dex2oat ( 263): Verification of boolean android.app.ActivityManagerNative.onTransact(int, android.os.Parcel, android.os.Parcel, int) took 189.098333ms
W/dex2oat ( 263): Verification of void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int) took 112.349999ms
W/dex2oat ( 263): Verification of void android.view.ViewRootImpl.performTraversals() took 120.398333ms
W/dex2oat ( 263): Verification of void com.android.internal.telephony.cdma.CdmaLteServiceStateTracker.pollStateDone() took 194.730ms
W/dex2oat ( 263): Verification of void com.android.internal.telephony.gsm.GsmServiceStateTracker.pollStateDone() took 110.461667ms
W/dex2oat ( 263): Verification of void com.android.server.ServerThread.initAndLoop() took 754.471666ms
W/dex2oat ( 263): Verification of android.content.pm.PackageParser$Package com.android.server.pm.PackageManagerService.scanPackageLI(android.content.pm.PackageParser$Package, int, int, long, android.os.UserHandle) took 173.480ms
W/dex2oat ( 263): Verification of void org.apache.xml.serializer.utils.XMLChar.<clinit>() took 109.501667ms

it gets further if I turn off ART_USE_PORTABLE_COMPILER but still crashes a few minutes in (actually compiles a few things first) when it tries to initialize the JNI.

Dumb Thumb2 code produced by dex2oat without ART_USE_PORTABLE_COMPILER:=true

//edit: gets to the same point now with or without that build flag.

It always dies here, if anyone cares to comment:

I/DEBUG ( 124): #07 pc 000ef44c /system/lib/libart.so (art::gc::space::ImageSpace::Create(std::string const&)+340)

looks like out of memory but I've got zram swap and 2GB sd swap that aren't being touched. And half the RAM still shows available with 'free' while art is busy bootlooping.