Subject: bin/35697: X11 build fails with SSP
To: None <,>
From: None <>
List: netbsd-bugs
Date: 02/18/2007 22:15:14
>Number:         35697
>Category:       bin
>Synopsis:       Built of Xt fails if USE_SSP=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 18 22:15:14 +0000 2007
>Originator:     Scott Ellis
>Release:        NetBSD 4.99.9
System: NetBSD intrepid 4.99.9 NetBSD 4.99.9 (INTREPID.AMD64) #1: Sat Feb 17 11:24:39 PST 2007 scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.AMD64 amd64
Architecture: x86_64
Machine: amd64
Attempting to build X11 (MKX11=yes) with SSP enabled (USE_SSP=yes) results in:

#   compile  Xt/Convert.o
/data/scotte/netbsd_build/amd64/tooldir/bin/x86_64--netbsd-gcc -O2 -pipe  -Werro
r -march=k8 -fno-strict-aliasing -fstack-protector -Wstack-protector --param ssp
-I/data/scotte/netbsd_build/amd64/destdir/usr/X11R6/include -D__AMD64__   -nostd
inc -isystem /data/scotte/netbsd_build/amd64/destdir/usr/include -c    /usr/xsrc
/xfree/xc/lib/Xt/Convert.c -o Convert.o
cc1: warnings being treated as errors
/usr/xsrc/xfree/xc/lib/Xt/Convert.c: In function '_XtConvert':
/usr/xsrc/xfree/xc/lib/Xt/Convert.c:872: warning: not protecting local variables
: variable length buffer

Enable USE_SSP=yes and MKX11=yes, and attempt to build using