From owner-freebsd-current@FreeBSD.ORG Mon Dec 5 08:11:02 2005 Return-Path: X-Original-To: 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 45B2716A41F for ; Mon, 5 Dec 2005 08:11:02 +0000 (GMT) (envelope-from fli+freebsd-current@shapeshifter.se) Received: from mx1.h3q.net (manticore.shapeshifter.se [212.37.5.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE81943D5A for ; Mon, 5 Dec 2005 08:11:01 +0000 (GMT) (envelope-from fli+freebsd-current@shapeshifter.se) Received: from localhost (localhost [127.0.0.1]) by mx1.h3q.net (Postfix) with ESMTP id 042C01A9DD; Mon, 5 Dec 2005 09:10:59 +0100 (CET) Received: from mx1.h3q.net ([127.0.0.1]) by localhost (mx1.h3q.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19085-04; Mon, 5 Dec 2005 09:10:57 +0100 (CET) Received: from [192.168.0.94] (81-234-243-91-o926.tbon.telia.com [81.234.243.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.h3q.net (Postfix) with ESMTP id D0C221A9DC; Mon, 5 Dec 2005 09:10:57 +0100 (CET) Message-ID: <4393F60E.2040106@shapeshifter.se> Date: Mon, 05 Dec 2005 09:10:54 +0100 From: Fredrik Lindberg User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050928) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Travis Mikalson References: <43938F61.1050202@terranova.net> In-Reply-To: <43938F61.1050202@terranova.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at h3q.net Cc: current@freebsd.org Subject: Re: make.conf options you cannot use for building CURRENT 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: Mon, 05 Dec 2005 08:11:02 -0000 Travis Mikalson wrote: > Hi, > > I'm just mentioning make.conf options that you cannot currently use for > building CURRENT that work for RELENG_6. I'm using make.conf to avoid > building a lot of things I don't need in order to create a very > stripped-down basic base system. > > I hope this if of interest to somebody. > > NO_LIBPTHREAD=yes > > ===> usr.sbin/powerd (all) > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > /usr/src/usr.sbin/powerd/powerd.c > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -lpthread > -o powerd powerd.o -lutil > /usr/cfobj/usr/src/tmp/usr/bin/ld: cannot find -lpthread > *** Error code 1 > > Stop in /usr/src/usr.sbin/powerd. > *** Error code 1 > > Stop in /usr/src/usr.sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > I introduced powerd to pthreads so this is most likely my fault. I'll post a patch as soon as possible, unless somebody else comes up with a patch faster than me :) Fredrik Lindberg