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@cs.uiuc.edu Reporter: sivachan...@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.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev