From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 22:49:42 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E45A0106564A; Fri, 16 Apr 2010 22:49:42 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8994E8FC08; Fri, 16 Apr 2010 22:49:42 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so985813qwi.7 for ; Fri, 16 Apr 2010 15:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=USnVMgdr78ZzIqcFYw5B+UkhX3K0ycAWM/F3xzJ9d38=; b=uRY3LVE2zCFjYMwRs66IN9i8TUXdcKlJliczgl35WOly0chE+WQEv/mbiJ/MhEVLx0 ks3zrHPnpxBjKL8u6hw/Ccs0mDxMKVTGUByr/+ycAYuhK1Pb2OYqrcm6mvUPEQd7AsSX MRNH+xiGBFijHTM+pM8YzkcpvJQr5xEQZ6A8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=j89FVki39pQj91pMcIvf1Cb24lIxuFDzE1cIf+jhyBygXxTsGyR4cAWCdeEmoSLTD7 H1Nty7ImSlKAf/tDn6artyFAacOsD5RyJIyjDjmHBNfI4KHE+wm37dIRS9PZpRzLiA23 KzsIyZAKTm90vWc9M6RbLDQdGDXUsTrTrVBvE= MIME-Version: 1.0 Received: by 10.229.28.85 with HTTP; Fri, 16 Apr 2010 15:49:41 -0700 (PDT) In-Reply-To: References: <20100416160818.GA69460@freebsd.org> <20100416222721.GC33847@rink.nu> Date: Fri, 16 Apr 2010 15:49:41 -0700 Received: by 10.229.227.83 with SMTP id iz19mr863231qcb.44.1271458181771; Fri, 16 Apr 2010 15:49:41 -0700 (PDT) Message-ID: From: Garrett Cooper To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: [CFT]: ClangBSD is selfhosting, we need testers now X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 22:49:43 -0000 On Fri, Apr 16, 2010 at 3:45 PM, Ivan Voras 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