I think I went a little further understanding my issue:
After commenting the cpu-arm.cc line 123 asm volatile("bkpt 0");
to get rid of this unknown instruction I get the following error:
src/arm/macro-assembler-arm.cc:62:2: error: #error "for thumb inter-
working we require architecture v5t or above
scons: *** [obj/release/arm/macro-assembler-arm.o] Error 1
So it seems that no correct __ARM_ARCH_XX__ macro is defined
(assembler-arm.cc line 57), meaning that my architecture does not
fit.
But I guess cortex A8 arms are compatible with previous arm
versions. Is there any way to get my beagleboard to compile v8?
On Sep 8, 1:39 pm, "A.Rames" <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---