Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 33350 invoked from network); 8 Sep 2004 14:56:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 14:56:02 -0000 Received: (qmail 76553 invoked by uid 500); 8 Sep 2004 14:55:54 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 76502 invoked by uid 500); 8 Sep 2004 14:55:53 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 76395 invoked by uid 500); 8 Sep 2004 14:55:52 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 76387 invoked by uid 99); 8 Sep 2004 14:55:52 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 08 Sep 2004 07:55:52 -0700 Received: (qmail 33119 invoked by uid 1121); 8 Sep 2004 14:55:50 -0000 Date: 8 Sep 2004 14:55:50 -0000 Message-ID: <20040908145550.33117.qmail@minotaur.apache.org> From: trawick@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0 README.platforms X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N trawick 2004/09/08 07:55:50 Modified: . Tag: APACHE_2_0_BRANCH README.platforms Log: document a problem with AIX native compiler and Apache 2+, and describe how to avoid it PR: 30487 Revision Changes Path No revision No revision 1.5.2.2 +12 -0 httpd-2.0/README.platforms Index: README.platforms =================================================================== RCS file: /home/cvs/httpd-2.0/README.platforms,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -u -r1.5.2.1 -r1.5.2.2 --- README.platforms 30 Jan 2003 22:42:33 -0000 1.5.2.1 +++ README.platforms 8 Sep 2004 14:55:50 -0000 1.5.2.2 @@ -77,4 +77,16 @@ - OR - gcc -c -fPIC cpprt0_stub.s +================ + AIX, using the vendor C compiler with optimization: + There is an issue with compiling server/core.c with optimization enabled + which has been seen with C for AIX 5.0.2.3 and above. (5.0.2.0, 5.0.2.1, + and 5.0.2.2 have an additional problem with Apache 2.0.x, so either upgrade + the compiler or don't use optimization in order to avoid it.) + cc_r works fine with -O2 but xlc_r does not. In order to use xlc_r with + -O2, apply the patch at + + http://www.apache.org/dist/httpd/patches/apply_to_2.0.49/aix_xlc_optimization.patch + + (That patch works with many recent levels of Apache 2+.)