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

No, this is not compiler defaults. Interresting is that ARMv7={0|1} also depends on kernel (same d8 build !!):

on Linux raspberrypi 3.6.11+ #557 PREEMPT Wed Oct 2 18:49:09 BST 2013 armv6l GNU/Linux

# LD_LIBRARY_PATH=. ./d8 --help | head -n 3
target arm v6 vfp2 hard
std 0000
ARMv7=0 VFP3=0 VFP32DREGS=0 NEON=0 SUDIV=0 UNALIGNED_ACCESSES=0 MOVW_MOVT_IMMEDIATE_LOADS=0 USE_EABI_HARDFLOAT=1



on Linux raspberrypi 3.10.18+ #577 Tue Nov 5 12:33:36 GMT 2013 armv6l GNU/Linux

# LD_LIBRARY_PATH=. ./d8 --help | head -n 4
target arm v6 vfp2 hard
std 0000
cpu arch 1 1 1
ARMv7=1 VFP3=0 VFP32DREGS=0 NEON=0 SUDIV=0 UNALIGNED_ACCESSES=1 MOVW_MOVT_IMMEDIATE_LOADS=0 USE_EABI_HARDFLOAT=1


Here you see some debug lines I've introduced in CpuFeatures::Probe() in arm/assembler-arm.cc:
std 0000 - prints standard_features variable:

printf("std %x%x%x%x\n", (unsigned) ((standard_features >> 48) && 0xffff), (unsigned)((standard_features >> 32) && 0xffff), (unsigned)((standard_features >> 16) && 0xffff), (unsigned)(standard_features && 0xffff)); // !!!+
  supported_ |= standard_features;


cpu arch  1 1 1 - prints CPU features detected:

 if (!IsSupported(ARMv7) && FLAG_enable_armv7 && cpu.architecture() >= 7) {
printf("cpu arch %u %u %u\n", !IsSupported(ARMv7), FLAG_enable_armv7, cpu.architecture() >= 7); // !!!+++
    found_by_runtime_probing_only_ |= static_cast<uint64_t>(1) << ARMv7;
  }

In others words, cpu.architecture() >= 7 returns different things in two kernels.

Any idea why?

--
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