v8 make on CentOS 6.7 fails

137 views
Skip to first unread message

Alexandru Lazarev

unread,
Mar 5, 2016, 9:23:13 AM3/5/16
to v8-users
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

Jakob Kummerow

unread,
Mar 5, 2016, 1:27:54 PM3/5/16
to v8-users
Looks like CentOS 6 is too old to run the bundled clang. Try this:

make native GYPFLAGS="-Dclang=0"


--
--
v8-users mailing list
v8-u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexandru Lazarev

unread,
Mar 5, 2016, 3:30:50 PM3/5/16
to v8-u...@googlegroups.com, jkum...@chromium.org, Jerry Sievert
Hi Jakob,
It helps! Thanks!!!

You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/FmcKVpylGCw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages