[llvm-bugs] [Bug 39070] New: Facing "undefined symbol: llvm::detail::TakeError(llvm::Error)" while building XRayTest-x86_64-Test

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 25 02:20:54 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39070

            Bug ID: 39070
           Summary: Facing "undefined symbol:
                    llvm::detail::TakeError(llvm::Error)" while building
                    XRayTest-x86_64-Test
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: balarishi.bhogadi at amd.com
                CC: llvm-bugs at lists.llvm.org

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180925/43c9f2d0/attachment.html>


More information about the llvm-bugs mailing list