LLDB trunk build fail wrt to Python InitModule4_64 under readline.cpp

The latest trunk: 22690

It’s been happening since last night:

: In function initreadline': /home/mdriftmeyer/Projects/LLVM/llvm/tools/lldb/scripts/Python/modules/readline/readline.cpp:(.text.initreadline+0x1e): undefined reference to Py_InitModule4_64’
clang: error: linker command failed with exit code 1 (use -v to see invocation)
tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/build.make:85: recipe for target ‘lib/readline.so’ failed
make[2]: *** [lib/readline.so] Error 1
CMakeFiles/Makefile2:23189: recipe for target ‘tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/all’ failed
make[1]: *** [tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

Tested against Python 2.7, Python 3.3 and Python 3.4.

  • Marc