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



The following reply was made to PR lib/43832; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
netbsd-bugs%NetBSD.org@localhost,
        tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: lib/43832: ssp causes common names to be defines
Date: Fri, 3 Sep 2010 18:02:31 +0900

 > >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