Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2018 15:59:46 +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: r341429 - in head: lib/libc lib/libthr libexec/rtld-elf
Message-ID:  <201812031559.wB3FxkFM051635@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Dec  3 15:59:46 2018
New Revision: 341429
URL: https://svnweb.freebsd.org/changeset/base/341429

Log:
  disable BIND_NOW in libc, libthr, and rtld
  
  An issue remains with BIND_NOW and processes using threads.  For now,
  restore libc's BIND_NOW disable, and also disable BIND_NOW in rtld and
  libthr.
  
  A patch is in review (D18400) that likely fixes this issue, but just
  disable BIND_NOW pending further testing after it is committed.
  
  PR:		233333
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/lib/libc/Makefile
  head/lib/libthr/Makefile
  head/libexec/rtld-elf/Makefile

Modified: head/lib/libc/Makefile
==============================================================================
--- head/lib/libc/Makefile	Mon Dec  3 15:25:40 2018	(r341428)
+++ head/lib/libc/Makefile	Mon Dec  3 15:59:46 2018	(r341429)
@@ -6,6 +6,8 @@ SHLIBDIR?= /lib
 
 .include <src.opts.mk>
 
+# BIND_NOW in libc results in segfault at startup (PR 233333)
+MK_BIND_NOW=	no
 # Force building of libc_pic.a
 MK_TOOLCHAIN=	yes
 

Modified: head/lib/libthr/Makefile
==============================================================================
--- head/lib/libthr/Makefile	Mon Dec  3 15:25:40 2018	(r341428)
+++ head/lib/libthr/Makefile	Mon Dec  3 15:59:46 2018	(r341429)
@@ -9,6 +9,7 @@ PACKAGE=	clibs
 SHLIBDIR?= /lib
 
 .include <src.opts.mk>
+MK_BIND_NOW= no
 MK_SSP=	no
 
 LIB=thr

Modified: head/libexec/rtld-elf/Makefile
==============================================================================
--- head/libexec/rtld-elf/Makefile	Mon Dec  3 15:25:40 2018	(r341428)
+++ head/libexec/rtld-elf/Makefile	Mon Dec  3 15:59:46 2018	(r341429)
@@ -6,6 +6,7 @@
 
 .include <src.opts.mk>
 PACKAGE=	clibs
+MK_BIND_NOW=	no
 MK_SSP=		no
 
 CONFS=		libmap.conf



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