Looks like CentOS 6 is too old to run the bundled clang. Try this: make native GYPFLAGS="-Dclang=0"
On Sat, Mar 5, 2016 at 3:23 PM, Alexandru Lazarev < alexandru.laza...@gmail.com> wrote: > Hi All, > I am newbie to v8. I needed to build it for plv8 (Java-Script language > extension for PostgreSQL). > I followed HowTo instruction of getting v8 code and compile it, but > failed. > Any help/suggestions/hints? > > Below are logs: > (my_app) [ngnms@localhost v8]$ make native > PYTHONPATH="/tmp/v8_try/v8/tools/generate_shim_headers:/tmp/v8_try/v8/build:/opt/rh/devtoolset-2/root/usr/lib64/python2.6/site-packages:/opt/rh/devtoolset-2/root/usr/lib/python2.6/site-packages:/tmp/v8_try/v8/build/gyp/pylib:/opt/rh/devtoolset-2/root/usr/lib64/python2.6/site-packages:/opt/rh/devtoolset-2/root/usr/lib/python2.6/site-packages" > \ > GYP_GENERATORS=make \ > build/gyp/gyp --generator-output="out" build/all.gyp \ > -Ibuild/standalone.gypi --depth=. -S.native > -Dv8_enable_backtrace=1 -Darm_fpu=default -Darm_float_abi=default > make[1]: Entering directory `/tmp/v8_try/v8/out' > CXX(target) /tmp/v8_try/v8/out/native/obj.target/v8_base/src/accessors.o > /tmp/v8_try/v8/third_party/llvm-build/Release+Asserts/bin/clang++: > /lib64/libc.so.6: version `GLIBC_2.15' not found (required by > /tmp/v8_try/v8/third_party/llvm-build/Release+Asserts/bin/clang++) > /tmp/v8_try/v8/third_party/llvm-build/Release+Asserts/bin/clang++: > /lib64/libc.so.6: version `GLIBC_2.14' not found (required by > /tmp/v8_try/v8/third_party/llvm-build/Release+Asserts/bin/clang++) > /tmp/v8_try/v8/third_party/llvm-build/Release+Asserts/bin/clang++: > /lib64/libc.so.6: version `GLIBC_2.14' not found (required by > /tmp/v8_try/v8/third_party/llvm-build/Release+Asserts/bin/../lib/libstdc++.so.6) > make[1]: *** > [/tmp/v8_try/v8/out/native/obj.target/v8_base/src/accessors.o] Error 1 > make[1]: Leaving directory `/tmp/v8_try/v8/out' > make: *** [native] Error 2 > > P.S. I enabled gcc v4.8.2 in my session + python2.7 virtualenv > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > 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 v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.