[lldb-dev] [Bug 23774] New: Problem with linking lldb-gdbserver on RHEL 6
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 5 18:55:22 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23774
Bug ID: 23774
Summary: Problem with linking lldb-gdbserver on RHEL 6
Product: lldb
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: eugene.zelenko at gmail.com
Classification: Unclassified
I had a lot of unresolved Clang libraries related links problems when linking
lldb-gdbserver (from LLDB 3.6.1) on RHEL 6.
I was able to link after extracting link command and repeat in it Clang
libraries twice (immediately after first set). I tried to remove linker related
options (like -O3), but this didn't affect outcome.
My CMake configurations is:
${CMake} \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX:PATH=${InstallDir} \
-DCMAKE_C_COMPILER=${InstallDir}/bin/clang \
-DCMAKE_C_FLAGS="-m64" \
-DCMAKE_CXX_COMPILER=${InstallDir}/bin/clang++ \
-DCMAKE_CXX_FLAGS="-m64 -stdlib=libc++" \
-DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++ -lutil" \
-DCMAKE_SHARED_LINKER_FLAGS="-lc++abi -lc++ -lutil" \
-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \
-DLLVM_LIBDIR_SUFFIX=64 \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DPYTHON_EXECUTABLE=${PythonDir}/bin/python \
-DPYTHON_INCLUDE_DIR=${PythonDir}/include/python2.7 \
-DPYTHON_LIBRARY=${PythonDir}/lib/libpython2.7.a \
-DLLDB_DISABLE_LIBEDIT=1 \
-DLLDB_PATH_TO_CLANG_BUILD=${LLVMBuildDir}/tools/clang \
-DLLDB_PATH_TO_CLANG_SOURCE=${LLVMSourceDir}/tools/clang \
-DLLDB_PATH_TO_LLVM_BUILD=${LLVMBuildDir} \
-DLLDB_PATH_TO_LLVM_SOURCE=${LLVMSourceDir} \
${LLDBSourceDir}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150606/dd9fba3a/attachment.html>
More information about the lldb-dev
mailing list