Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 650556

Summary: www-client/chromium-65.0.3325.146 fails compiling with clang-6: FAILED: v8_context_snapshot_generator
Product: Gentoo Linux Reporter: EoD <EoD>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: chromium build log

Description EoD 2018-03-15 11:35:00 UTC
Created attachment 524000 [details]
chromium build log

Apparently, the default compiler has been changed from gcc to clang in this version of chromium:
https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/chromium-65.0.3325.146.ebuild?id=9209d46463e792c0acdde1bac4adfaea8cef74b5#n382

But this causes the following error in my builds:
> [15282/15282] python "../../build/toolchain/gcc_link_wrapper.py" --output="./v8_context_snapshot_generator" -- x86_64-pc-linux-gnu-clang++ -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-n
> FAILED: v8_context_snapshot_generator
> python "../../build/toolchain/gcc_link_wrapper.py" --output="./v8_context_snapshot_generator" -- x86_64-pc-linux-gnu-clang++ -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -m64 -Wl
> LLVMSymbolizer: error reading file: No such file or directory
> #0 0x00007f4f5f1034aa llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x1094aa)
> #1 0x00007f4f5f10133e llvm::sys::RunSignalHandlers() (/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x10733e)
> #2 0x00007f4f5f1015be SignalHandler(int) (/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x1075be)
> #3 0x00007f4f5cbe7430 (/lib64/libc.so.6+0x35430)
> #4 0x00007f4f5db3c70a clang::driver::Driver::setDriverModeFromOption(llvm::StringRef) (/usr/lib64/llvm/6/bin/../lib64/libclangDriver.so.6+0x5a70a)
> #5 0x00007f4f5db3cb93 clang::driver::Driver::ParseDriverMode(llvm::StringRef, llvm::ArrayRef<char const*>) (/usr/lib64/llvm/6/bin/../lib64/libclangDriver.so.6+0x5ab93)
> #6 0x00007f4f5db5645d clang::driver::Driver::BuildCompilation(llvm::ArrayRef<char const*>) (/usr/lib64/llvm/6/bin/../lib64/libclangDriver.so.6+0x7445d)
> #7 0x0000561a69d316ac (x86_64-pc-linux-gnu-clang+++0xc6ac)
> #8 0x00007f4f5cbd2551 __libc_start_main /var/tmp/portage/sys-libs/glibc-2.25-r10/work/glibc-2.25/csu/../csu/libc-start.c:329:0
> #9 0x0000561a69d32e3a (x86_64-pc-linux-gnu-clang+++0xde3a)
> Stack dump:
> 0.  Program arguments: x86_64-pc-linux-gnu-clang++ -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -m64 -Wl,-O1 -Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,--exp
> 1.  Compilation construction
> ninja: build stopped: subcommand failed.
Comment 1 Mike Gilbert gentoo-dev 2018-03-15 15:47:45 UTC

*** This bug has been marked as a duplicate of bug 650082 ***