[Python-checkins] r51906 - python/branches/release25-maint/README
martin.v.loewis
python-checkins at python.org
Mon Sep 18 08:23:07 CEST 2006
Author: martin.v.loewis
Date: Mon Sep 18 08:23:06 2006
New Revision: 51906
Modified:
python/branches/release25-maint/README
Log:
Mention that GCC 4.1 is also affected, and that
adding -fwrapv helps.
Modified: python/branches/release25-maint/README
==============================================================================
--- python/branches/release25-maint/README (original)
+++ python/branches/release25-maint/README Mon Sep 18 08:23:06 2006
@@ -276,13 +276,16 @@
submit a documentation bug report to SourceForge (see Bug Reports
above) so we can remove them!)
+GCC 4.1,
GCC 4.2: There is a known incompatibility between Python and GCC,
- where GCC 4.2 takes an interpretation of C different from
+ where GCC 4.1 takes an interpretation of C different from
prior GCC releases, in an area where C has undefined behaviour
(namely, integer arithmetic involving -sys.maxint-1).
- As a consequence, compiling Python with GCC 4.2 is not
+ As a consequence, compiling Python with GCC 4.1/4.2 is not
recommend. It is likely that this problem will be resolved
- in future Python releases.
+ in future Python releases. As a work-around, it seems that
+ adding -fwrapv to the compiler option restores the earlier
+ GCC behaviour.
Unix platforms: If your vendor still ships (and you still use) Berkeley DB
1.85 you will need to edit Modules/Setup to build the bsddb185
More information about the Python-checkins
mailing list