Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2006 04:34:27 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109211 for review
Message-ID:  <200611040434.kA44YR1H085723@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109211

Change 109211 by jb@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



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