NetBSD-Bugs archive

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

xsrc/51441: libshmfence fails to build



>Number:         51441
>Category:       xsrc
>Synopsis:       libshmfence fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 23 20:30:00 +0000 2016
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.36
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 7.99.36 NetBSD 7.99.36 (MODULAR) #543: Mon Aug 22 16:54:45 CEST 2016 martin%thirdstage.duskware.de@localhost:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Building natively (with old xort server) and MKDEBUG=yes + MKDEBUGLIB=yes
fails on sparc64:

--- xshmfence_semaphore.po ---
/usr/tools/bin/sparc64--netbsd-gcc -O2 -pipe   -std=gnu99   -Werror   -fPIE -fst
ack-protector -Wstack-protector   --param ssp-buffer-size=1  -fno-strict-aliasin
g  --sysroot=/ -DSHMDIR=\"/var/shm\" -DHAVE_SEMAPHORE -DLIBXSHM_PAGESIZE=4096  -
D_FORTIFY_SOURCE=2 -DNO_ALLOCA -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I//usr
/X11R7/include -c -DGPROF -DPROF    -pg /usr/xsrc/external/mit/libxshmfence/dist
/src/xshmfence_semaphore.c -o xshmfence_semaphore.po
--- xshmfence_semaphore.pico ---
/usr/xsrc/external/mit/libxshmfence/dist/src/xshmfence_semaphore.c: In function 
'xshmfence_init':
/usr/xsrc/external/mit/libxshmfence/dist/src/xshmfence_semaphore.c:152:1: error:
 stack protector not protecting local variables: variable length buffer [-Werror
=stack-protector]
 xshmfence_init(int fd)
 ^
cc1: all warnings being treated as errors


>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index