[llvm-bugs] [Bug 30360] New: lld does not find libraries referenced by linker scripts; bfd does; rpath-link differs from -L path

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 12 15:53:47 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30360

            Bug ID: 30360
           Summary: lld does not find libraries referenced by linker
                    scripts; bfd does; rpath-link differs from -L path
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: eric at vangyzen.net
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17250
  --> https://llvm.org/bugs/attachment.cgi?id=17250&action=edit
script to reproduce

I'm using clang and lld built from tags/RELEASE_390/final on FreeBSD 10.3
amd64.

When I run the attached script, I get the following output:

=== bfd
=== lld
line 1: unable to find libz.so.6
GROUP ( libz.so.6 )
        ^
clang-3.9: error: linker command failed with exit code 1 (use -v to see
invocation)

-- 
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/20160912/e8f40424/attachment.html>


More information about the llvm-bugs mailing list