Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2005 09:10:54 +0100
From:      Fredrik Lindberg <fli+freebsd-current@shapeshifter.se>
To:        Travis Mikalson <bofh@terranova.net>
Cc:        current@freebsd.org
Subject:   Re: make.conf options you cannot use for building CURRENT
Message-ID:  <4393F60E.2040106@shapeshifter.se>
In-Reply-To: <43938F61.1050202@terranova.net>
References:  <43938F61.1050202@terranova.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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