Date: Tue, 28 Jul 2015 15:24:42 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: "Simon J. Gerraty" <sjg@juniper.net>, Garrett Cooper <yaneurabeya@gmail.com> Cc: FreeBSD current <freebsd-current@freebsd.org>, Warner Losh <imp@FreeBSD.org> Subject: Re: amd64 base/head r284673 fails to build on amd64 base/head r284639, pilot error? Message-ID: <55B8012A.30206@FreeBSD.org> In-Reply-To: <55B7FB1D.2010008@FreeBSD.org> References: <alpine.BSF.2.20.1506211155290.69928@mail.fig.ol.no> <65E0AFBE-0E73-42C9-A140-4AC617500E73@gmail.com> <8737.1434922152@chaos> <55B7F36A.4070201@FreeBSD.org> <55B7FB1D.2010008@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/28/15 2:58 PM, Bryan Drewery wrote: > On 7/28/15 2:26 PM, Bryan Drewery wrote: >> On 6/21/15 2:29 PM, Simon J. Gerraty wrote: >>> Garrett Cooper <yaneurabeya@gmail.com> wrote: >>>>> Am I the only one who fails to build recent base/head (r284673) on >>>>> pretty recent base/head (r284639)? This is on amd64 with ZFS and BE= s. >>>> >>>> ... >>>> >>>>> CC=3Dclang >>>>> CXX=3Dclang++ >>>>> CPP=3Dclang-cpp >>> >>>> You need to remove these lines. They shouldn=E2=80=99t have been se= t before or after the commits from projects/bmake . >>> >>> Note: both the grn's specified above are than r284598 which put the >>> inlcude of make.conf back to its original spot, so the meta mode rela= ted >>> changes should not be relevant. >>> >> >> Regarding including /etc/make.conf, something is inconsistent with >> buildworld vs subdir make. >=20 > Correction: I have STRIP=3D in /etc/src.conf. The inclusion of it seems > inconsistent between buildworld and subdir make. Note that after my fix > in r285986 it is now named STRIPBIN. >=20 > When building in rescue/rescue: >=20 > OBJDIR/rescue.mk: > STRIP? strip > ... > ${STRIP} rescue >=20 > 1: subdir make > src.conf: STRIP=3D > rescue/rescue% make all > -> make -f OBJDIR/rescue.mk >=20 > STRIP=3D is not passed down into rescue.mk, resulting in 'strip rescue= '. >=20 > 2. subdir make STRIP env override > rescue/rescue% make all STRIP=3D >=20 > STRIP=3D is passed down resulting in ' rescue'. >=20 > 3: buildworld > STRIP=3D from src.conf is passed down, resulting in ' rescue'. >=20 >> >> Please see >> https://lists.freebsd.org/pipermail/svn-src-all/2015-July/107910.html >> I think the problem here is the use of -m for SUB_MAKE in /Makefile. Specifying -m share/mk causes all of the issues I've seen (expected including of /etc/src.conf), while not using -m does not include /etc/src.conf even though the build is being done in a src dir. --=20 Regards, Bryan Drewery
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55B8012A.30206>