Re: make.conf options you cannot use for building CURRENT

From: Fredrik Lindberg <fli+freebsd-current_at_shapeshifter.se>
Date: Mon, 05 Dec 2005 09:10:54 +0100
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
Received on Mon Dec 05 2005 - 07:11:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC