[LLVMbugs] [Bug 11198] New: [3.0 regression] llvm-ld can't find libc on debian testing

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 21 01:46:13 PDT 2011


           Summary: [3.0 regression] llvm-ld can't find libc on debian
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

Using this bitcode mn.ll

define i32 @main() {
  ret i32 0

$ llvm-ld mn.bc -lc
llvm-ld: error: Cannot find library 'c'

This breaks the nightly testsuite which invokes llvm-ld like this (i.e. passing

Presumably this is because Debian has been moving its libraries to new
The nightly testsuite can be "fixed" by adding
LLVMLD_FLAGS += -L/usr/lib/x86_64-linux-gnu/
to Makefile.programs

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list