[LLVMbugs] [Bug 16902] New: llvm-config omitting curses libraries

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 15 10:57:53 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16902

            Bug ID: 16902
           Summary: llvm-config omitting curses libraries
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: scott+llvm+bugzilla at pakin.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

At least with revision 188466, llvm-config is failing to report a curses
dependency (-ltinfo in my case) established by LLVM's configure script:

    $ llvm-config --ldflags
    -L/usr/local/stow/llvm-latest/lib  -lbfd -lz -lpthread -lffi -lrt -ldl -lm 
-lopagent -L/usr/lib/oprofile -Wl,-rpath,/usr/lib/oprofile

One ramification is that DragonEgg, which uses llvm-config to determine what to
link to, fails to build:

    $ make
    Linking TargetInfo
    /usr/local/stow/llvm-latest/lib/libLLVMSupport.a(Process.o): In function
`terminalHasColors':
    /tmp/llvm/lib/Support/Unix/Process.inc:265: undefined reference to
`setupterm'
    /tmp/llvm/lib/Support/Unix/Process.inc:283: undefined reference to
`tigetnum'
    collect2: error: ld returned 1 exit status
    make: *** [TargetInfo] Error 1

Is this problem perhaps a fallout of the change in curses detection implemented
in r188165?  (I haven't checked.)

-- Scott

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130815/5009d26a/attachment.html>


More information about the llvm-bugs mailing list