https://llvm.org/bugs/show_bug.cgi?id=24042
Bug ID: 24042 Summary: libutil should be added if Python is enabled Product: lldb Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@cs.uiuc.edu Reporter: eugene.zele...@gmail.com Classification: Unclassified libutil should be added if Python is enabled and static Python library is linked with liblldb. This will fix next link errors: /grid/cic/nsd-farm2/data/zelenko/LLVM.svn/python-2.7.10.install/lib/libpython2.7.a(posixmodule.o): In function `posix_openpty': ./Modules/posixmodule.c:(.text+0x2812): undefined reference to `openpty' /grid/cic/nsd-farm2/data/zelenko/LLVM.svn/python-2.7.10.install/lib/libpython2.7.a(posixmodule.o): In function `posix_forkpty': ./Modules/posixmodule.c:(.text+0x286e): undefined reference to `forkpty' I built LLDB on RHEL 6. As workaround I added -lutil to CMAKE_EXE_LINKER_FLAGS and CMAKE_SHARED_LINKER_FLAGS. -- 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