[New-bugs-announce] [issue7416] select module compile errors breaks OS X multi-architecture builds

Ned Deily report at bugs.python.org
Tue Dec 1 10:03:10 CET 2009

New submission from Ned Deily <nad at acm.org>:

Release blocker

The changes for Issue7211 to support 64-bit kevent ident fields
in 64-bit builds cause compile errors on those OS X multi-arch
builds which include both 32-bit and 64-bit variants.

Problem is reproducible by this simplified build config:

   configure --with-universal-archs=intel --enable-universalsdk=/

To support C data types which vary between 32-bit and 64-bit builds,
Include/pymacconfig.h does some magic conditional type definitions
overriding the standard values derived from autoconf configure
processing.  Previously, SIZEOF_UINTPTR_T was not referenced in
the Python source; now that selectmodule.c uses it, it needs
to be added to pymacconfig.h.  The attached patch does that.

Although the select changes were only added to trunk (r76108)
and py3k (r76111), it would be better to apply this patch to the
maintenance branches as well in the event something else gets
added or backported to them.

assignee: ronaldoussoren
components: Library (Lib), Macintosh
files: issue-select-kevent-osx.txt
messages: 95851
nosy: ned.deily, pitrou, ronaldoussoren
severity: normal
status: open
title: select module compile errors breaks OS X multi-architecture builds
type: compile error
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file15425/issue-select-kevent-osx.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list