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

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 2 14:28:00 PDT 2017


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


More information about the llvm-commits mailing list