[Python-Dev] sendmsg/recvmsg on Mac OS X
Ned Deily
nad at acm.org
Wed Aug 24 22:18:20 CEST 2011
In article <20110824205047.6be49525 at pitrou.net>,
Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Wed, 24 Aug 2011 11:37:20 -0700
> Ned Deily <nad at acm.org> wrote:
> > In article <20110824184927.2697b0af at pitrou.net>,
> > Antoine Pitrou <solipsis at pitrou.net> wrote:
> > > On Wed, 24 Aug 2011 15:31:50 +0200
> > > Charles-François Natali <neologix at free.fr> wrote:
> > > > > The buildbots are complaining about some of tests for the new
> > > > > socket.sendmsg/recvmsg added by issue #6560 for *nix platforms that
> > > > > provide CMSG_LEN.
> > > >
> > > > Looks like kernel bugs:
> > > > http://developer.apple.com/library/mac/#qa/qa1541/_index.html
> > > >
> > > > """
> > > > Yes. Mac OS X 10.5 fixes a number of kernel bugs related to descriptor
> > > > passing
> > > > [...]
> > > > Avoid passing two or more descriptors back-to-back.
> > > > """
> > >
> > > But Snow Leopard, where these failures occur, is OS X 10.6.
> >
> > But chances are the build is using the default 10.4 ABI. Adding
> > MACOSX_DEPLOYMENT_TARGET=10.6 as an env variable to ./configure may fix
> > it.
>
> Does the ABI affect kernel bugs?
If it's more of a "libc" sort of bug (i.e. somewhere below the app
layer), it could. But, unfortunately, that doesn't seem to be the case
here.
--
Ned Deily,
nad at acm.org
More information about the Python-Dev
mailing list