[Pkg-javascript-devel] Bug#644163: [SOLVED] Bug#644163: libv8: FTBFS on armel: 12 tests failed
Timo Juhani Lindfors
timo.lindfors at iki.fi
Thu Oct 20 22:30:53 UTC 2011
Hi,
here's a fix that works for me:
Author: Vyacheslav Egorov
Origin: https://raw.github.com/gist/1302061/371cebbda9e2bf0790728f3b5f47d38b74a26368/CountLeadingZeros.patch
Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644163
Index: src/arm/macro-assembler-arm.cc
===================================================================
--- a/src/arm/macro-assembler-arm.cc (revision 9710)
+++ b/src/arm/macro-assembler-arm.cc (working copy)
@@ -2907,8 +2907,8 @@
#ifdef CAN_USE_ARMV5_INSTRUCTIONS
clz(zeros, source); // This instruction is only supported after
ARM5.
#else
+ Move(scratch, source);
mov(zeros, Operand(0, RelocInfo::NONE));
- Move(scratch, source);
// Top 16.
tst(scratch, Operand(0xffff0000));
add(zeros, zeros, Operand(16), LeaveCC, eq);
Vyacheslav said on IRC that he'll commit this to repository soon.
-Timo
More information about the Pkg-javascript-devel
mailing list