Comment #16 on issue 3112 by [email protected]: v8 goes into SIGILL on
latest Raspbian wheezy
http://code.google.com/p/v8/issues/detail?id=3112
Okey, the bug is in v8 in this code:
if (architecture_ == 7) {
char* processor = cpu_info.ExtractField("Processor");
if (HasListItem(processor, "(v6l)")) {
architecture_ = 6;
}
delete[] processor;
}
But due to changes in the kernel: cpuinfo now have:
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
instead of old:
Processor : ARMv6-compatible processor rev 7 (v6l)
So, this snipplet does not "downgrade" the architecture_ to 6.
Here is the patch that make it work (against 3.22 version):
382c382,387
< char* processor = cpu_info.ExtractField("Processor");
---
char* processor;
processor = cpu_info.ExtractField("Processor");
if (HasListItem(processor, "(v6l)")) {
architecture_ = 6;
}
processor = cpu_info.ExtractField("model name");
Please include this in the trunk for next releases.
Another small question: is v8 team interested in us submitting port of v8
to MIPS BE? We can push to the svn, but will your team respect these parts
of code making new chanages in future? Currently we are porting 3.22
version, so there would also be some work to port it to the latest trunk.
Do you need it?
--
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.