Date: Wed, 23 Jun 2010 14:15:48 +0100 From: Tom Evans <tevans.uk@googlemail.com> To: Cristiano Deana <cristiano.deana@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Problem with buildworld with CLANG Message-ID: <AANLkTilYvE3iRKsdkFfz-efWOiaED9kr-FZvS7SqXDU4@mail.gmail.com> In-Reply-To: <AANLkTimW-hx2y53BdEBb1g7VMNx2Lcns-nSZYNfo7TY6@mail.gmail.com> References: <AANLkTimW-hx2y53BdEBb1g7VMNx2Lcns-nSZYNfo7TY6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 23, 2010 at 1:38 PM, Cristiano Deana <cristiano.deana@gmail.com> wrote: > # uname -a > FreeBSD test 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Tue Jun 22 16:04:38 > CEST 2010 =C2=A0 =C2=A0 root@test:/usr/obj/usr/src/sys/GENERIC =C2=A0amd6= 4 > > # cat /etc/src.conf > #NO_WERROR=3D > #WERROR=3D > CC=3D =C2=A0 =C2=A0 clang > CXX=3D =C2=A0 =C2=A0clang++ > > sources from this morning, i got this error: > > clang -O2 -pipe =C2=A0-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=3Dgnu99 =C2=A0-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] > =C2=A0 =C2=A0 =C2=A0 =C2=A0syslog(LOG_CRIT, msg); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 ^~~ > 1 error generated. > *** Error code 1 > Top of the '[TESTING] Clang..' email: > hi, > > ClangBSD was updated to LLVM/clang revision 104832 which is what we aim t= o import > into HEAD in roughly a week. We would like the initial import to be as pa= inless > as possible and therefore we ask you to test ClangBSD to assure that the = revision > we are importing does not have some really embarassing bugs. > > How to do it (on i386 and amd64): > > 0) install fresh devel/llvm-devel port > > 1) svn co http://svn.freebsd.org/base/projects/clangbsd src > > 2) echo NO_WERROR=3D >> /etc/src.conf ; echo WERROR=3D >> /etc/src.conf > > 3) cd src && make buildworld So uncomment your src.conf lines that are incompatible. Cheers Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilYvE3iRKsdkFfz-efWOiaED9kr-FZvS7SqXDU4>