Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 20:21:44 -0800
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, George Abdelmalik <george@fork.id.au>, FreeBSD Current <freebsd-current@freebsd.org>, <sjg@juniper.net>
Subject:   Re: buildworld failed
Message-ID:  <13362.1644380504@kaos.jnpr.net>
In-Reply-To: <20220209004318.GC31429@spindle.one-eyed-alien.net>
References:  <0UZyB4mlM9jAgpWD6iLfODtbpKIM4xVsFg11wqD5CvHnEQNQrXX4Dx6ywa0fW2ZNmzk0XC5Os_gCkYm-knr8JmCokn5xI_onhf5A4mUn2mI=@protonmail.com> <a2412886-99c6-8942-dd77-d02253390a64@fork.id.au> <CANCZdfqZqHfY1irmsTn5Omkz-2Uqo8wFgwuZAPqPmOb9VCdG1Q@mail.gmail.com> <9955.1644342979@kaos.jnpr.net> <20220208183031.GB31429@spindle.one-eyed-alien.net> <38435.1644360747@kaos.jnpr.net> <20220209004318.GC31429@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis <brooks@freebsd.org> wrote:

> On Tue, Feb 08, 2022 at 02:52:27PM -0800, Simon J. Gerraty wrote:
> > Brooks Davis <brooks@freebsd.org> wrote:
> > > 
> > > This would be fine, but should not be necessicary. The sys subdir should
> > > be created by AUTOOBJ.
> > 
> > .OBJDIR should be (and is), not .OBJDIR/sys
> 
> We've had support for relative paths in SRCS since 2015
> (cee9be4971a56f2a748eb78df97b72e42fe860ab).  If this is broken if some
> supported modes we should fix it or remove it (but I belive clang/llvm
> depends on it).

That logic appears to be in bsd.obj.mk as part of the obj target
it depends on SRCS containing paths with /

That target does not get run if one is using auto.obj.mk

--sjg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13362.1644380504>