[Bug 207980] /usr/lib/libc.so not compatible with lld due to path stripping

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 14 18:01:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207980

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Most recent buildworld-with-lld attempt was reported here:
http://lists.llvm.org/pipermail/llvm-dev/2016-March/096449.html

> 3. Library search paths
>
> In FreeBSD /usr/lib/libc.so is a linker script that contains
> "GROUP ( libc.so.7 libc_nonshared.a libssp_nonshared.a )". ld.bfd
> includes a built-in /lib search path and finds /lib/libc.so.7 there.
> lld relies only on the -L paths specified on the command line, and
> cannot locate libc.so.7. As a workaround I've changed /usr/lib/libc.so
> to include the full path.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list