cef 3626 build is failing in linux

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

cef 3626 build is failing in linux

Postby Satrajit » Wed Feb 20, 2019 5:57 am

14:47:04 FAILED: libcef.so libcef.so.TOC
14:47:04 python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libcef.so" --tocfile="./libcef.so.TOC" --output="./libcef.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -flto=thin -Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\%:cache_size_bytes=10g:cache_size_files=100000 -Wl,--lto-O0 -fwhole-program-vtables -m64 -Werror -Wl,-O2 -Wl,--gc-sections -Wl,--gdb-index -rdynamic -nostdlib++ -fsanitize=cfi-vcall -fsanitize=cfi-icall -o "./libcef.so" -Wl,-soname="libcef.so" @"./libcef.so.rsp"
14:47:04 clang: error: unable to execute command: Killed
14:47:04 clang: error: linker command failed due to signal (use -v to see invocation)
14:47:04 ninja: build stopped: subcommand failed.

Got this error on building cef major: 3626
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: cef 3626 build is failing in linux

Postby salvadordf » Wed Feb 20, 2019 8:11 am

Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects.
User avatar
salvadordf
Expert
 
Posts: 129
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Re: cef 3626 build is failing in linux

Postby Satrajit » Wed Feb 20, 2019 11:09 am

I am running this in 64 bit linux machine
major:3626
minor: 1886
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: cef 3626 build is failing in linux

Postby magreenblatt » Wed Feb 20, 2019 4:17 pm

What GN defines are you using? Perhaps you're running out of RAM?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: cef 3626 build is failing in linux

Postby Satrajit » Thu Feb 21, 2019 6:10 am

GN_DEFINES = 'proprietary_codecs=true ffmpeg_branding="Chrome" enable_precompiled_headers=false is_official_build=true'

RAM = 16 GB
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: cef 3626 build is failing in linux

Postby Czarek » Thu Feb 21, 2019 7:33 am

What are the logs before? About 32 GB of total memory were required on Linux (RAM + swap) during my builds.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: cef 3626 build is failing in linux

Postby Satrajit » Fri Feb 22, 2019 12:55 am

08:44:49 [34279/34705] AR obj/components/autofill/content/renderer/librenderer.a
08:46:57 [34280/34705] LINK ./v8_context_snapshot_generator
08:46:57 FAILED: v8_context_snapshot_generator
08:46:57 python "../../build/toolchain/gcc_link_wrapper.py" --output="./v8_context_snapshot_generator" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -flto=thin -Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\%:cache_size_bytes=10g:cache_size_files=100000 -Wl,--lto-O0 -fwhole-program-vtables -m64 -Werror -Wl,-O2 -Wl,--gc-sections -Wl,--gdb-index -rdynamic -nostdlib++ -fsanitize=cfi-vcall -fsanitize=cfi-icall -pie -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,--icf=none -o "./v8_context_snapshot_generator" -Wl,--start-group @"./v8_context_snapshot_generator.rsp" -Wl,--end-group -ldl -lpthread -lrt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -latomic -lresolv -lgio-2.0 -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -lfontconfig -lexpat -lXrandr -lpangocairo-1.0 -lpango-1.0 -lcairo -lXss -lasound -lm -lz -lpci -ldbus-1
08:46:57 clang: error: unable to execute command: Killed
08:46:57 clang: error: linker command failed due to signal (use -v to see invocation)
08:46:57 ninja: build stopped: subcommand failed.


Now this is the error thats coming up.
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: cef 3626 build is failing in linux

Postby Satrajit » Fri Feb 22, 2019 1:33 am

I did run install-build-deps.sh before starting the build. Do I need to resolve any other dependencies?
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: cef 3626 build is failing in linux

Postby Czarek » Fri Feb 22, 2019 2:50 am

What if you execute that python command manually? (make sure you call it from a proper directory, do not change paths in command)
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: cef 3626 build is failing in linux

Postby Satrajit » Fri Feb 22, 2019 6:31 am

Which means I'll run the python command in out\Release_GN_x64 where it can get v8_context_snapshot_generator to run LINK ./v8_context_snapshot_generator ?
This is what you mean to say?
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 65 guests