Subject: bin/35697: X11 build fails with SSP
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <scotte@warped.com>
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
>Organization:
>Environment:
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
>Description:
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
-buffer-size=1 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
-DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
-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
>How-To-Repeat:
Enable USE_SSP=yes and MKX11=yes, and attempt to build using build.sh
>Fix:
>Unformatted: