New issue
Advanced search Search tips

Issue 895750 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Oct 16
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Build chromium error for google_util.cc on mips64el

Reported by wangqing...@loongson.cn, Oct 16

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3565.0 Safari/537.36

Steps to reproduce the problem:
1. fetch lastest chromium
2. ninja -C out/Release chrome

What is the expected behavior?

What went wrong?
FAILED: obj/components/google/core/common/common/google_util.o
mips64el-redhat-linux-g++ -MMD -MF obj/components/google/core/common/common/google_util.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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_MIPS_ARCH_LOONGSON -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=332543 -DCR_LIBCXXABI_REVISION=331450 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DWEBP_EXTERN=extern -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -I../.. -Igen -I../../third_party/libwebp/src -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -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 -D__SANE_USERSPACE_TYPES__ -EL -mabi=64 -march=loongson3a -mno-branch-likely -Wa,-march=loongson3a -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fno-builtin-abs -fvisibility=hidden -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3 -I/usr/include/nspr4 -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c ../../components/google/core/common/google_util.cc -o obj/components/google/core/common/common/google_util.o
../../components/google/core/common/google_util.cc: 在函数‘bool google_util::\xe5\x8c\xbf\xe5\x90\x8d}::IsCanonicalHostGoogleHostname(base::StringPiece, google_util::SubdomainPermission)’中:
../../components/google/core/common/google_util.cc:120:24: 错误:对重载的‘NoDestructor(<花括号内的初始值列表>)’的调用有歧义
       {GOOGLE_TLD_LIST});
                        ^
In file included from ../../components/google/core/common/google_util.cc:15:
../../base/no_destructor.h:62:3: 附注:candidate: ‘base::NoDestructor<T>::NoDestructor(const base::NoDestructor<T>&) [with T = std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >]’ <deleted>
   NoDestructor(const NoDestructor&) = delete;
   ^~~~~~~~~~~~
../../base/no_destructor.h:60:12: 附注:candidate: ‘base::NoDestructor<T>::NoDestructor(T&&) [with T = std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >]’
   explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); }
            ^~~~~~~~~~~~
../../base/no_destructor.h:59:12: 附注:candidate: ‘base::NoDestructor<T>::NoDestructor(const T&) [with T = std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >]’
   explicit NoDestructor(const T& x) { new (storage_) T(x); }
            ^~~~~~~~~~~~
../../components/google/core/common/google_util.cc: 在函数‘bool google_util::\xe5\x8c\xbf\xe5\x90\x8d}::IsGoogleSearchSubdomainUrl(const GURL&)’中:
../../components/google/core/common/google_util.cc:135:45: 错误:对重载的‘NoDestructor(<花括号内的初始值列表>)’的调用有歧义
       {"ipv4.google.com", "ipv6.google.com"});
                                             ^
In file included from ../../components/google/core/common/google_util.cc:15:
../../base/no_destructor.h:62:3: 附注:candidate: ‘base::NoDestructor<T>::NoDestructor(const base::NoDestructor<T>&) [with T = std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >]’ <deleted>
   NoDestructor(const NoDestructor&) = delete;
   ^~~~~~~~~~~~
../../base/no_destructor.h:60:12: 附注:candidate: ‘base::NoDestructor<T>::NoDestructor(T&&) [with T = std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >]’
   explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); }
            ^~~~~~~~~~~~
../../base/no_destructor.h:59:12: 附注:candidate: ‘base::NoDestructor<T>::NoDestructor(const T&) [with T = std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >]’
   explicit NoDestructor(const T& x) { new (storage_) T(x); }
            ^~~~~~~~~~~~
ninja: build stopped: subcommand failed.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 71.0.3565.0  Channel: n/a
OS Version: OS X 10.13.6
Flash Version: 

OS: Fedora28 
GCC: 8.1.0
Kernel: 4.14.63
 
Labels: -OS-Mac OS-Linux
Status: Fixed (was: Unconfirmed)
Already fixed in https://chromium-review.googlesource.com/c/chromium/src/+/1275854 .

Sign in to add a comment