NetBSD-Bugs archive

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

bin/57125: build fails for USE_FORT USE_SSP



>Number:         57125
>Category:       bin
>Synopsis:       build fails for USE_FORT USE_SSP
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 21 09:30:00 +0000 2022
>Originator:     Michael van Elst
>Release:        NetBSD 9.3_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD gossam 9.3_STABLE NetBSD 9.3_STABLE (GENERIC) #39: Sun Nov 6 21:32:57 CET 2022 mlelstv@gossam:/home/netbsd9/obj.amd64/home/netbsd9/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Building -current or netbsd-10-BETA with USE_FORT=yes USE_SSP=yes fails with
e.g.:

/home/netbsd10/src/usr.sbin/tprof/tprof_top.c:188:1: error: stack protector not 
protecting local variables: variable length buffer [-Werror=stack-protector]
  188 | lim_printf(int *lim, const char *fmt, ...)

The recently added function uses alloca() for a temporary buffer.
>How-To-Repeat:
Build release for netbsd-10 or -current with USE_FORT=yes USE_SSP_yes.
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index