[Python-Dev] sendmsg/recvmsg on Mac OS X

Antoine Pitrou solipsis at pitrou.net
Wed Aug 24 20:50:47 CEST 2011


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?

Regards

Antoine.




More information about the Python-Dev mailing list