This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ths
Recipients doko, ths
Date 2008-09-28.17:23:46
SpamBayes Score 9.6165344e-08
Marked as misclassified No
Message-id <1222622636.83.0.91904211749.issue3990@psf.upfronthosting.co.za>
In-reply-to
Content
The linux2 platform definition is incorrect for several architectures,
namely Alpha, PA-RISC(hppa), MIPS and SPARC. On these architectures,
Linux inherited some of the socket and dlfcn constants from the
proprietary OS provided by the hardware manufacturer, which means they
differ from the usual Linux constants.

The appended patch against current SVN adresses this by introducing
linux2-alpha, linux2-hppa, linux2-mips and linux2-sparc platforms.

I changed only the incorrect constants on each platform and kept
everything else the same.

Bugs in the Debian Bugtracker related to this problem are:
http://bugs.debian.org/499132
http://bugs.debian.org/500383
http://bugs.debian.org/500417
http://bugs.debian.org/500418

The first two bug reports carry patches for Python 2.5 and Python 2.4,
respectively.

The patch probably fixes also spurious python segfaults seen on the
Debian Autobuilders for MIPS, since the RTLD_* constants for dlopen were
incorrect. (That said, those segfaults are hard to reproduce, so this is
a somewhat speculative conclusion.)
History
Date User Action Args
2008-09-28 17:23:57thssetrecipients: + ths, doko
2008-09-28 17:23:56thssetmessageid: <1222622636.83.0.91904211749.issue3990@psf.upfronthosting.co.za>
2008-09-28 17:23:55thslinkissue3990 messages
2008-09-28 17:23:54thscreate