Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11
-
None
-
qtwebengine f8898170a77593e314d3cd187f259223e9bff0f8, GCC 8.1.0
{noformat}
# /usr/bin/x86_64-pc-linux-gnu-g++ --version
x86_64-pc-linux-gnu-g++ (Gentoo Hardened 8.1.0-r1 p1.1) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
{noformat}qtwebengine f8898170a77593e314d3cd187f259223e9bff0f8, GCC 8.1.0 {noformat} # /usr/bin/x86_64-pc-linux-gnu-g++ --version x86_64-pc-linux-gnu-g++ (Gentoo Hardened 8.1.0-r1 p1.1) 8.1.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. {noformat}
Description
QtWebengine won't build with GCC 8.1.0. That same file builds OK when I use clang 6.0 or GCC 7.2.0.
FAILED: obj/components/discardable_memory/public/interfaces/interfaces_shared_cpp_sources/discardable_shared_memory_manager.mojom-shared.o /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/components/discardable_memory/public/interfaces/interfaces_shared_cpp_sources/discardable_shared_memory_manager.mojom-shared.o.d -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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -Igen -I../../../../qtwebengine-5.11.9999/src/3rdparty/chromium -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen -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 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -fno-delete-null-pointer-checks -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.cc -o obj/components/discardable_memory/public/interfaces/interfaces_shared_cpp_sources/discardable_shared_memory_manager.mojom-shared.o In file included from ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/lib/handle_interface_serialization.h:11, from ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/lib/serialization.h:18, from gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.h:20, from gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.cc:10: ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h: In member function 'mojo::AssociatedInterfacePtrInfo<Interface>::operator bool() const': ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h:48:43: error: cannot convert 'const mojo::ScopedInterfaceEndpointHandle' to 'bool' in return explicit operator bool() const { return handle_; } ^~~~~~~ In file included from ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/lib/handle_interface_serialization.h:12, from ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/lib/serialization.h:18, from gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.h:20, from gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.cc:10: ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h: In member function 'mojo::AssociatedInterfaceRequest<Interface>::operator bool() const': ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h:53:43: error: cannot convert 'const mojo::ScopedInterfaceEndpointHandle' to 'bool' in return explicit operator bool() const { return handle_; } ^~~~~~~ In file included from ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/lib/handle_interface_serialization.h:15, from ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/lib/serialization.h:18, from gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.h:20, from gen/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom-shared.cc:10: ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h: In member function 'mojo::InterfaceRequest<Interface>::operator bool() const': ../../../../qtwebengine-5.11.9999/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h:57:43: error: cannot convert 'const ScopedMessagePipeHandle' {aka 'const mojo::ScopedHandleBase<mojo::MessagePipeHandle>'} to 'bool' in return explicit operator bool() const { return handle_; } ^~~~~~~
I have no clue what that operator bool() is supposed to do; they have an is_valid() in there as well...
Attachments
Issue Links
- is duplicated by
-
QTBUG-68432 qt-everywhere-src-5.11.0 fails to compile with gcc 8.1
- Closed
-
QTBUG-68335 FTBFS: writing to an object of type ‘class WTF::String’ with no trivial copy-assignment
- Closed
For Gerrit Dashboard: QTBUG-68203 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
229160,2 | Fix build with GCC 8.1.0 | 65-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |