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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to