Hi Ben,

Okay. I just opened an issue #6315 
(https://github.com/joyent/node/issues/6315)

The target system has FPU:

cpu model: Broadcom BMIPS5000 V1.1 FPU V0.1

And my configure command is
./configure --without-snapshot --dest-os=linux --dest-cpu=mipsel  
--prefix=/home/selina/node --with-mips-float-abi=soft

Thanks for help.

Ben Noordhuis於 2013年10月7日星期一UTC+8下午4時59分40秒寫道:
>
> On Mon, Oct 7, 2013 at 10:44 AM, Selina Lai <ying...@gmail.com<javascript:>> 
> wrote: 
> > I found it's my typo. 
> > My system is MIPSEL but I typed the command to mips-linux-gcc 
> > 
> > I can now 'make' without error. But when I execute './node hello.js' on 
> the 
> > mipsel system. 
> > I got 'illegal instruction' error. 
> > 
> >  I thus tried to configure with 'with-mips-float-abi=soft' and then 
> make. 
> > I got lots of warnings like below: 
> > 
> /opt/compiler/stbgcc-4.5.3-2.4/bin/../lib/gcc/mipsel-linux-uclibc/4.5.3/../../../../mipsel-linux-uclibc/bin/ld:
>  
>
> > Warning: /home/selina/node-v0.10.20/out/Release/node uses hard float, 
> > 
> /home/selina/node-v0.10.20/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a(snapshot-empty.o)
>  
>
> > uses soft float 
> >   touch 
> > 
> /home/selina/node-v0.10.20/out/Release/obj.target/node_dtrace_header.stamp 
>
> That's probably an oversight on our part; --with-mips-float-abi only 
> configures the float ABI for V8, node.js still uses the compiler's 
> default.  Should be pretty trivial to fix; if you open an issue, I'll 
> look into it. 
>
> > if configure with 'hard', no warnings and errors. 
> > 
> > But both './node hello.js'  got 'illegal instruction' error. 
> > Any clue? Thanks a lot. 
>
> Does the target system have a FPU?  `cat /proc/cpuinfo` should tell you. 
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to