Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build failure (pthread)
On Thu, Mar 03, 2011 at 11:53:30AM +0200, Jukka Ruohonen wrote:
> On Thu, Mar 03, 2011 at 11:45:18AM +0200, Jukka Ruohonen wrote:
> > While trying to go from 5.0 to the latest -current on i386, the following
> > stops the build:
> >
> > /usr/src/lib/libpthread/pthread_cancelstub.c:479: warning: no previous
> > prototype for '_cancelstub_readlink'
> >
> > FWIW, this is with USE_SSP=yes.
>
> It was not "USE_SSP=yes", but "USE_FORT=yes" that breaks the build.
The error is still present (5.99.46 -> 5.99.47, amd64, USE_FORT=yes):
# compile libpthread/pthread_cancelstub.o
/usr/tools/bin/x86_64--netbsd-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 -Wsign-compare
# - - - -std=gnu99 -Werror -fstack-protector -Wstack-protector --param
# - - - - ssp-buffer-size=1 -Wno-cast-qual
# - - - - -I/usr/src/lib/libpthread/arch/x86_64 -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
# - - - - - - - -D_FORTIFY_SOURCE=2 -nostdinc -isystem
# - - - - - - - - /usr/obj/destdir.amd64/usr/include -c
# - - - - - - - - / /usr/src/lib/libpthread/pthread_cancelstub.c -o
# - - - - - - - - / / pthread_cancelstub.o
cc1: warnings being treated as errors
/usr/src/lib/libpthread/pthread_cancelstub.c:479: warning: no previous
/ prototype for '_cancelstub_readlink'
/usr/src/lib/libpthread/pthread_cancelstub.c:486: warning: no previous
/ prototype for '_cancelstub_getcwd'
/usr/src/lib/libpthread/pthread_cancelstub.c:495: warning: no previous
/ prototype for '_cancelstub_read'
*** Failed target: pthread_cancelstub.o
*** Failed command: /usr/tools/bin/x86_64--netbsd-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 -Wsign-compare -std=gnu99 -Werror
*** - - - - -fstack-protector -Wstack-protector --param ssp-buffer-size=1
*** - - - - - -Wno-cast-qual -I/usr/src/lib/libpthread/arch/x86_64
*** - - - - - - -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 -D_FORTIFY_SOURCE=2
*** - - - - - - - - - -nostdinc -isystem /usr/obj/destdir.amd64/usr/include
*** - - - - - - - - - - -c /usr/src/lib/libpthread/pthread_cancelstub.c -o
*** - - - - - - - - - - - pthread_cancelstub.o
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libpthread
- Jukka.
Home |
Main Index |
Thread Index |
Old Index