Date: Wed, 2 Jun 2010 17:23:19 +0200 From: Alexander Best <alexbestms@uni-muenster.de> To: freebsd-current@FreeBSD.org Subject: 'buildworld' not always pulling in /etc/src.conf Message-ID: <AANLkTikA4QPoT0e540nCSc0_LAAycIjAOQOGLB-e2BjY@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] hi there, i'm trying to run 'buildworld' on a fresh HEAD snapshot, but `make` is failing with this error: CC='gcc' mkdep -f .depend -a -DRESCUE /usr/src/usr.bin/id/id.c echo id: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g -DRESCUE -std=gnu99 -fstack-protector -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.bin/id/id.c (cd /usr/src/rescue/rescue/../../usr.sbin/chroot && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ depend && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ chroot.o) rm -f .depend CC='gcc' mkdep -f .depend -a -DRESCUE /usr/src/usr.sbin/chroot/chroot.c echo chroot: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g -DRESCUE -std=gnu99 -fstack-protector -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.sbin/chroot/chroot.c (cd /usr/src/rescue/rescue/../../usr.sbin/chown && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chown/ depend && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chown/ chown.o) rm -f .depend CC='gcc' mkdep -f .depend -a -DRESCUE /usr/src/usr.sbin/chown/chown.c echo chown: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g -DRESCUE -std=gnu99 -fstack-protector -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.sbin/chown/chown.c MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue /usr/obj/usr/src/make.amd64/make -f rescue.mk exe gcc44 -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -c rescue.c gcc44: not found *** Error code 127 Stop in /usr/obj/usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. it seems for some reason gcc44 gets chosen at some point as compiler instead of the base gcc. i DO have CC, CXX and CPP defined in my /etc/make.conf so that gcc44 gets used for ports and other stuff. HOWEVER /stc/src.conf also contains those three variables and they to the base version of gcc. of course commenting out those variables in /etc/make.conf fixes the problem, but if i'm not mistaken 'buildworld' should use /etc/src.conf at all times and thus should be aware that i want it to use base gcc. i've attached my make.conf and src.conf. cheers. -- Alexander Best [-- Attachment #2 --] # WORLD/KERNEL options KERNCONF = ARUNDEL MODULES_OVERRIDE = \ netgraph/netgraph \ netgraph/socket netgraph/bluetooth/bluetooth netgraph/bluetooth/hci \ netgraph/bluetooth/l2cap netgraph/bluetooth/socket netgraph/bluetooth/ubt \ linux linprocfs linsysfs tmpfs usb/quirk fdescfs usb/uhid sound/sound sound/driver/hda # GCC44 options CC = gcc44 CXX = g++44 CPP = cpp44 # compiler flags CPUTYPE = nocona COPTFLAGS = -O0 -pipe -fno-builtin -fno-strict-aliasing -funroll-loops CFLAGS = -O2 -pipe -fno-strict-aliasing -funroll-loops #-fno-builtin (don't use) CXXFLAGS += -fconserve-space # SENDMAIL options SENDMAIL_MC = /etc/mail/freebsd.mc SENDMAIL_SUBMIT_MC = /etc/mail/freebsd.submit.mc # PORTS options OVERRIDE_LINUX_BASE_PORT = f10 OVERRIDE_LINUX_NONBASE_PORTS = f10 DA4 = yes WITH_BSDEL = yes WITH_256_COLOR = yes # MISC options DOC_LANG = en_US.ISO8859-1 de_DE.ISO8859-15 # added by use.perl 2010-05-15 14:21:49 PERL_VERSION=5.10.1 [-- Attachment #3 --] # GCC options CC=gcc CXX=g++ CPP=cpp DEBUG_FLAGS = -g # BUILDWORLD options WITHOUT_ACCT=true WITHOUT_ACPI=true WITHOUT_AMD=true WITHOUT_APM=true WITHOUT_ATM=true WITHOUT_AUDIT=true WITHOUT_BIND=true WITHOUT_BSNMP=true WITHOUT_CALENDAR=true WITHOUT_CDDL=true WITHOUT_CTM=true WITHOUT_CVS=true WITHOUT_FLOPPY=true WITHOUT_FREEBSD_UPDATE=true WITHOUT_GAMES=true WITHOUT_GPIB=true WITHOUT_HTML=true WITH_IDEA=true WITHOUT_INET6=true WITHOUT_INFO=true WITHOUT_IPFILTER=true WITHOUT_IPFW=true WITHOUT_IPX=true WITHOUT_JAIL=true WITHOUT_LPR=true #WITHOUT_MAILWRAPPER=true WITHOUT_NDIS=true WITHOUT_NETCAT=true WITHOUT_NIS=true WITHOUT_NLS=true WITHOUT_NLS_CATALOGS=true WITHOUT_NS_CACHING=true WITHOUT_PAM_SUPPORT=true WITHOUT_PF=true WITHOUT_PROFILE=true WITHOUT_PPP=true WITHOUT_QUOTAS=true WITHOUT_RCMDS=true WITHOUT_RCS=true WITHOUT_ROUTED=true WITHOUT_SHAREDOCS=true WITHOUT_SYSINSTALL=true WITHOUT_TCSH=true WITHOUT_TELNET=true # CLANG options #NO_WERROR= #WERROR= # Don't forget this when using Jails! #NO_FSCHG=help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikA4QPoT0e540nCSc0_LAAycIjAOQOGLB-e2BjY>
