broken INCLUDE in sys/conf/kern.pre.mk for opensolaris code?

Alexander Best arundel at freebsd.org
Thu Feb 3 13:15:28 UTC 2011


On Thu Feb  3 11, Anonymous wrote:
> Alexander Best <arundel at freebsd.org> 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


More information about the freebsd-hackers mailing list