Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.11
-
None
-
Archlinux, GCC 8.1.0
Description
Trying to build the current 5.11 branch, I get:
[23/3138] /usr/lib/ccache/bin/g++ -MMD -MF obj/third_party/WebKit/Source/platform/wtf/wtf/wtf_jumbo_7.o.d -DWTF_IMPLEMENTATION=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I. -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/WebKit/Source -I../../3rdparty/chromium/third_party/WebKit -Igen/blink -Igen/third_party/WebKit -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Igen -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -g0 -Os -std=gnu++14 -fno-delete-null-pointer-checks -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/third_party/WebKit/Source/platform/wtf/wtf_jumbo_7.cc -o obj/third_party/WebKit/Source/platform/wtf/wtf/wtf_jumbo_7.o In file included from ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/text/StringImpl.h:37, from ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/text/WTFString.h:34, from ./../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/text/WTFString.cpp:23, from gen/third_party/WebKit/Source/platform/wtf/wtf_jumbo_7.cc:6: ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/Vector.h: In instantiation of ‘static void WTF::VectorMover<true, T, Allocator>::Move(const T*, const T*, T*) [with T = WTF::String; Allocator = WTF::PartitionAllocator]’: ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/Vector.h:341:73: required from ‘static void WTF::VectorTypeOperations<T, Allocator>::Move(T*, T*, T*) [with T = WTF::String; Allocator = WTF::PartitionAllocator]’ ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/Vector.h:1708:27: required from ‘void WTF::Vector<T, inlineCapacity, Allocator>::ShrinkCapacity(size_t) [with T = WTF::String; long unsigned int inlineCapacity = 0; Allocator = WTF::PartitionAllocator; size_t = long unsigned int]’ ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/Vector.h:1153:18: required from ‘void WTF::Vector<T, inlineCapacity, Allocator>::clear() [with T = WTF::String; long unsigned int inlineCapacity = 0; Allocator = WTF::PartitionAllocator]’ ./../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/text/WTFString.cpp:517:16: required from here ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/Vector.h:192:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class WTF::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(dst, src, ~~~~~~^~~~~~~~~~ reinterpret_cast<const char*>(src_end) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reinterpret_cast<const char*>(src)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/text/WTFString.cpp:23, from gen/third_party/WebKit/Source/platform/wtf/wtf_jumbo_7.cc:6: ../../3rdparty/chromium/third_party/WebKit/Source/platform/wtf/text/WTFString.h:63:18: note: ‘class WTF::String’ declared here class WTF_EXPORT String { ^~~~~~ ninja: build stopped: subcommand failed.
Attachments
Issue Links
- duplicates
-
QTBUG-68203 QtWebEngine fails to build with GCC 8.1
- Closed