Problem with buildworld with CLANG

From: Cristiano Deana <cristiano.deana_at_gmail.com>
Date: Wed, 23 Jun 2010 14:38:55 +0200
# uname -a
FreeBSD test 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Tue Jun 22 16:04:38
CEST 2010     root_at_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/
Received on Wed Jun 23 2010 - 11:07:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC