[lld] r289212 - Give preempting symbols precedence over linker script.
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 11:58:36 PST 2016
On 9 December 2016 at 09:12, Rafael Espindola via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: rafael
> Date: Fri Dec 9 08:12:02 2016
> New Revision: 289212
>
> URL: http://llvm.org/viewvc/llvm-project?rev=289212&view=rev
> Log:
> Give preempting symbols precedence over linker script.
After this change FreeBSD's libthr fails to link with many duplicate
symbol errors, e.g.:
/tank/emaste/src/llvm/build-dim/bin/ld.lld: error: duplicate symbol
'pthread_atfork' in version script
/tank/emaste/src/llvm/build-dim/bin/ld.lld: error: duplicate symbol
'pthread_attr_destroy' in version script
/tank/emaste/src/llvm/build-dim/bin/ld.lld: error: duplicate symbol
'pthread_attr_getdetachstate' in version script
I've put a cpio at https://people.freebsd.org/~emaste/lld/libthr.cpio.xz
More information about the llvm-commits
mailing list