[lldb-dev] [Bug 24042] New: libutil should be added if Python is enabled
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 6 13:17:01 PDT 2015
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 at cs.uiuc.edu
Reporter: eugene.zelenko at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150706/f717c1bc/attachment.html>
More information about the lldb-dev
mailing list