<div dir="ltr">Nevermind.<div><br></div><div>There was an implicit dependency. <a href="http://reviews.llvm.org/rL226933">http://reviews.llvm.org/rL226933</a> fixed it.</div><div><br></div><div>Thanks,</div><div>Chaoren</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 12:04 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 23 January 2015 at 14:37, Chaoren Lin <span dir="ltr"><<a href="mailto:chaorenl@google.com" target="_blank">chaorenl@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi <span style="font-size:12.8000001907349px">Rafael</span>,<div><br></div><div>This commit causes link errors for LLDB on Linux:</div><div><br></div><div><div style="font-size:12.8000001907349px">[308/2938] Linking CXX shared library lib/readline.so</div><div style="font-size:12.8000001907349px">FAILED: : && /usr/bin/clang++  -fPIC  -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -g  -Wl,-z,defs -shared -Wl,-soname,readline.so -o lib/readline.so tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/readline.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib" && :</div><div style="font-size:12.8000001907349px">tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/readline.cpp.o: In function `initreadline':</div><div style="font-size:12.8000001907349px">/usr/local/src/llvm/tools/lldb/scripts/Python/modules/readline/readline.cpp:21: undefined reference to `Py_InitModule4_64'</div><div style="font-size:12.8000001907349px">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Could you exclude Linux for now as well?</div></div></blockquote><div><br></div></span><div> Is this building a python plugin? Can it use add_llvm_loadable_module instead of add_llvm_library?</div><div><br></div><div>I will try to reproduce it.</div><div><br></div><div>Cheers,</div><div>Rafael</div><div><br></div><div><br></div></div></div></div>
</blockquote></div><br></div>