[Python-Dev] sendmsg/recvmsg on Mac OS X
Ned Deily
nad at acm.org
Wed Aug 24 20:37:20 CEST 2011
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. There is an open issue to change configure to use better defaults
for this. (I'm right in the middle of reconfiguring my development
systems so I can't test it myself immediately but I'll report back
shortly.)
--
Ned Deily,
nad at acm.org
More information about the Python-Dev
mailing list