a/ if I compile v8 in 'release mode' then d8 shell programme crashes (see below the crash dump).
I remind you that my target device is an HTC Dream (Armv6) device, BUT, the same problem happens in a modern device (Galaxy Tab). I have tried to remove the -O optimization options but the same problem happened.
I'm attaching the SConstruct file I'm using. I'm building v8 in a Linux box using the arm-eabi cross-compilation tools.
pid: 3673, tid: 3673 >>> ./d8 <<<
signal 7 (SIGBUS), fault addr 00000000
r0 4041339b r1 40847710 r2 0000000e r3 4041339f
r4 40413391 r5 65666552 r6 4084770c r7 000de2f4
r8 40413331 r9 0000000c 10 00145ad8 fp bed6a968
ip 0013e7e8 sp bed6a8b8 lr 000964d1 pc 0009dd70 cpsr 80000030
#00 pc 0009dd70 /data/d8
#01 pc 000964cc /data/d8
#02 pc 000bafd0 /data/d8
#03 pc 000bb7c4 /data/d8
#04 pc 000bb9a2 /data/d8
code around pc:
0009dd50 42ac3401 e04dd3f9 360b1b5a 197118a3
0009dd60 2aff1f18 1c20dd05 e800f76c c920e042
0009dd70 4284c420 e003d9fb 3101780f 34017027
0009dd80 d3f9429c 0069e036 1b5b360b 18e51876
0009dd90 8830e003 70203602 42ac3401 e029d3f9
code around lr:
000964b0 22001c11 f0079301 6823fc05 469c9a01
000964c0 9b029803 1a831899 22004660 fbfaf007
000964d0 9803e021 fad2f7e1 40012103 29031c07
000964e0 1c29d042 1c3a310b 320b6808 92021cc3
000964f0 104b6819 22001c11 f0079301 9801fc81
stack:
bed6a878 4081e8ad
bed6a87c 00000000
bed6a880 4081e8ac
bed6a884 0009a49b /data/d8
bed6a888 ffffff01
bed6a88c 00000000
bed6a890 00000003
bed6a894 bed6a8bc [stack]
bed6a898 4081e8ad
bed6a89c 40847701
bed6a8a0 00000002
bed6a8a4 0009b725 /data/d8
bed6a8a8 00000002
bed6a8ac 40413311
bed6a8b0 df002777
bed6a8b4 e3a070ad
#00 bed6a8b8 00001fe0
bed6a8bc 0013e7e8 /data/d8
bed6a8c0 0000000f
bed6a8c4 000de2f4 /data/d8
bed6a8c8 0000001e
bed6a8cc 40413380
bed6a8d0 40413371
bed6a8d4 0013e7e8 /data/d8
bed6a8d8 40413385
bed6a8dc 000964d1 /data/d8
#01 bed6a8e0 bed6a97c [stack]
bed6a8e4 00000001
bed6a8e8 40413390
bed6a8ec 0000000f
bed6a8f0 bed6a978 [stack]
bed6a8f4 bed6a978 [stack]
bed6a8f8 bed6a97c [stack]
bed6a8fc bed6a980 [stack]
bed6a900 bed6a930 [stack]
bed6a904 000bafd5 /data/d8
#02 bed6a908 bed6a978 [stack]
bed6a90c 000bb7c9 /data/d8
#03 bed6a910 40413311
bed6a914 00000000
bed6a918 00000001
bed6a91c 000001bb
bed6a920 bed6a944 [stack]
bed6a924 bed6a984 [stack]
bed6a928 0018c058 [heap]
bed6a92c 0018ccb0 [heap]
bed6a930 bed6a97c [stack]
bed6a934 bed6a980 [stack]
bed6a938 bed6a97c [stack]
bed6a93c 00000003
bed6a940 000bb96d /data/d8
bed6a944 bed6a980 [stack]
bed6a948 00000000
bed6a94c 000bb9a7 /data/d8
#04 bed6a950 00000003
bed6a954 bed6a980 [stack]
bed6a958 00000002
bed6a95c 4085e094
bed6a960 4085e094
bed6a964 4085e021
bed6a968 bed6a994 [stack]
bed6a96c bed6a984 [stack]
bed6a970 40873c80
bed6a974 00000000
bed6a978 40413311
bed6a97c 40413371
bed6a980 4081f0e5
bed6a984 40413351
bed6a988 40847701
bed6a98c 4082a1c1
bed6a990 40413331
bed6a994 bed6a9b0 [stack]