]> code.ossystems Code Review - openembedded-core.git/commit
llvm: fix link error for powerpc
authorChangqing Li <changqing.li@windriver.com>
Tue, 2 Apr 2019 00:43:03 +0000 (08:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2019 13:46:57 +0000 (14:46 +0100)
commit5302047be6bcdae85a43f9b09778a91dcd03b191
tree502678151878a1900e734115440657a59c9e473a
parenta85a8febf04d763dd5b3d20487d528731105afab
llvm: fix link error for powerpc

fix below link error for powerpc

lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm::cl::opt_storage<(anonymous namespace):
:HelpPrinterWrapper, true, true>::setLocation(llvm::cl::Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':
/usr/src/debug/llvm/8.0-r0/git/llvm/include/llvm/Support/CommandLine.h:1218:(.text.startup+0x5c):
relocation truncated to fit: R_PPC_PLTREL24 against symbol `llvm::errs()' defined in .text section in lib/libLLVMSupport.a(raw_ostream.cpp.o)+8000
lib/libLLVMSupport.a(CommandLine.cpp.o): in function `setLocation':

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/llvm/llvm_git.bb