From owner-freebsd-current@FreeBSD.ORG Wed Jun 23 13:07:10 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 BC5B5106564A for ; Wed, 23 Jun 2010 13:07:10 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 508708FC25 for ; Wed, 23 Jun 2010 13:07:09 +0000 (UTC) Received: by fxm7 with SMTP id 7so3536169fxm.13 for ; Wed, 23 Jun 2010 06:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=/1xI3wbbnAP088NQZTcSL+ZdaWOk7mFXEWcDB4DQ9Kc=; b=HGXkykFfCJWastnI7Vec7pHdxxWF8OKBrvDAf8YoRVP3oulPYWt2CpYdhWyk2ppXvt csMIzFzjvt+MqKLgYr7YpyRsV2NfN4HOmDLDI0ZEN9+NLma+2zrEiAgTd/DUyANP4F3d gr8Rwg+69WzSt8dIJlIcTOdaSFKgZ4pMnvrFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vpy4ujg8VvGof30/34wNk0aBZRp4jX1mNYt3zfrKtc0HLx9BiTbqCwUX0w6wmCWNul FO86jkx/yK2xYYS4DrbgjbflTIr9Wqjpdf6TxkZ7bojqq1KkVTa+TsVqCVdYoOzp0t0j ZPZqY6Y7EK+uYkzs9slk5EaSNdxjzOZ960XW8= MIME-Version: 1.0 Received: by 10.223.101.81 with SMTP id b17mr7578755fao.17.1277296735470; Wed, 23 Jun 2010 05:38:55 -0700 (PDT) Received: by 10.223.117.204 with HTTP; Wed, 23 Jun 2010 05:38:55 -0700 (PDT) Date: Wed, 23 Jun 2010 14:38:55 +0200 Message-ID: From: Cristiano Deana To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Problem with buildworld with CLANG 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: Wed, 23 Jun 2010 13:07:10 -0000 # uname -a FreeBSD test 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Tue Jun 22 16:04:38 CEST 2010 root@test:/usr/obj/usr/src/sys/GENERIC amd64 # cat /etc/src.conf #NO_WERROR= #WERROR= CC= clang CXX= clang++ sources from this morning, i got this error: clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/sys/stack_protector.c /usr/src/lib/libc/sys/stack_protector.c:88:19: error: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_CRIT, msg); ^~~ 1 error generated. *** Error code 1 -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/