Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 17:14:25 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Idar Tollefsen <idart@performancedesign.no>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: [OBORONA-SPAM]  Re: [OBORONA-SPAM]  Re: a problem withcompiling kernel
Message-ID:  <20050512001425.GA70095@xor.obsecurity.org>
In-Reply-To: <4282939F.6010504@performancedesign.no>
References:  <E1DVmZx-000BJ2-00.alexsoldatov-mail-ru@mx2.mail.ru> <4281CA42.6010600@performancedesign.no> <20050511091645.GA25843@xor.obsecurity.org> <4281CF7B.1040501@performancedesign.no> <20050511182745.GA82089@xor.obsecurity.org> <4282939F.6010504@performancedesign.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 12, 2005 at 01:22:07AM +0200, Idar Tollefsen wrote:
> Kris Kennaway wrote:
> >On Wed, May 11, 2005 at 11:25:15AM +0200, Idar Tollefsen wrote:
> >
> >>Kris Kennaway wrote:
> >>
> >>>>>-boundary=2 -ffreestanding -Werror  ../../../net/if_gif.c
> >>>>
> >>>>..and -Werror is in effect:
> >>>>"-Werror
> >>>>Treat warnings as errors; abort compilation after any warning."
> >>>>
> >>>>As I said, try setting
> >>>>NO_WERROR=      yes
> >>>>in make.conf.
> >>>
> >>>That's the brainless and probably wrong approach :) More intelligent
> >>>is to wonder why he's seeing this warning when no-one else is: see my
> >>>previous response.
> >>
> >>Agreed :)
> >>
> >>However, I seem to recall having had the exact same problem somewhere in 
> >>the gif code on a 4.x version (some time ago), where simply disabling 
> >>-Werror was the solution. And yes, I did have INET support in there ;)
> >
> >
> >-Werror is not enabled on 4.x, so it must have again been something else.
> 
> Yes and no. It was 4.x, but not the gif code. It was OpenSSL.
> And, as a matter of fact, it was you who closed it:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=54684
> 
> I hadn't changed any settings prior to that, and it was that
> particular problem that made me dig up NO_WERROR.

Right, that fell under my other category of "you did something to the
source yourself to break it", namely: -Wstrict-prototypes is not
enabled on that code by default, so when you turned it on and found
that it didn't compile, you should not have been surprised :-)

Kris 



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