Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2011 21:30:55 +0300
From:      Anonymous <swell.k@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Sergey Kandaurov <pluknet@gmail.com>
Subject:   Re: broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code?
Message-ID:  <867hdijnkw.fsf@gmail.com>
In-Reply-To: <20110202172010.GA17563@freebsd.org> (Alexander Best's message of "Wed, 2 Feb 2011 17:20:10 %2B0000")
References:  <20110106014046.GA324@freebsd.org> <AANLkTimE74r7579p9pgBEAY__vod=N5=WfgkQ3RE8dzN@mail.gmail.com> <20110202172010.GA17563@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Best <arundel@freebsd.org> writes:

> On Wed Feb  2 11, Sergey Kandaurov wrote:
>> On 6 January 2011 04:40, Alexander Best <arundel@freebsd.org> wrote:
>> > hi there,
>> >
>> > while building target buildkernel with 'clang -v' i noticed a lot of these
>> > lines:
>> >
>> > ignoring nonexistent directory "/usr/subversion-src/sys/contrib/opensolaris/compat"
>> >
>> > i checked sys/conf/kern.pre.mk and there's a line refering to a non-existing
>> > directory:
>> >
>> > # ... and OpenSolaris
>> > INCLUDES+= -I$S/contrib/opensolaris/compat
>> 
>> Hi, I just removed that path in r218189.
>
> thanks a bunch. :)
>
> i might do a 'make universe' build at some point with clang -v in order to
> check, if there are more cases where non-existing include paths exist in the
> freebsd src.

-Wmissing-include-dirs (with -Werror) is there to catch such cases.
Try to add it to CWARNFLAGS and see if universe build passes.

Note, clang doesn't support it and it's broken in our gcc but there is a
simple fix, unfortunately, under gplv3.



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