Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2016 09:10:45 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Renato Botelho <garga@FreeBSD.org>
Cc:        "Simon J. Gerraty" <sjg@juniper.net>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 1st build stops when WITH_AUTO_OBJ=yes
Message-ID:  <A0381CD6-643F-4C81-B5D9-37D0A0957E60@FreeBSD.org>
In-Reply-To: <38A0CDBA-83FC-4BA2-AD58-796DD01BAA42@FreeBSD.org>
References:  <5EB53098-E80D-44D9-AE6A-CAF43EF9C46B@FreeBSD.org> <61054.1478728124@kaos.jnpr.net> <38A0CDBA-83FC-4BA2-AD58-796DD01BAA42@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

I have pending patches to commit that make this feature usable with buildworld. Until then I don't expect the two to work well together.

Regards,
Bryan Drewery

> On Nov 10, 2016, at 02:23, Renato Botelho <garga@FreeBSD.org> wrote:
> 
>> On 9 Nov 2016, at 19:48, Simon J. Gerraty <sjg@juniper.net> wrote:
>> 
>> Renato Botelho <garga@freebsd.org> wrote:
>> 
>>> I decided to give a try to WITH_AUTO_OBJ and noted the first time I ran buildworld it failed with following message:
>>> 
>>> /u/src # ❯❯❯ make WITH_AUTO_OBJ=yes buildworld
>>> [Creating objdir obj...]
>>> make: "/usr/src/share/mk/auto.obj.mk" line 61: could not use obj: .OBJDIR=/usr/src/obj
>>> 
>>> After that I noted it created a directory /usr/src/obj and if I call
>>> it again it runs without issues. If I remove /usr/src/obj directory
>>> error happens again
>> 
>> Interesting; what .OBJDIR do you end up with for say bin/cat ?
> 
> 
> In this case it fails the first time pointing to expected .OBJDIR, then second time I run it builds
> 
> /u/s/b/cat # ❯❯❯ make -DWITH_AUTO_OBJ
> [Creating objdir obj...]
> make: "/usr/src/share/mk/auto.obj.mk" line 61: could not use obj: .OBJDIR=/usr/obj/usr/src/bin/cat
> /u/s/b/cat # ❯❯❯ make -DWITH_AUTO_OBJ                                                                                                                                              ⏎
> Building /usr/obj/usr/src/bin/cat/cat.o
> Building /usr/obj/usr/src/bin/cat/cat.full
> Building /usr/obj/usr/src/bin/cat/cat.debug
> Building /usr/obj/usr/src/bin/cat/cat
> --
> Renato Botelho
> 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A0381CD6-643F-4C81-B5D9-37D0A0957E60>