NetBSD-Bugs archive

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

Re: lib/43832: ssp causes common names to be defines



> >Synopsis:       stack protector causes 'read' to be a #define
 :
> audio/audio.c:1166: error: 'struct audio_pcm_ops' has no member named 
> '__read_alias

Not a real fix, but I have a set of files for qemu-0.13.0-rc0 on pkgsrc:
http://www.ceres.dti.ne.jp/tsutsui/netbsd/pkgsrc-emulators-qemu-0.13.0-rc0.tar.gz
that includes patches like:
> -    bytes = sw->hw->pcm_ops->read (sw, buf, size);
> +    bytes = (*sw->hw->pcm_ops->read)(sw, buf, size);

Of course it won't be acceptable by third parties and
we should have proper fix for __ssp_alias_func() in <ssp/unistd.h>.
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index