www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Hammar <ehsn...@ehpt.com>
Subject os-hpux/4931: Compilation and runtime problems
Date Mon, 30 Aug 1999 13:56:20 GMT

>Number:         4931
>Category:       os-hpux
>Synopsis:       Compilation and runtime problems
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Mon Aug 30 11:10:01 PDT 1999
>Last-Modified:
>Originator:     ehsnils@ehpt.com
>Organization:
apache
>Release:        1.3.9
>Environment:
HP-UX 11.00 with ANSI-C compiler.
(part of 'swlist')
  HPUXEng32RT                   B.11.00        English HP-UX 32-bit Runtime Environment
  B3901BA                       B.11.00        HP C/ANSI C Developer's Bundle for HP-UX 11.00
(S800)
  XSWGR1100                     B.11.00.39     HP-UX Extension Pack, June 1998
  Y2K-1100                      B.11.00.B0315  HP-UX Core OS Year 2000 Patch Bundle
>Description:
Compilation is not possible under HP-UX 11.00 with the "-Aa" flag -
use the "-Ae" flag instead.

Binaries aren't possible to run on all HP-UX platforms without compiling
with the "+DAportable" flag.

The first problem is critical, since Apache wouldn't compile without this
change under HP-UX 11.00. (I didn't test it under 10.20)

The second is only critical under the circumstance that the binaries are
compiled on one server and installed on a different server with a different
CPU model.

>How-To-Repeat:

>Fix:
change CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
to CFLAGS="$CFLAGS -Ae +DAportable -D_HPUX_SOURCE"
in line 1376 in src/Configure (Apache 1.3.9)

Note: Fix will not work when using Gnu-C, but the earlier line with "-Aa"
isn't good with gcc either...
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]




Mime
View raw message