You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2004/09/08 16:50:31 UTC

cvs commit: httpd-2.0 README.platforms

trawick     2004/09/08 07:50:31

  Modified:    .        README.platforms
  Log:
  document a problem with AIX native compiler and Apache 2+,
  and describe how to avoid it
  
  PR:   30487
  
  Revision  Changes    Path
  1.10      +12 -0     httpd-2.0/README.platforms
  
  Index: README.platforms
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/README.platforms,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- README.platforms	12 Dec 2003 10:24:59 -0000	1.9
  +++ README.platforms	8 Sep 2004 14:50:31 -0000	1.10
  @@ -82,5 +82,17 @@
        cc -c +z cpprt0_stub.s
          - 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+.)