I suspect that your installation doesn't have C++11 compatible headers installed.
On Tue, May 31, 2016 at 8:31 PM Igor V <[email protected]> wrote: > I have same issue, can you assist please? > > $make V=1 native > PYTHONPATH="/home/ec2-user/v8/tools/generate_shim_headers:/home/ec2-user/v8/gypfiles::/home/ec2-user/v8/tools/gyp/pylib:" > \ > GYP_GENERATORS=make \ > tools/gyp/gyp --generator-output="out" gypfiles/all.gyp \ > -Igypfiles/standalone.gypi --depth=. -S.native > -Dv8_enable_backtrace=1 -Darm_fpu=default -Darm_float_abi=default > make[1]: Entering directory `/home/ec2-user/v8/out' > /home/ec2-user/v8/third_party/llvm-build/Release+Asserts/bin/clang++ > '-DCR_CLANG_REVISION=270823-1' '-DV8_TARGET_ARCH_X64' > '-DENABLE_GDB_JIT_INTERFACE' '-DV8_DEPRECATION_WARNINGS' > '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT' > '-DV8_USE_EXTERNAL_STARTUP_DATA' > '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0' > '-DU_ENABLE_DYLOAD=0' '-DU_NOEXCEPT=' '-DU_STATIC_IMPLEMENTATION' > '-DENABLE_HANDLE_ZAPPING' -I../. -I../.. -I../include > -I../third_party/icu/source/i18n -I../third_party/icu/source/common -Wall > -Werror -Wno-unused-parameter -pthread -pedantic > -Wmissing-field-initializers -Wno-gnu-zero-variadic-macro-arguments > -Wshorten-64-to-32 > -B/home/ec2-user/v8/third_party/binutils/Linux_x64/Release/bin > -Wno-undefined-var-template > -B/home/ec2-user/v8/third_party/binutils/Linux_x64/Release/bin -m64 -m64 > -fdata-sections -ffunction-sections -O3 -fdata-sections -ffunction-sections > -O3 -Wnon-virtual-dtor -fno-exceptions -fno-rtti -std=gnu++11 -MMD -MF > /home/ec2-user/v8/out/native/.deps//home/ec2-user/v8/out/native/obj.target/v8_base/src/accessors.o.d.raw > -c -o /home/ec2-user/v8/out/native/obj.target/v8_base/src/accessors.o > ../src/accessors.cc > In file included from ../src/accessors.cc:5: > In file included from .././src/accessors.h:8: > .././include/v8.h:21:10: fatal error: 'utility' file not found > #include <utility> > ^ > 1 error generated. > make[1]: *** > [/home/ec2-user/v8/out/native/obj.target/v8_base/src/accessors.o] Error 1 > make[1]: Leaving directory `/home/ec2-user/v8/out' > make: *** [native] Error 2 > > > On Wednesday, May 11, 2016 at 7:12:40 AM UTC+2, Jochen Eisinger wrote: > >> Can you recompile with make V=1 native and post the command line of the >> failing compiler step? >> >> Tim Wiese <[email protected]> schrieb am Di., 10. Mai 2016, 19:59: >> > I have a >>> virtualized RHEL 7 server and trying to build V8 source code as shown >>> here. This is a 64-bit version of RHEL 7 >>> >>> >>> *Install GIT:* >>> >>> sudo yum install git >>> >>> * Download Google’s ‘depot tools’ (via git):* >>> >>> >>> http://dev.chromium.org/developers/how-tos/install-depot-tools >>> >>> * Download the v8 source code (via gclient/depot_tools):* >>> >>> https://github.com/v8/v8/wiki/Using%20Git >>> >>> * Build v8 (via GCC + make):* >>> >>> https://github.com/v8/v8/wiki/Building%20with%20Gyp >>> >>> >>> >>> All the steps are fine until I try to build with gyp. It fails with the >>> following error. Not sure the issue or even where to start trouble >>> shooting. It's an issue with v8.h and #include <utiltiy> statement. I >>> can circumvent by commenting that out but then I begin to see similiar >>> errors with different statement on different *.h files. "gclient sync" >>> seems to update dependencies correctly. >>> >>> >>> [root@xxxxxx v8]# make native >>> >>> make[1]: Entering directory `/usr/local/bin/v8/out' >>> >>> CXX(target) >>> /usr/local/bin/v8/out/native/obj.target/v8_base/src/accessors.o >>> >>> In file included from ../src/accessors.cc:5: >>> >>> In file included from .././src/accessors.h:8: >>> >>> .././include/v8.h:21:10: fatal error: 'utility' file not found >>> >>> #include <utility> >>> >>> ^ >>> >>> 1 error generated. >>> >>> make[1]: *** >>> [/usr/local/bin/v8/out/native/obj.target/v8_base/src/accessors.o] Error 1 >>> >>> make[1]: Leaving directory `/usr/local/bin/v8/out' >>> >>> make: *** [native] Error 2 >>> >>> >>> >>> >>> -- >>> -- >>> v8-users mailing list >>> >> [email protected] >> >> >>> 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 [email protected]. >> >> >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > -- > v8-users mailing list > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
