[lld] r306813 - [ELF] - Resolve references properly when using .symver directive

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 2 20:26:56 PDT 2017


Reverted in r306996.

On Sun, Jul 2, 2017 at 2:28 PM, Ed Maste via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On 30 June 2017 at 06:19, George Rimar via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> > Author: grimar
> > Date: Fri Jun 30 03:19:54 2017
> > New Revision: 306813
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=306813&view=rev
> > Log:
> > [ELF] - Resolve references properly when using .symver directive
>
> This broke linking the FreeBSD base system, with errors like:
>
> /tank/emaste/src/llvm/build-dim/bin/ld.lld: error:
> tank/emaste/obj/tank/emaste/src/wipbsd/tmp/usr/lib/libc.a: symbol
> mknodat at FBSD_1.1 has undefined version FBSD_1.1
> /tank/emaste/src/llvm/build-dim/bin/ld.lld: error:
> tank/emaste/obj/tank/emaste/src/wipbsd/tmp/usr/lib/libc.a: symbol
> fhstatfs at FBSD_1.0 has undefined version FBSD_1.0
> /tank/emaste/src/llvm/build-dim/bin/ld.lld: error:
> tank/emaste/obj/tank/emaste/src/wipbsd/tmp/usr/lib/libc.a: symbol
> fstatfs at FBSD_1.0 has undefined version FBSD_1.0
> ...
>
> There is a reproduction tar at
> http://people.freebsd.org/~emaste/lld/wipbsd.tar.xz
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170702/04a45acc/attachment.html>


More information about the llvm-commits mailing list