NetBSD-Bugs archive

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

lib/43832: ssp causes common names to be defines



>Number:         43832
>Category:       lib
>Synopsis:       stack protector causes 'read' to be a #define
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 02 21:30:01 +0000 2010
>Originator:     Jonathan A. Kollasch
>Release:        NetBSD 5.1_RC1
>Organization:
>Environment:
System: NetBSD siwenna.kollasch.net 5.1_RC1 NetBSD 5.1_RC1 (SIWENNA) #29: Mon 
Aug 23 23:38:05 UTC 2010 
root%siwenna.kollasch.net@localhost:/local/siwenna/20100403/src/sys/arch/i386/compile/SIWENNA
 i386
Architecture: i386
Machine: i386
>Description:
Qemu can't be compiled with -fstack-protector (the default) because SSP
on NetBSD #defines read(2) in that case.   Qemu uses 'read' as a structure
element name.
>How-To-Repeat:
Build qemu git:
audio/audio.c:1166: error: 'struct audio_pcm_ops' has no member named 
'__read_alias
>Fix:
unknown



Home | Main Index | Thread Index | Old Index