Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 14:01:14 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199830 - head/lib/libthr
Message-ID:  <200911261401.nAQE1Ewj083824@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Nov 26 14:01:14 2009
New Revision: 199830
URL: http://svn.freebsd.org/changeset/base/199830

Log:
  Libthr cannot be dynamically loaded into the running process.
  Mark it with -z nodlopen for now.
  
  Discussed with:	jhb, kan
  MFC after:	3 weeks

Modified:
  head/lib/libthr/Makefile

Modified: head/lib/libthr/Makefile
==============================================================================
--- head/lib/libthr/Makefile	Thu Nov 26 13:57:20 2009	(r199829)
+++ head/lib/libthr/Makefile	Thu Nov 26 14:01:14 2009	(r199830)
@@ -25,7 +25,7 @@ CFLAGS+=-I${.CURDIR}/../../libexec/rtld-
 CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
 CFLAGS+=-I${.CURDIR}/../libthread_db
 CFLAGS+=-Winline
-LDFLAGS+=-Wl,-znodelete
+LDFLAGS+=-Wl,-znodelete -Wl,-znodlopen
 
 VERSION_DEF=${.CURDIR}/../libc/Versions.def
 SYMBOL_MAPS=${.CURDIR}/pthread.map



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