On Wed, Jul 3, 2013 at 6:49 PM, Benedikt Naessens <[email protected]> wrote:
> When I run "shell" on my ARM A9 Cortex and I type:
> print(3.3*3.3);
>
> I get a floating point exception (core dumped).
>
> The Building V8 with GYP site
> (https://code.google.com/p/v8/wiki/BuildingWithGYP) seems to be a bit
> outdated, because some of the mentioned optional parameters of make seem to
> be deprecated (vfp3, hardfp). Anyway, I tried the following:
> make arm.release -j4 OUTDIR=./my-output-folder
> make arm.release -j4 OUTDIR=./my-output-folder vfp3=off
> make arm.release -j4 OUTDIR=./my-output-folder snapshot=off vfp3=off
> armeabi=soft
> make arm.release -j4 OUTDIR=./my-output-folder snapshot=off armfpu=neon
> make arm.release -j4 OUTDIR=./my-output-folder snapshot=off armv7=true
> vfp3=off armfloatabi=softfp
> make arm.release -j4 OUTDIR=./my-output-folder snapshot=off armv7=true
> armfloatabi=soft armfpu=vfp
> make arm.release -j4 OUTDIR=./my-output-folder snapshot=off armv7=true
> armfloatabi=soft armfpu=vfp
> No other gcc flags have been stipulated (how to with GYP ?).
>
> In the end, after deployment of the files found in
> /my-output-folder/arm.release/ on the ARM A9 Cortex, the floating point
> exception always occurred (with aforementioned test).
>
> This is the output of my /proc/cpuinfo (on the Zynq board)
> processor       : 0
> model name      : ARMv7 Processor rev 0 (v7l)
> BogoMIPS        : 1332.01
> Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls
> CPU implementer : 0x41
> CPU architecture: 7
> CPU variant     : 0x3
> CPU part        : 0xc09
> CPU revision    : 0
>
> processor       : 1
> model name      : ARMv7 Processor rev 0 (v7l)
> BogoMIPS        : 1332.01
> Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls
> CPU implementer : 0x41
> CPU architecture: 7
> CPU variant     : 0x3
> CPU part        : 0xc09
> CPU revision    : 0
>
> Hardware        : Xilinx Zynq Platform
> Revision        : 0000
> Serial          : 0000000000000000
>
> What am I doing wrong ?

What is the instruction it's faulting on?  `disassemble` in gdb will tell you.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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.


Reply via email to