Feel free to delete the offending function (in test/cctest/compiler/graph-builder-tester.h:171-173), it doesn't seem to be used (which is presumably why clang doesn't complain here).
Also, next time, please indicate the version of V8 that you're compiling. On Tue, Aug 1, 2017 at 8:40 AM, Georgi Sotirov <gdsoti...@gmail.com> wrote: > Hello, > > I'm trying to build V8 with the following command: > > time make V=1 ia32.release GYPFLAGS='-Dclang=0 -Dwerror= > -Dcomponent=shared_library' > > with GCC 7.1.0, but I'm stuck with the following error: > > g++ '-DV8_GYP_BUILD' '-DCR_CLANG_REVISION=308728-3' > '-DV8_TARGET_ARCH_IA32' '-DENABLE_GDB_JIT_INTERFACE' > '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' > '-DV8_INTL_SUPPORT' '-DV8_USE_EXTERNAL_STARTUP_DATA' > '-DV8_CHECK_MICROTASKS_SCOPES_CONSISTENCY' '-DBUILDING_V8_SHARED' > '-DUSING_V8_BASE_SHARED' '-DUSING_V8_PLATFORM_SHARED' > '-DENABLE_HANDLE_ZAPPING' -I../. -I../include -Wall -Wno-unused-parameter > -pthread -Wmissing-field-initializers -Wno-strict-overflow > -fno-strict-aliasing > -fvisibility=hidden -fPIC -Wno-uninitialized -B/usr/src/v8/third_party/ > binutils/Linux_ia32/Release/bin -msse2 -mfpmath=sse -mmmx -B/usr/src/v8/ > third_party/binutils/Linux_ia32/Release/bin -msse2 -mfpmath=sse -mmmx -m32 > -m32 -fdata-sections -ffunction-sections -O3 -fdata-sections > -ffunction-sections > -O3 -Wnon-virtual-dtor -fno-exceptions -fno-rtti -std=gnu++11 -MMD -MF / > usr/src/v8/out/ia32.release/.deps//usr/src/v8/out/ia32. > release/obj.target/cctest/test/cctest/compiler/test-js-context-specialization.o.d.raw > -c -o /usr/src/v8/out/ia32.release/obj.target/cctest/test/cctest/ > compiler/test-js-context-specialization.o ../test/cctest/compiler/test- > js-context-specialization.cc > In file included from ../test/cctest/compiler/test-js-context- > specialization.cc:16:0: > .././test/cctest/compiler/graph-builder-tester.h: In member function > 'v8::internal::compiler::Node* > v8::internal::compiler::GraphBuilderTester<ReturnType> > ::ChangeFloat64ToTagged(v8::internal::compiler::Node*)': > .././test/cctest/compiler/graph-builder-tester.h:172:56: error: no > matching function for call to 'v8::internal::compiler:: > SimplifiedOperatorBuilder::ChangeFloat64ToTagged()' > return NewNode(simplified()->ChangeFloat64ToTagged(), a); > ^ > In file included from .././test/cctest/compiler/graph-builder-tester.h:15: > 0, > from ../test/cctest/compiler/test-js-context- > specialization.cc:16: > .././src/compiler/simplified-operator.h:409:19: note: candidate: const v8 > ::internal::compiler::Operator* v8::internal::compiler::Simpli > fiedOperatorBuilder::ChangeFloat64ToTagged(v8::internal::compiler:: > CheckForMinusZeroMode) > const Operator* ChangeFloat64ToTagged(CheckForMinusZeroMode); > ^~~~~~~~~~~~~~~~~~~~~ > .././src/compiler/simplified-operator.h:409:19: note: candidate expects > 1 argument, 0 provided > make[1]: *** [test/cctest/cctest.target.ia32.release.mk:386: /usr/src/v8/ > out/ia32.release/obj.target/cctest/test/cctest/compiler/test-js-context- > specialization.o] Error 1 > rm bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate > make[1]: Leaving directory '/usr/src/v8/out' > make: *** [Makefile:315: ia32.release] Error 2 > > Any help is appreciated. > > > -- > -- > 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.