tech-userlevel archive

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

Re: diff: libpthread build fails with USE_SSP



On Sun, Apr 10, 2011 at 10:12:39AM +0300, Vladimir Kirillov wrote:
> Hi!
> 
> I get these warnings during compilation:
> 
> #   compile  libpthread/pthread_cancelstub.o
> /home/proger/net/src/obj/tooldir.NetBSD-5.99.48-amd64/bin/x86_64--netbsd-gcc 
> -O2 -g -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/home/proger/net/src/lib/libpthread/arch/x86_64 
> -I/home/proger/net/src/lib/libpthread 
> -I/home/proger/net/src/lib/libpthread/obj -D_LIBC -D__LIBPTHREAD_SOURCE__ 
> -I/src/sys -I/home/proger/net/src/lib/libpthread/../libc  -D_FORTIFY_SOURCE=2 
> -nostdinc -isystem /home/proger/net/src/obj/destdir.amd64/usr/include -c    
> /home/proger/net/src/lib/libpthread/pthread_cancelstub.c -o 
> pthread_cancelstub.o
> cc1: warnings being treated as errors
> /home/proger/net/src/lib/libpthread/pthread_cancelstub.c:479: warning: no 
> previous prototype for '_cancelstub_readlink'
> /home/proger/net/src/lib/libpthread/pthread_cancelstub.c:486: warning: no 
> previous prototype for '_cancelstub_getcwd'
> /home/proger/net/src/lib/libpthread/pthread_cancelstub.c:495: warning: no 
> previous prototype for '_cancelstub_read'

FWIW, the "USE_FORT=yes" build has been broken for over a month now due
pthread(3) and rump(3);
        
        http://mail-index.netbsd.org/current-users/2011/03/13/msg015999.html

- Jukka.


Home | Main Index | Thread Index | Old Index