Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure of current 6.99



On 05/04/12 17:40, Joerg Sonnenberger wrote:
On Fri, May 04, 2012 at 05:02:58PM +0200, Riccardo Mottola wrote:
Hi, perhaps using -Werror is a bit excessive?
Are you setting custom flags? Because there is a -02 (as in zero) in
there... Also, -ffast-math is going to break strtod and other things.

Joerg
I fixed the wrong optim. flag and removed fastmath, but the warning&error persists:

#   compile  libc/citrus_lookup.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -O2 -fexpensive-optimizations -march=pentium-m -finline-functions -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/src/../obj/destdir.i386 -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/i386/string -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -DNO_FENV_H -I/usr/src/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -c /usr/src/lib/libc/citrus/citrus_lookup.c -o citrus_lookup.o
cc1: warnings being treated as errors
/usr/src/lib/libc/citrus/citrus_lookup.c: In function '_citrus_lookup_simple': /usr/src/lib/libc/citrus/citrus_lookup.c:337:25: error: 'cl' may be used uninitialized in this function


Thank you,

Riccardo


Home | Main Index | Thread Index | Old Index