I am trying to build v8 by following instructions listed on this page
http://code.google.com/p/v8-wiki/wiki/BuildingWithGYPI also downloaded the code by following instructions on this page
http://code.google.com/p/v8-wiki/wiki/UsingGitBut when i try to "make" a release build for ia32 i get the the following error "Syntax error: word unexpected (expecting ")") " . I googled about this error for two days but with no luck , I also tried different approaches but none of them work.
Please provide a solution if possiblle.
Below I am copy pasting the command I issued and its outcome
-----------------------------------------------
Output of "make ia32.release"----------------------------------------------
vipresh@ubuntu:~/v8$ make ia32.release
PYTHONPATH="/home/vipresh/v8/tools/generate_shim_headers:/home/vipresh/v8/build::/home/vipresh/v8/build/gyp/pylib:" \
GYP_GENERATORS=make \
build/gyp/gyp --generator-output="out" build/all.gyp \
-Ibuild/standalone.gypi --depth=. \
-Dv8_target_arch=ia32 \
\
\
-S.ia32.release -Dv8_enable_backtrace=1 -Darm_fpu=default -Darm_float_abi=default
make[1]: Entering directory `/home/vipresh/v8/out'
CXX(target) /home/vipresh/v8/out/ia32.release/obj.target/v8_base/src/accessors.o
/home/vipresh/v8/third_party/llvm-build/Release+Asserts/bin/clang++: 2: /home/vipresh/v8/third_party/llvm-build/Release+Asserts/bin/clang++: Syntax error: word unexpected (expecting ")")
make[1]: *** [/home/vipresh/v8/out/ia32.release/obj.target/v8_base/src/accessors.o] Error 2
make[1]: Leaving directory `/home/vipresh/v8/out'
make: *** [ia32.release] Error 2
******************************************
----------------------------------------
Output of "uname -a" command---------------------------------------
vipresh@ubuntu:~/v8$ uname -a
Linux ubuntu 3.8.0-44-generic #66~precise1-Ubuntu SMP Tue Jul 15 04:04:23 UTC 2014 i686 i686 i386 GNU/Linux
*********************************************
-----------------------------
Output of "gcc -v" command---------------------------------------
vipresh@ubuntu:~/v8$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.9/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.2-0ubuntu1~12.04' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.9.2 (Ubuntu 4.9.2-0ubuntu1~12.04)
***********************************************
-------------------------------------------------------------------------------------------
Output of "clang -v"-------------------------------------------------------------------------------
vipresh@ubuntu:~/v8$ clang -v
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
***********************************************************
If you need any other info please let me know .