Date: Sat, 17 Apr 2010 00:21:29 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: [CFT]: ClangBSD is selfhosting, we need testers now Message-ID: <hqant9$ge7$1@dough.gmane.org> In-Reply-To: <hqalia$8nc$1@dough.gmane.org> References: <20100416160818.GA69460@freebsd.org> <hqalia$8nc$1@dough.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote: > Roman Divacky wrote: > >> We kindly ask you to setup ClangBSD chroot and/or use clang compiled >> kernel and use it as you would normally use FreeBSD. Please report back > > I have a buildworld error here: > > clang -isystem /usr/obj/mt/clangbsd/tmp/usr/include/clang/1.5 -isystem > /usr/obj/mt/clangbsd/tmp/usr/include -B/usr/obj/mt/clangbsd/tmp/usr/lib/ > -L/usr/obj/mt/clangbsd/tmp/usr/lib/ -fpic -DPIC -O2 -pipe -mtune=generic > -I/mt/clangbsd/lib/libc/include -I/mt/clangbsd/lib/libc/../../include > -I/mt/clangbsd/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE > -I/mt/clangbsd/lib/libc/../../contrib/gdtoa -DINET6 > -I/usr/obj/mt/clangbsd/lib/libc -I/mt/clangbsd/lib/libc/resolv > -D_ACL_PRIVATE -DPOSIX_MISTAKE > -I/mt/clangbsd/lib/libc/../../contrib/tzcode/stdtime > -I/mt/clangbsd/lib/libc/stdtime -I/mt/clangbsd/lib/libc/locale > -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/mt/clangbsd/lib/libc/rpc -DYP > -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector > -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c /mt/clangbsd/lib/libc/sys/__error.c -o __error.So > /mt/clangbsd/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 diagnostic generated. > *** Error code 1 > /mt/clangbsd/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 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: ===> lib/libc (obj,depend,all,install) clang -isystem /usr/obj/mt/clangbsd/tmp/usr/include/clang/1.5 -isystem /usr/obj/mt/clangbsd/tmp/usr/include -B/usr/obj/mt/clangbsd/tmp/usr/lib/ -L/usr/obj/mt/clangbsd/tmp/usr/lib/ -O2 -pipe -mtune=generic -I/mt/clangbsd/lib/libc/include -I/mt/clangbsd/lib/libc/../../include -I/mt/clangbsd/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE -I/mt/clangbsd/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/mt/clangbsd/lib/libc -I/mt/clangbsd/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/mt/clangbsd/lib/libc/../../contrib/tzcode/stdtime -I/mt/clangbsd/lib/libc/stdtime -I/mt/clangbsd/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/mt/clangbsd/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /mt/clangbsd/lib/libc/sys/stack_protector.c /mt/clangbsd/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 diagnostic generated. *** Error code 1 Stop in /mt/clangbsd/lib/libc. *** Error code 1 It looks like one of the first steps in building libc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hqant9$ge7$1>