From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 3 13:15:28 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 7B85B1065672; Thu, 3 Feb 2011 13:15:28 +0000 (UTC) Date: Thu, 3 Feb 2011 13:15:28 +0000 From: Alexander Best To: Anonymous Message-ID: <20110203131528.GA13597@freebsd.org> References: <20110106014046.GA324@freebsd.org> <20110202172010.GA17563@freebsd.org> <867hdijnkw.fsf@gmail.com> <20110203113701.GA97747@freebsd.org> <8639o5gth8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8639o5gth8.fsf@gmail.com> Cc: freebsd-hackers@freebsd.org, Sergey Kandaurov Subject: Re: broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2011 13:15:28 -0000 On Thu Feb 3 11, Anonymous wrote: > Alexander Best writes: > > > On Wed Feb 2 11, Anonymous wrote: > >> -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. > > > > could you point me to that gcc gplv3 fix? > > I can't reproduce the bug on /head anymore, e.g. unlike on 8.2-RC2. thanks for the link. neither can i reproduce the segfault. i've already found some broken include paths and fixed them. i'll post a patch to current@ in a few days when i'm done fixing the include paths for all archs (kernel & world). so in fact -Wmissing-include-dirs seems to work correctly in HEAD. cheers. alex > > http://docs.freebsd.org/cgi/mid.cgi?20081021054625.GA66977 -- a13x