make.conf options you cannot use for building CURRENT

From: Travis Mikalson <bofh_at_terranova.net>
Date: Sun, 04 Dec 2005 19:52:49 -0500
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.



NO_TOOLCHAIN=yes

===> gnu/lib/csu (depend,all,install)
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tconfig.h
echo '#ifndef GCC_TCONFIG_H'                    > tconfig.h
echo '#define GCC_TCONFIG_H'                    >> tconfig.h
echo '#ifdef IN_GCC'                            >> tconfig.h
echo '# include "ansidecl.h"'                   >> tconfig.h
echo '#endif'                                   >> tconfig.h
echo '#define USED_FOR_TARGET'                  >> tconfig.h
echo '#endif /* GCC_TCONFIG_H */'               >> tconfig.h
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tm.h
echo '#ifndef GCC_TM_H'                         > tm.h
echo '#define GCC_TM_H'                         >> tm.h
echo '#ifdef IN_GCC'                            >> tm.h
echo '#include "i386/i386.h"'                           >> tm.h
echo '#include "i386/unix.h"'                           >> tm.h
echo '#include "i386/att.h"'                            >> tm.h
echo '#include "dbxelf.h"'                              >> tm.h
echo '#include "elfos.h"'                               >> tm.h
echo '#include "freebsd-native.h"'                              >> tm.h
echo '#include "freebsd-spec.h"'                                >> tm.h
echo '#include "freebsd.h"'                             >> tm.h
echo '#include "i386/freebsd.h"'                                >> tm.h
echo '#include "defaults.h"'                            >> tm.h
echo '#if !defined GENERATOR_FILE && !defined USED_FOR_TARGET' >> tm.h
echo '# include "insn-constants.h"'             >> tm.h
echo '# include "insn-flags.h"'                 >> tm.h
echo '#endif'                                   >> tm.h
echo '#endif'                                   >> tm.h
echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h
echo '#endif /* GCC_TM_H */'                    >> tm.h
rm -f .depend
mkdep -f .depend -a -DCRT_BEGIN   -DIN_GCC -DHAVE_LD_EH_FRAME_HDR 
-I/usr/src/gnu/lib/csu/../../../contrib/gcc/config 
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. 
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools 
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
In file included from 
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:62:
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:44:20: stddef.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:45:19: float.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:76:20: stdarg.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:79:19: stdio.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:85:19: errno.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:92:20: string.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:93:20: stdlib.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:94:20: unistd.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:97:20: limits.h: No 
such file or directory
/usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:100:18: time.h: No 
such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/gnu/lib/csu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.



Last but not least, things that I use that work:
NO_ACPI=yes
NO_ATM=yes
NO_BLUETOOTH=yes
NO_CVS=yes
NO_CXX=yes
NO_DICT=yes
NO_FORTRAN=yes
NO_GAMES=yes
NO_GDB=yes
NO_GPIB=yes
NO_I4B=yes
NO_INET6=yes
NO_INFO=yes
NO_IPFILTER=yes
NO_KERBEROS=yes
NO_LIBC_R=yes
NO_LIBTHR=yes
NO_LPR=yes
NO_MAN=yes
NO_MODULES=yes
NO_NETCAT=yes
NO_NIS=yes
NO_OBJC=yes
NO_PROFILE=yes
NO_RCMDS=yes
NO_SENDMAIL=yes
NO_SHARE=yes
NO_SHAREDOCS=yes
NO_USB=yes
NO_NLS=yes

-T
-- 
TerraNovaNet Internet Services - Key Largo, FL
Voice: (305)453-4011 x101   Fax: (305)451-5991
http://www.terranova.net/
----------------------------------------------
Life's not fair, but the root password helps.
Received on Sun Dec 04 2005 - 23:55:05 UTC

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