Failure to build v8 with GCC 7.0.1
Reported by
tcall...@redhat.com,
Feb 13 2017
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce the problem: Build chromium on Fedora Rawhide (which has gcc 7.0.1) What is the expected behavior? Successful build. What went wrong? Full log is here: https://kojipkgs.fedoraproject.org//work/tasks/4161/17844161/build.log Specific error stopping build is copied below: FAILED: g++ -MMD -MF obj/v8/v8_base/code-generator.o.d -DV8_DEPRECATION_WARNINGS -DENABLE_NOTIFICATIONS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DENABLE_WEBRTC=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBUILDING_V8_SHARED -DV8_I18N_SUPPORT -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_TARGET_ARCH_X64 -DUSING_V8_BASE_SHARED -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I../.. -Igen -I../../v8 -I../../v8/include -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin -pthread -m64 -march=x86-64 -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O3 -fno-ident -fdata-sections -ffunction-sections -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti -fno-exceptions -Wno-deprecated -Wno-narrowing -fno-delete-null-pointer-checks -c ../../v8/src/compiler/code-generator.cc -o obj/v8/v8_base/code-generator.o In file included from ../../v8/src/heap/heap.h:20:0, from ../../v8/src/contexts.h:8, from ../../v8/src/isolate.h:15, from ../../v8/src/assembler.h:42, from ../../v8/src/compiler/common-operator.h:8, from ../../v8/src/compiler/instruction.h:14, from ../../v8/src/compiler/gap-resolver.h:8, from ../../v8/src/compiler/code-generator.h:8, from ../../v8/src/compiler/code-generator.cc:5: ../../v8/src/objects.h: In member function 'uint32_t v8::internal::HashTable<Derived, Shape, Key>::Hash(Key)': ../../v8/src/objects.h:3537:46: warning: invalid use of incomplete type 'class v8::internal::Heap' return Shape::SeededHash(key, GetHeap()->HashSeed()); ^~ In file included from ../../v8/src/allocation.h:9:0, from ../../v8/src/assembler.h:38, from ../../v8/src/compiler/common-operator.h:8, from ../../v8/src/compiler/instruction.h:14, from ../../v8/src/compiler/gap-resolver.h:8, from ../../v8/src/compiler/code-generator.h:8, from ../../v8/src/compiler/code-generator.cc:5: ../../v8/src/globals.h:442:7: note: forward declaration of 'class v8::internal::Heap' class Heap; ^~~~ In file included from ../../v8/src/heap/heap.h:20:0, from ../../v8/src/contexts.h:8, from ../../v8/src/isolate.h:15, from ../../v8/src/assembler.h:42, from ../../v8/src/compiler/common-operator.h:8, from ../../v8/src/compiler/instruction.h:14, from ../../v8/src/compiler/gap-resolver.h:8, from ../../v8/src/compiler/code-generator.h:8, from ../../v8/src/compiler/code-generator.cc:5: ../../v8/src/objects.h: In member function 'uint32_t v8::internal::HashTable<Derived, Shape, Key>::HashForObject(Key, v8::internal::Object*)': ../../v8/src/objects.h:3545:55: warning: invalid use of incomplete type 'class v8::internal::Heap' return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object); ^~ In file included from ../../v8/src/allocation.h:9:0, from ../../v8/src/assembler.h:38, from ../../v8/src/compiler/common-operator.h:8, from ../../v8/src/compiler/instruction.h:14, from ../../v8/src/compiler/gap-resolver.h:8, from ../../v8/src/compiler/code-generator.h:8, from ../../v8/src/compiler/code-generator.cc:5: ../../v8/src/globals.h:442:7: note: forward declaration of 'class v8::internal::Heap' class Heap; ^~~~ In file included from ../../v8/src/heap/objects-visiting.h:12:0, from ../../v8/src/heap/object-stats.h:12, from ../../v8/src/heap/heap-inl.h:15, from ../../v8/src/objects-inl.h:24, from ../../v8/src/arguments.h:9, from ../../v8/src/debug/debug.h:9, from ../../v8/src/x64/assembler-x64-inl.h:11, from ../../v8/src/macro-assembler.h:44, from ../../v8/src/compiler/instruction.h:19, from ../../v8/src/compiler/gap-resolver.h:8, from ../../v8/src/compiler/code-generator.h:8, from ../../v8/src/compiler/code-generator.cc:5: ../../v8/src/objects-body-descriptors.h: In static member function 'static void v8::internal::FixedBodyDescriptor<start_offset, end_offset, size>::IterateBody(v8::internal::HeapObject*, int)': ../../v8/src/objects-body-descriptors.h:102:20: error: no matching function for call to 'v8::internal::FixedBodyDescriptor<start_offset, end_offset, size>::IterateBody(v8::internal::HeapObject*&)' IterateBody(obj); ^ ../../v8/src/objects-body-descriptors.h:84:22: note: candidate: template<int start_offset, int end_offset, int size> template<class ObjectVisitor> static void v8::internal::FixedBodyDescriptor<start_offset, end_offset, size>::IterateBody(v8::internal::HeapObject*, ObjectVisitor*) static inline void IterateBody(HeapObject* obj, ObjectVisitor* v) { ^~~~~~~~~~~ ../../v8/src/objects-body-descriptors.h:84:22: note: template argument deduction/substitution failed: ../../v8/src/objects-body-descriptors.h:102:20: note: candidate expects 2 arguments, 1 provided IterateBody(obj); ^ ../../v8/src/objects-body-descriptors.h:89:22: note: candidate: template<int start_offset, int end_offset, int size> template<class ObjectVisitor> static void v8::internal::FixedBodyDescriptor<start_offset, end_offset, size>::IterateBody(v8::internal::HeapObject*, int, ObjectVisitor*) static inline void IterateBody(HeapObject* obj, int object_size, ^~~~~~~~~~~ ../../v8/src/objects-body-descriptors.h:89:22: note: template argument deduction/substitution failed: ../../v8/src/objects-body-descriptors.h:102:20: note: candidate expects 3 arguments, 1 provided IterateBody(obj); ^ ../../v8/src/objects-body-descriptors.h:95:22: note: candidate: template<int start_offset, int end_offset, int size> template<class StaticVisitor> static void v8::internal::FixedBodyDescriptor<start_offset, end_offset, size>::IterateBody(v8::internal::HeapObject*) static inline void IterateBody(HeapObject* obj) { ^~~~~~~~~~~ ../../v8/src/objects-body-descriptors.h:95:22: note: template argument deduction/substitution failed: ../../v8/src/objects-body-descriptors.h:102:20: note: couldn't deduce template parameter 'StaticVisitor' IterateBody(obj); ^ ../../v8/src/objects-body-descriptors.h:101:22: note: candidate: template<int start_offset, int end_offset, int size> template<class StaticVisitor> static void v8::internal::FixedBodyDescriptor<start_offset, end_offset, size>::IterateBody(v8::internal::HeapObject*, int) static inline void IterateBody(HeapObject* obj, int object_size) { ^~~~~~~~~~~ ../../v8/src/objects-body-descriptors.h:101:22: note: template argument deduction/substitution failed: ../../v8/src/objects-body-descriptors.h:102:20: note: candidate expects 2 arguments, 1 provided IterateBody(obj); ^ In file included from ../../v8/src/compiler/types.h:12:0, from ../../v8/src/compiler/node.h:10, from ../../v8/src/compiler/node-marker.h:8, from ../../v8/src/compiler/graph-reducer.h:9, from ../../v8/src/compiler/dead-code-elimination.h:9, from ../../v8/src/compiler/dead-code-elimination.cc:5: ../../v8/src/objects.h: In member function 'uint32_t v8::internal::HashTable<Derived, Shape, Key>::Hash(Key)': ../../v8/src/objects.h:3537:46: warning: invalid use of incomplete type 'class v8::internal::Heap' return Shape::SeededHash(key, GetHeap()->HashSeed()); ^~ In file included from ../../v8/src/compiler/opcodes.h:10:0, from ../../v8/src/compiler/node.h:8, from ../../v8/src/compiler/node-marker.h:8, from ../../v8/src/compiler/graph-reducer.h:9, from ../../v8/src/compiler/dead-code-elimination.h:9, from ../../v8/src/compiler/dead-code-elimination.cc:5: ../../v8/src/globals.h:442:7: note: forward declaration of 'class v8::internal::Heap' class Heap; ^~~~ In file included from ../../v8/src/compiler/types.h:12:0, from ../../v8/src/compiler/node.h:10, from ../../v8/src/compiler/node-marker.h:8, from ../../v8/src/compiler/graph-reducer.h:9, from ../../v8/src/compiler/dead-code-elimination.h:9, from ../../v8/src/compiler/dead-code-elimination.cc:5: ../../v8/src/objects.h: In member function 'uint32_t v8::internal::HashTable<Derived, Shape, Key>::HashForObject(Key, v8::internal::Object*)': ../../v8/src/objects.h:3545:55: warning: invalid use of incomplete type 'class v8::internal::Heap' return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object); ^~ In file included from ../../v8/src/compiler/opcodes.h:10:0, from ../../v8/src/compiler/node.h:8, from ../../v8/src/compiler/node-marker.h:8, from ../../v8/src/compiler/graph-reducer.h:9, from ../../v8/src/compiler/dead-code-elimination.h:9, from ../../v8/src/compiler/dead-code-elimination.cc:5: ../../v8/src/globals.h:442:7: note: forward declaration of 'class v8::internal::Heap' class Heap; ^~~~ ninja: build stopped: subcommand failed. Did this work before? N/A Chrome version: 56.0.2924.87 Channel: stable OS Version: Flash Version: Shockwave Flash 24.0 r0
,
Feb 14 2017
,
Jun 6 2017
+marja@ for further V8 triage
,
Jun 26 2017
Looks like https://chromium-review.googlesource.com/c/530227/ landed to address this.
,
Jul 31 2017
I'd like to see this landed on 6.0 if possible so we don't have to float it on Node.js
,
Aug 1
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||
►
Sign in to add a comment |
||||
Comment 1 by ajha@chromium.org
, Feb 14 2017Labels: TE-NeedsTriageHelp