Comment #12 on issue 3112 by [email protected]: v8 goes into SIGILL on latest Raspbian wheezy
http://code.google.com/p/v8/issues/detail?id=3112

Thanks for pointing me to the new build options. Indeed mine were in our project from last year.

But this is working pretty strange:

I bukild with:

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=false hardfp=on snapshot=off armfpu=vfp armfloatabi=hard arm.debug

And I get this:

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

Why ARMv7 is still 1?

By the way, GYP shows during compilation armv7=0:
PYTHONPATH="/home/ps/Desktop/Zwave/Projects/z-way.c/v8-3.22/tools/generate_shim_headers:" \
        GYP_GENERATORS=make \
        build/gyp/gyp --generator-output="out" build/all.gyp \
                      -Ibuild/standalone.gypi --depth=. \
                      -Dv8_target_arch=arm \
-S.arm -Dcomponent=shared_library -Dv8_enable_backtrace=1 -Dv8_use_snapshot='false' -Dv8_enable_i18n_support=0 -Darmv7=0 -Darm_float_abi=hard -Darm_fpu=vfp -Darm_float_abi=hard

This is the new trace with these build params. The problem is still here:

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.
0x2d40a078 in ?? ()
(gdb) bt
#0  0x2d40a078 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.

Reply via email to