Skip to content

[3.0 regression] llvm-ld can't find libc on debian testing #11570

@llvmbot

Description

@llvmbot
Bugzilla Link 11198
Resolution FIXED
Resolved on Nov 01, 2011 08:39
Version unspecified
OS Linux
Blocks llvm/llvm-bugzilla-archive#11199
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic,@nlewycky

Extended Description

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
-lc).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions