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>
index | next in thread | previous in thread | raw e-mail
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 BEs.
>>>>
>>>> ...
>>>>
>>>>> CC=clang
>>>>> CXX=clang++
>>>>> CPP=clang-cpp
>>>
>>>> You need to remove these lines. They shouldn’t have been set 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 related
>>> changes should not be relevant.
>>>
>>
>> Regarding including /etc/make.conf, something is inconsistent with
>> buildworld vs subdir make.
>
> Correction: I have STRIP= 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.
>
> When building in rescue/rescue:
>
> OBJDIR/rescue.mk:
> STRIP? strip
> ...
> ${STRIP} rescue
>
> 1: subdir make
> src.conf: STRIP=
> rescue/rescue% make all
> -> make -f OBJDIR/rescue.mk
>
> STRIP= is not passed down into rescue.mk, resulting in 'strip rescue'.
>
> 2. subdir make STRIP env override
> rescue/rescue% make all STRIP=
>
> STRIP= is passed down resulting in ' rescue'.
>
> 3: buildworld
> STRIP= from src.conf is passed down, resulting in ' rescue'.
>
>>
>> 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.
--
Regards,
Bryan Drewery
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55B8012A.30206>
