PERFORCE change 109211 for review

John Birrell jb at FreeBSD.org
Sat Nov 4 04:34:31 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=109211

Change 109211 by jb at jb_freebsd8 on 2006/11/04 04:33:53

	These are built as bootstrap tools which are linked statically,
	so we can't rely on libmap.conf to map libpthread to libthr when
	running on a kernel without KSE.
	
	So link these directly to libthr.

Affected files ...

.. //depot/projects/dtrace/src/cddl/usr.bin/ctfconvert/Makefile#12 edit
.. //depot/projects/dtrace/src/cddl/usr.bin/ctfmerge/Makefile#9 edit

Differences ...

==== //depot/projects/dtrace/src/cddl/usr.bin/ctfconvert/Makefile#12 (text+ko) ====

@@ -41,7 +41,7 @@
 		-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
 		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
 
-LDADD+=		-lctf -ldwarf -lelf -lz -lpthread
+LDADD+=		-lctf -ldwarf -lelf -lz -lthr
 
 .PATH:		${.CURDIR}
 .PATH:		${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common

==== //depot/projects/dtrace/src/cddl/usr.bin/ctfmerge/Makefile#9 (text+ko) ====

@@ -38,7 +38,7 @@
 		-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
 		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common
 
-LDADD+=		-lctf -ldwarf -lelf -lz -lpthread
+LDADD+=		-lctf -ldwarf -lelf -lz -lthr
 
 .PATH:		${.CURDIR}/../ctfconvert
 .PATH:		${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common


More information about the p4-projects mailing list