[lldb-dev] [Bug 23221] New: Problem loading plugin via Python API when LLDB is compiled with clang, but the plugin with GCC
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Apr 13 16:52:21 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23221
Bug ID: 23221
Summary: Problem loading plugin via Python API when LLDB is
compiled with clang, but the plugin with GCC
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: sivachandra at gmail.com
Classification: Unclassified
Loading a plugin fails if all of:
1. LLDB is compiled with clang
2. Plugin is compiled with GCC
3. Load the plugin via Python API
This can seen with TestPluginCommands. If we build LLDB with clang and run the
test with:
./dotest.py -C gcc -executable=<path_to_llvm_build>/bin/lldb -t -p
TestPluginCommands
it fails with this error:
python: symbol lookup error:
<path_to_lldb_src>/test/functionalities/plugins/commands/libplugin.so:
undefined symbol: _ZN4lldb10SBDebugger21GetCommandInterpreterEv
If we replace #3 with "plugin load" command, it works. In other words, if we
manually run all the steps in TestPluginCommands, everything works.
--
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/20150413/9885eca2/attachment.html>
More information about the lldb-dev
mailing list