make.conf options you cannot use for building CURRENT

Fredrik Lindberg fli+freebsd-current at shapeshifter.se
Mon Dec 5 00:11:02 PST 2005


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


More information about the freebsd-current mailing list