Date: Sat, 16 Dec 2017 15:17:54 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326908 - head/lib/libc/i386 Message-ID: <201712161517.vBGFHsjD045304@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Sat Dec 16 15:17:54 2017 New Revision: 326908 URL: https://svnweb.freebsd.org/changeset/base/326908 Log: revert r322589: force use of ld.bfd for linking i386 libc As of r326897 ld.lld can link a working i386 libc.so, so we no longer need to force use of ld.bfd. Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/i386/Makefile.inc Modified: head/lib/libc/i386/Makefile.inc ============================================================================== --- head/lib/libc/i386/Makefile.inc Sat Dec 16 14:47:12 2017 (r326907) +++ head/lib/libc/i386/Makefile.inc Sat Dec 16 15:17:54 2017 (r326908) @@ -4,13 +4,3 @@ GDTOASRCS+=strtorx.c SRCS+=machdep_ldisx.c SYM_MAPS+=${LIBC_SRCTOP}/i386/Symbol.map - -# XXX force use of ld.bfd for linking i386 libc -# -# lld can successfully link most of a working i386 userland and kernel, -# but produces a broken libc. For now if we're otherwise using lld, and -# ld.bfd is available, explicitly use it for libc. -.include <bsd.linker.mk> -.if ${LINKER_TYPE} == "lld" && ${MK_BINUTILS_BOOTSTRAP} != "no" -LDFLAGS+=-fuse-ld=bfd -.endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712161517.vBGFHsjD045304>