roadlabs / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Fail to build CEF-trunk with gcc-4.8 #1440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[11899/12259] CXX obj/cef/libcef/browser/libcef_static.devtools_frontend.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF 
obj/cef/libcef/browser/libcef_static.devtools_frontend.o.d 
-DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD 
-DCR_CLANG_REVISION=218707 -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT 
-DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 
-DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 
-DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP 
-DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS 
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS 
-DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 
-DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 
-DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 
-DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DCLD2_DATA_SOURCE=static 
-DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 
-DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 
-DENABLE_LOAD_COMPLETION_HACKS=1 -DBUILDING_CEF_SHARED -DGL_GLEXT_PROTOTYPES 
-DMOJO_USE_SYSTEM_IMPL -DLIBPEERCONNECTION_LIB=1 -DSK_ENABLE_INST_COUNT=0 
-DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' 
-DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 
-DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT 
-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1 -DSK_SUPPORT_LEGACY_TEXTRENDERMODE 
-DSK_IGNORE_GPU_LAYER_HOISTING -DSK_USE_POSIX_THREADS -DPROTOBUF_USE_DLLS 
-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER 
-DHUNSPELL_STATIC -DHUNSPELL_CHROME_CLIENT -DUSE_HUNSPELL -DLIBXML_STATIC 
-DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION 
-DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DENABLE_OPENTYPE_VERTICAL=1 
-DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 
-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 
-DENABLE_WEB_AUDIO=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 
-DWTF_USE_DEFAULT_RENDER_THEME=1 -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS=1 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -D_GLIBCXX_DEBUG=1 -Igen -I../../cef 
-I../../third_party/WebKit/public/platform 
-I../../third_party/WebKit/public/web -I../../cef/libcef/resources/grit_stub 
-Igen/cef -Igen/ui/resources -Igen/ui/strings -Igen/webkit 
-I../../third_party/khronos -I../../gpu -I../../third_party/WebKit/Source 
-I../.. -I../../skia/config -Igen/angle -I../../third_party/WebKit 
-I../../third_party/skia/src/core -I../../third_party/skia/include/core 
-I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf 
-I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy 
-I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe 
-I../../third_party/skia/include/ports -I../../third_party/skia/include/utils 
-I../../skia/ext -Igen/protoc_out -I../../third_party/protobuf 
-I../../third_party/protobuf/src -I../../third_party/libxml/linux/include 
-I../../third_party/libxml/src/include -I../../third_party/icu/source/common 
-I../../third_party/re2 -I../../third_party/WebKit -I../../third_party/npapi 
-I../../third_party/npapi/bindings -I../../third_party/libpng 
-I../../third_party/zlib -I../../third_party/libwebp 
-I../../third_party/ots/include -I../../third_party/qcms/src 
-I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/blink 
-I../../third_party/icu/source/i18n -Igen/ui/gl 
-I../../third_party/mesa/src/include -I../../v8/include -fstack-protector 
--param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall 
-Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe 
-fPIC -Wno-reserved-user-defined-literal -fcolor-diagnostics 
-B/home/cef3/cef3_build/chromium/src/third_party/binutils/Linux_x64/Release/bin 
-Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing 
-Wno-deprecated-register -Wno-unused-local-typedef -pthread 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -m64 -march=x86-64 -O0 -g 
-gdwarf-4 -funwind-tables -gsplit-dwarf -Wno-undefined-bool-conversion 
-Wno-tautological-undefined-compare -Wno-c++0x-compat 
-Wno-deprecated-declarations -fno-exceptions -fno-rtti -fno-threadsafe-statics 
-fvisibility-inlines-hidden -Wsign-compare -std=gnu++11  -c 
../../cef/libcef/browser/devtools_frontend.cc -o 
obj/cef/libcef/browser/libcef_static.devtools_frontend.o
In file included from ../../cef/libcef/browser/devtools_frontend.cc:7:
In file included from ../../cef/libcef/browser/content_browser_client.h:21:
In file included from ../../content/public/browser/content_browser_client.h:30:
In file included from ../../storage/browser/fileapi/file_system_context.h:20:
In file included from 
../../storage/browser/fileapi/plugin_private_file_system_backend.h:13:
In file included from ../../storage/browser/fileapi/file_system_backend.h:18:
In file included from 
../../storage/browser/fileapi/task_runner_bound_observer_list.h:11:
In file included from ../../base/bind.h:13:
../../base/bind_internal.h:898:18: error: no viable conversion from 'typename 
enable_if<!IsMoveOnlyType<const CefRefPtr<CefBrowserHostImpl> >::value, const 
CefRefPtr<CefBrowserHostImpl> >::type' (aka 'const 
CefRefPtr<CefBrowserHostImpl>') to 'CefBrowserHostImpl *'
    runnable.Run(CallbackForward(a1), CallbackForward(a2));
                 ^~~~~~~~~~~~~~~~~~~
../../base/bind_internal.h:1252:18: note: in instantiation of member function 
'base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void 
(CefBrowserHostImpl::*)(bool)>, void (const CefRefPtr<CefBrowserHostImpl> &, 
const bool &)>::MakeItSo' requested here
               ::MakeItSo(storage->runnable_, CallbackForward(x1),
                 ^
../../base/callback.h:389:28: note: in instantiation of member function 
'base::internal::Invoker<2, 
base::internal::BindState<base::internal::RunnableAdapter<void 
(CefBrowserHostImpl::*)(bool)>, void (CefBrowserHostImpl *, bool), void 
(CefRefPtr<CefBrowserHostImpl>, bool)>, void (CefBrowserHostImpl *, 
bool)>::Run' requested here
            ::InvokerType::Run;
                           ^
../../base/bind.h:168:10: note: in instantiation of function template 
specialization 'base::Callback<void 
()>::Callback<base::internal::RunnableAdapter<void 
(CefBrowserHostImpl::*)(bool)>, void (CefBrowserHostImpl *, bool), void 
(CefRefPtr<CefBrowserHostImpl>, bool)>' requested here
  return Callback<typename BindState::UnboundRunType>(
         ^
../../cef/libcef/browser/devtools_frontend.cc:78:13: note: in instantiation of 
function template specialization 'base::Bind<void 
(CefBrowserHostImpl::*)(bool), CefRefPtr<CefBrowserHostImpl>, bool>' requested 
here
      base::Bind(&CefBrowserHostImpl::CloseBrowser, frontend_browser_, true));
            ^
../../cef/libcef/browser/thread_util.h:44:53: note: expanded from macro 
'CEF_POST_TASK'
    content::BrowserThread::PostTask(id, FROM_HERE, task)
                                                    ^
../../base/bind_internal.h:189:12: note: passing argument to parameter 'object' 
here
  R Run(T* object, typename CallbackParamTraits<A1>::ForwardType a1) {
           ^
1 error generated.
[11899/12259] CXX obj/cef/libcef/browser/libcef_static.browser_host_impl.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "repositories/trunk-cef3/tools/automate/automate-git.py", line 898, in <module>
    if options.buildlogfile else None)
  File "repositories/trunk-cef3/tools/automate/automate-git.py", line 74, in run
    shell=(sys.platform == 'win32'))
  File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out/Debug', 
'cefclient', 'chrome_sandbox']' returned non-zero exit status 1

Original issue reported on code.google.com by renegar...@gmail.com on 20 Nov 2014 at 7:14

GoogleCodeExporter commented 9 years ago
Thanks, fixed in revision 1917.

Original comment by magreenb...@gmail.com on 20 Nov 2014 at 4:43