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
The NetBSD Foundation, Inc.
System: NetBSD 7.99.36 NetBSD 7.99.36 (MODULAR) #543: Mon Aug 22 16:54:45 CEST 2016 sparc64
Architecture: sparc64
Machine: sparc64

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  -
/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 
/usr/xsrc/external/mit/libxshmfence/dist/src/xshmfence_semaphore.c:152:1: error:
 stack protector not protecting local variables: variable length buffer [-Werror
 xshmfence_init(int fd)
cc1: all warnings being treated as errors



Home | Main Index | Thread Index | Old Index