Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 09:37:31 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r308964 - stable/11/libexec/rtld-elf
Message-ID:  <201611220937.uAM9bVOt058625@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Nov 22 09:37:31 2016
New Revision: 308964
URL: https://svnweb.freebsd.org/changeset/base/308964

Log:
  MFC r308688:
  Assert that there is no unresolved symbols during rtld linking.

Modified:
  stable/11/libexec/rtld-elf/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/libexec/rtld-elf/Makefile
==============================================================================
--- stable/11/libexec/rtld-elf/Makefile	Tue Nov 22 09:35:50 2016	(r308963)
+++ stable/11/libexec/rtld-elf/Makefile	Tue Nov 22 09:37:31 2016	(r308964)
@@ -47,7 +47,7 @@ CFLAGS+=	-DPIC $(DEBUG)
 .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
 CFLAGS+=	-fvisibility=hidden
 .endif
-LDFLAGS+=	-shared -Wl,-Bsymbolic
+LDFLAGS+=	-shared -Wl,-Bsymbolic -Wl,-z,defs
 LIBADD=		c_pic
 .if ${MK_TOOLCHAIN} == "no"
 LDFLAGS+=	-L${LIBCDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611220937.uAM9bVOt058625>