Try building 3.27 or 3.28.

3.9 is from early 2012 and has been unsupported for a looong time.


On Wed, Sep 17, 2014 at 11:34 AM, <[email protected]> wrote:

> Hi folks, i was wondering if you might help me with this issue when
> compiling the latest stable release of V8 with a mips BIG ENDIAN
> toolchain.  I am posting this topic since I read that now the mips
> architecture is fully supported in the officla release of V8 .
>
> I have built my own script exporting all the right settings for the
> toolchain this way :
>
> #!/bin/bash
>
> export BASEDIR=$(pwd)
>
> export STAGING_DIR=${BASEDIR}/linino_distro/staging_dir
>
> export
> PREFIX=$STAGING_DIR/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-
>
> export
> LIBPATH=$STAGING_DIR/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib/
>
> if [ ! -d v8-3.9/ ]
> then
>
>     svn checkout http://v8.googlecode.com/svn/branches/3.9/ v8-3.9
>
> fi
>
> cp -rv v8-3.9/ v8-3.9-mips/
>
> cd v8-3.9-mips/
>
> make dependencies
>
> # git clone https://github.com/paul99/v8m-rb.git -b dm-mipsbe-3.14
> v8m-rb-dm-mipsbe-3.14/
>
> sleep 5
>
> #MIPS cross-compile exports
> export CC=${PREFIX}gcc
> export CXX=${PREFIX}g++
> export AR=${PREFIX}ar
> export RANLIB=${PREFIX}ranlib
> export LINK=${PREFIX}g++
> #---------------------------------
> export CPP="${PREFIX}gcc -E"
> export STRIP=${PREFIX}strip
> export OBJCOPY=${PREFIX}objcopy
> export LD=${PREFIX}g++
> export OBJDUMP=${PREFIX}objdump
> export NM=${PREFIX}nm
> export AS=${PREFIX}as
> export PS1="[${PREFIX}] \w$ "
> # export CPP=${PREFIX}cpp
> #---------------------------------
>
> export LDFLAGS='-Wl,-rpath-link '${LIBPATH}
>
> export GYPDEFINES="v8_target_arch=mips"
>
> export GYPFLAGS="-Dv8_use_mips_abi_hardfloat=false
> -Dv8_can_use_fpu_instructions=false -Dmips_arch_variant=mips32r2"
>
> #export GYPFLAGS="-Dv8_use_mips_abi_hardfloat=false
> -Dv8_can_use_fpu_instructions=false"
>
> # build the version for compiling node
> make mips.release library=shared snapshot=off werror=no
>
>
> however, i get this error when the building process starts....
>
> make[1]: Entering directory `/home/arturo/CROSS_MIPS/v8-3.9-mips/out'
>>   CXX(target)
>> /home/arturo/CROSS_MIPS/v8-3.9-mips/out/mips.release/obj.target/preparser_lib/src/allocation.o
>> In file included from ../src/allocation.h:31:0,
>>                  from ../src/allocation.cc:28:
>> ../src/globals.h:90:2: error: #error Host architecture was not detected
>> as supported by v8
>> ../src/globals.h:124:2: error: #error Target architecture mips is only
>> supported on mips and ia32 host
>> make[1]: ***
>> [/home/arturo/CROSS_MIPS/v8-3.9-mips/out/mips.release/obj.target/preparser_lib/src/allocation.o]
>> Error 1
>> make[1]: Leaving directory `/home/arturo/CROSS_MIPS/v8-3.9-mips/out'
>> make: *** [mips.release] Error 2
>>
>
> could you help me to figure out the issue and in case give me some advice
> to buld a patch to fix this error ?
>
>    Regards, Arturo
>
>
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" 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/d/optout.
>

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

Reply via email to