From: Martin v. Löwis Date: Mon, 18 Sep 2006 06:00:52 +0000 (+0000) Subject: Discourage using GCC 4.2 for Python. X-Git-Tag: v2.5~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=885d8e773765206670c91f3eb92b6c117ba70de8;p=python Discourage using GCC 4.2 for Python. --- diff --git a/README b/README index d5152ba6ce..70e4d231d8 100644 --- a/README +++ b/README @@ -276,6 +276,14 @@ on these platforms without the special directions mentioned here, submit a documentation bug report to SourceForge (see Bug Reports above) so we can remove them!) +GCC 4.2: There is a known incompatibility between Python and GCC, + where GCC 4.2 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 + recommend. It is likely that this problem will be resolved + in future Python releases. + 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 module and add a line to sitecustomize.py which makes it the