From owner-freebsd-current@FreeBSD.ORG Wed Aug 2 14:10:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C81216A4DD for ; Wed, 2 Aug 2006 14:10:44 +0000 (UTC) (envelope-from bsdlists@gmx.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CBDF43D5E for ; Wed, 2 Aug 2006 14:10:43 +0000 (GMT) (envelope-from bsdlists@gmx.de) Received: (qmail 24252 invoked from network); 2 Aug 2006 14:10:41 -0000 Received: from unknown (HELO tobias) (369593@[213.54.220.235]) (envelope-sender ) by smtprelay06.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 2 Aug 2006 14:10:41 -0000 From: Tobias =?ISO-8859-1?Q?Gro=DFer?= To: freebsd-current@freebsd.org Content-Type: text/plain Date: Wed, 02 Aug 2006 16:05:24 +0200 Message-Id: <1154527524.93666.22.camel@tobias.home.web-wahnsinn.de> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: DTRACE build failure (/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lpthread) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 14:10:44 -0000 Hi, im trying to build an dtrace enabled FreeBSD current and use the source from: *default host=cvsup10.freebsd.org *default release=cvs *default delete use-rel-suffix p4-cvs-dtraced Details at: http://people.freebsd.org/~jb/dtrace/ Unfortunally I am not able to finish the build because it always breaks in /usr/src/cddl/usr.bin/ctfconvert with this ld-error: /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lpthread I was able to "solve" this problem by adding the following line to the Makefile: CFLAGS += -L/usr/obj/usr/src/lib/libpthread But now it hangs in ggatec: ===> sbin/ggate (all) ===> sbin/ggate/ggatec (all) cc -O2 -fno-strict-aliasing -pipe -DNO_MALLOC_EXTRAS -O -pipe -DLIBGEOM -I/usr/src/sbin/ggate/ggat ec/../shared -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-pr ototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -W shadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decl s -c /usr/src/sbin/ggate/ggatec/ggatec.c ctfconvert -L VERSION ggatec.o cc -O2 -fno-strict-aliasing -pipe -DNO_MALLOC_EXTRAS -O -pipe -DLIBGEOM -I/usr/src/sbin/ggate/ggat ec/../shared -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-pr ototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -W shadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decl s -c /usr/src/sbin/ggate/ggatec/../shared/ggate.c ctfconvert -L VERSION ggate.o cc -O2 -fno-strict-aliasing -pipe -DNO_MALLOC_EXTRAS -O -pipe -DLIBGEOM -I/usr/src/sbin/ggate/ggat ec/../shared -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-pr ototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -W shadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decl s -o ggatec ggatec.o ggate.o -lgeom -lsbuf -lbsdxml -lutil -lpthread /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lpthread *** Error code 1 Stop in /usr/src/sbin Is there something generally broken with my threading libraries? It doesn't seem to be an dtrace issue? Thanks for any hint to solve this problem. Tobias