<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Facing "undefined symbol: llvm::detail::TakeError(llvm::Error)" while building XRayTest-x86_64-Test"
href="https://bugs.llvm.org/show_bug.cgi?id=39070">39070</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Facing "undefined symbol: llvm::detail::TakeError(llvm::Error)" while building XRayTest-x86_64-Test
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>balarishi.bhogadi@amd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Facing the below error while Generating XRayTest-x86_64-Test of 'make
check-all':
ld.lld: warning: found local symbol '__bss_start' in global part of symbol
table in file
/home/amd/JENKINS/workspace/CPUPC_Mirror_Branch/BUILD_DIR/lib/libLLVM-8svn.so
ld.lld: warning: found local symbol '_end' in global part of symbol table in
file
/home/amd/JENKINS/workspace/CPUPC_Mirror_Branch/BUILD_DIR/lib/libLLVM-8svn.so
ld.lld: warning: found local symbol '_edata' in global part of symbol table in
file
/home/amd/JENKINS/workspace/CPUPC_Mirror_Branch/BUILD_DIR/lib/libLLVM-8svn.so
ld.lld: error: undefined symbol: llvm::detail::TakeError(llvm::Error)
Repository Revision info:
project: llvm/tools/clang at revision: e0d61134f09e29b71a0f6eea9502a2ffcf26fcdf
project: llvm/projects/compiler-rt at revision:
706829da93a37ad9059950c01e623114319df4c7
project: flang at revision: 498be068d81465f7483bf8ad92713a23cc49dd17
project: llvm/tools/lld at revision: fe9f98f141d3a3bfbf0359f033d5b26542ecc0f2
project: llvm at revision: 7b129940425f14653692ae13dc7a33d551413444
The below commands used on RHEL 7.3 and encountered the issue:
- cmake -G"Unix Makefiles" -DLLVM_BUILD_LLVM_DYLIB:STRING=ON
-DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_LIBEDIT=OFF
-DCMAKE_BUILD_TYPE:STRING=RELEASE -DCLANG_DEFAULT_LINKER:STRING=lld
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_TARGETS_TO_BUILD:STRING=X86
-DLLVM_ENABLE_ASSERTIONS:BOOL=ON -DPACKAGE_VERSION=AMD.LLVM.8.0.0.S.2018_09_24
-DCLANG_VENDOR=AMD.LLVM.S.2018_09_24 -DCLANG_REPOSITORY_STRING=CLANG:
-DCMAKE_CXX_FLAGS='-Wno-error=pedantic'
-DCMAKE_INSTALL_PREFIX:PATH=/home/amd/MyInstall-Dir1 /home/amd/latest_src/llvm
- make
- make check
- make check-all</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>