Comment #9 on issue 3112 by [email protected]: v8 goes into SIGILL on
latest Raspbian wheezy
http://code.google.com/p/v8/issues/detail?id=3112
Build params from d8 --help:
target arm v6 vfp2 hard
ARMv7=1 VFP3=0 VFP32DREGS=0 NEON=0 SUDIV=0 UNALIGNED_ACCESSES=1
MOVW_MOVT_IMMEDIATE_LOADS=0 USE_EABI_HARDFLOAT=1
Build params in my Makefile (v8 is part of a big project):
LINK="/opt/cross/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++"
LD="/opt/cross/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++"
make
-C v8 i18nsupport=off library=shared armv7=0 hardfp=on snapshot=off
armv7=0 v8_use_arm_eabi_hardfloat=true arm.debug
(armv7=0 contradicts ARMv7=1 in d8 output)
/proc/cpuinfo:
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 000e
Serial : 000000009476ae6c
Here is the new trace - it goes into SIGILL without any assert:
pi@raspberrypi /tmp $ LD_LIBRARY_PATH=. gdb ./d8
GNU gdb (GDB) 7.4.1-debian
This GDB was configured as "arm-linux-gnueabihf".
Reading symbols from /tmp/d8...done.
(gdb) r
Starting program: /tmp/d8
[Thread debugging using libthread_db enabled]
Using host libthread_db
library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x3900a078 in ?? ()
(gdb) bt
#0 0x3900a078 in ?? ()
#1 0xb69b6ec0 in v8::internal::Invoke (is_construct=false, function=...,
receiver=..., argc=0, args=0x0, has_pending_exception=0xbefff19b)
at ../src/execution.cc:119
#2 0xb69b72ec in v8::internal::Execution::Call (isolate=0x1e018,
callable=..., receiver=..., argc=0, argv=0x0,
pending_exception=0xbefff19b, convert_receiver=false)
at ../src/execution.cc:183
#3 0xb690ea2c in v8::internal::Genesis::CompileScriptCached
(isolate=0x1e018,
name=..., source=..., cache=0x0, extension=0x0, top_context=...,
use_runtime_context=true) at ../src/bootstrapper.cc:1544
#4 0xb690e660 in v8::internal::Genesis::CompileNative (isolate=0x1e018,
name=..., source=...) at ../src/bootstrapper.cc:1484
#5 0xb690e50c in v8::internal::Genesis::CompileBuiltin (isolate=0x1e018,
index=3) at ../src/bootstrapper.cc:1451
#6 0xb6911588 in v8::internal::Genesis::InstallNatives (this=0xbefff574)
at ../src/bootstrapper.cc:1904
#7 0xb6915840 in v8::internal::Genesis::Genesis (this=0xbefff574,
isolate=0x1e018, global_object=..., global_template=..., extensions=0x0)
at ../src/bootstrapper.cc:2621
#8 0xb6908300 in v8::internal::Bootstrapper::CreateEnvironment
(this=0x2d730,
global_object=..., global_template=..., extensions=0x0)
at ../src/bootstrapper.cc:313
#9 0xb68b9164 in v8::CreateEnvironment (isolate=0x1e018, extensions=0x0,
global_template=..., global_object=...) at ../src/api.cc:5151
#10 0xb68b9398 in v8::Context::New (external_isolate=0x1e018,
extensions=0x0,
global_template=..., global_object=...) at ../src/api.cc:5180
#11 0x00011ed0 in v8::Shell::CreateEvaluationContext (isolate=0x1e018)
at ../src/d8.cc:937
#12 0x0001325c in v8::Shell::RunMain (isolate=0x1e018, argc=1,
argv=0xbefff864)
at ../src/d8.cc:1510
#13 0x00013720 in v8::Shell::Main (argc=1, argv=0xbefff864)
at ../src/d8.cc:1707
#14 0x000137e8 in main (argc=1, argv=0xbefff864) at ../src/d8.cc:1745
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.