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: unassignedb...@nondot.org
          Reporter: e...@vangyzen.net
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to