I am trying to compile v8 shell example on my beagleboard, but the build meets fails ont the following error:
g++ -o obj/release/arm/cpu-arm.o -c -Wall -Werror -W -Wno-unused- parameter -Wnon-virtual-dtor -pedantic -O3 -fomit-frame-pointer -fdata- sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -Wall - Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -O3 - fomit-frame-pointer -fdata-sections -ffunction-sections -ansi - DV8_TARGET_ARCH_ARM -DV8_NATIVE_REGEXP -DENABLE_LOGGING_AND_PROFILING - Isrc src/arm/cpu-arm.cc /tmp/ccMqAVAn.s: Assembler messages: /tmp/ccMqAVAn.s:58: Error: selected processor does not support `bkpt 0' I actually managed to get v8 javascript shell work by cross-compiling it with the CodeSourcery toolchain, but I would like to compile it on the board itself as the cross-compiled shell seems not very efficient: I get a score around 93 on the v8 version 3 test. This seems quite low compared to the 800 score on a 300MHz faster x86 intel processor, and compared to SFX without JIT on the same board ( "only" 45% slower whereas it's about 5 times slower on other processors) I am not very skilled about arm architectures and how v8 supports them, but reading through the code I noticed there is no __ARM_ARCH_8__ test like for other arm architectures in macro- assembler-arm.cc l.57. Is the arm 8 architecture not supported? Could someone either help me fix this error or confirm (or infirm) those weird results? Thanks --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
