Current-Users archive

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

Re: Build failure of current 6.99



In article <4FA3EFA2.8090803%libero.it@localhost>,
Riccardo Mottola  <riccardo.mottola%libero.it@localhost> wrote:
>Hi, perhaps using -Werror is a bit excessive?
>
>#   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   -02 
>-fexpensive-optimizations -march=pentium-m  -finline-functions 
>-ffast-math -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
>i486--netbsdelf-gcc: unrecognized option '-02'
>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
>
>*** Failed target:  citrus_lookup.o

Surely you mean -O2 not -02?

christos



Home | Main Index | Thread Index | Old Index