Error from build log:
g++ -o obj/release/arm/lithium-gap-resolver-arm.os -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wno-psabi -fno-rtti -fno-exceptions -fvisibility=hidden -fno-tree-sink -mno-thumb-interwork -Wall -Werror -W -Wno-unused-parameter -Wno-unused-but-set-variable -Wnon-virtual-dtor -Wno-abi -pedantic -mfloat-abi=soft -O2 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fPIC -D_FORTIFY_SOURCE=2 -DCAN_USE_UNALIGNED_ACCESSES=0 -DUSE_EABI_HARDFLOAT=0 -DV8_TARGET_ARCH_ARM -DV8_SHARED -DENABLE_DEBUGGER_SUPPORT -Isrc -I. src/arm/lithium-gap-resolver-arm.cc
g++ -o obj/release/arm/macro-assembler-arm.os -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wno-psabi -fno-rtti -fno-exceptions -fvisibility=hidden -fno-tree-sink -mno-thumb-interwork -Wall -Werror -W -Wno-unused-parameter -Wno-unused-but-set-variable -Wnon-virtual-dtor -Wno-abi -pedantic -mfloat-abi=soft -O2 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fPIC -D_FORTIFY_SOURCE=2 -DCAN_USE_UNALIGNED_ACCESSES=0 -DUSE_EABI_HARDFLOAT=0 -DV8_TARGET_ARCH_ARM -DV8_SHARED -DENABLE_DEBUGGER_SUPPORT -Isrc -I. src/arm/macro-assembler-arm.cc
src/arm/macro-assembler-arm.cc:56:2: error: #error "flag -mthumb-interwork missing"
scons: *** [obj/release/arm/macro-assembler-arm.os] Error 1
scons: building terminated because of errors.
make: *** [debian/stamp-scons-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
https://launchpadlibrarian.net/86095234/buildlog_ubuntu-precise-armel.libv8_3.4.14.21-5_FAILEDTOBUILD.txt.gz
I think that this is related to http:// code.google. com/p/v8/ issues/ detail? id=590
Ubuntu support armv7 + and by default compiles with thumb2 support; as a result I think that -mno-thumb- interwork, in debian/rules causes a problem on Ubuntu which does not happen in Debian.