Current-Users archive

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

Build failure with libpthread



Hi.

I've been trying to compile current release for 3-4 days getting libpthread related errors:

#   compile  libpthread/pthread.o
/usr/tools/bin/i386--netbsdelf-gcc -O2 -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 -std=gnu99 -Werror -march=i686 -O3 -Wno-cast-qual -I/usr/src/lib/libpthread/arch/i386 -I/usr/src/lib/libpthread -I/usr/obj/lib/libpthread -D_LIBC -D__LIBPTHREAD_SOURCE__ -I/usr/src/sys -I/usr/src/lib/libpthread/../libc -nostdinc -isystem /usr/obj/destdir.i386/usr/include -c -Wno-stack-protector /usr/src/lib/libpthread/pthread.c -o pthread.o
cc1: warnings being treated as errors
/usr/src/lib/libpthread/pthread.c: In function 'pthread__init':
/usr/src/lib/libpthread/pthread.c:1196: warning: 't' may be used uninitialized in this function

*** Failed target:  pthread.o
*** Failed command: /usr/tools/bin/i386--netbsdelf-gcc -O2 -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 -std=gnu99 -Werror -march=i686 -O3 -Wno-cast-qual -I/usr/src/lib/libpthread/arch/i386 -I/usr/src/lib/libpthread -I/usr/obj/lib/libpthread -D_LIBC -D__LIBPTHREAD_SOURCE__ -I/usr/src/sys -I/usr/src/lib/libpthread/../libc -nostdinc -isystem /usr/obj/destdir.i386/usr/include -c -Wno-stack-protector /usr/src/lib/libpthread/pthread.c -o pthread.o
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libpthread

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/libpthread; /usr/tools/bin/nbmake realall
*** Error code 1




Home | Main Index | Thread Index | Old Index