Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 15:49:41 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [CFT]: ClangBSD is selfhosting, we need testers now
Message-ID:  <r2k7d6fde3d1004161549jc6f6b54hb4ee55353329891b@mail.gmail.com>
In-Reply-To: <hqapaj$kp3$1@dough.gmane.org>
References:  <20100416160818.GA69460@freebsd.org> <hqalia$8nc$1@dough.gmane.org> <hqant9$ge7$1@dough.gmane.org> <20100416222721.GC33847@rink.nu> <hqapaj$kp3$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 16, 2010 at 3:45 PM, Ivan Voras <ivoras@freebsd.org> wrote:
> Rink Springer wrote:
>>
>> On Sat, Apr 17, 2010 at 12:21:29AM +0200, Ivan Voras wrote:
>>>>
>>>> /mt/clangbsd/lib/libc/sys/stack_protector.c:88:19: error: format strin=
g
>>>> is not a string literal (potentially insecure) [-Wformat-security]
>>>> =A0 =A0 =A0 =A0syslog(LOG_CRIT, msg);
>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^~~
>>>> 1 diagnostic generated.
>>>> *** Error code 1
>>>> 2 errors
>>>> *** Error code 2
>>>> 1 error
>>>
>>> Actually the above error message was garbled by -j#, here's a more
>>> informative one:
>>
>> Maybe this is why you have to place NO_WERROR and WERROR into make.conf
>> before building?
>
> Ahh yes, I thought something was nagging me about the order of setting
> make.conf vars and buildworld in Roman's message :)

    Is there a -Wno-security with clang?
Thanks,
-Garrett



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