httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37840] New: - 2.2.0 does not build with VAC/VACPP V6 on AIX 5.2
Date Thu, 08 Dec 2005 13:19:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37840>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37840

           Summary: 2.2.0 does not build with VAC/VACPP V6 on AIX 5.2
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: pao@darkheim.freeserve.co.uk


There are several programming errors in the 2.2.0 code that prevent this from
building on AIX 5.2 with the IBM native Visual Age C/C++ compilers (V6+).

On a sidenote, the duplication of multiple configure points take forever to run.

Details:

AIX oslevel -r:  5200-05
vac.C:           6.0.0.11
vacpp.cmp.core:  6.0.0.12

Patches that fix these defects:

*** apr_dbd.c   Thu Aug 11 15:06:26 2005
--- apr_dbd.c.new       Wed Dec  7 12:17:37 2005
***************
*** 160,166 ****
  {
      int ret = driver->start_transaction(pool, handle, trans);
      if (*trans) {
!         apr_pool_cleanup_register(pool, *trans, (void*)driver->end_transaction,
                                    apr_pool_cleanup_null);
      }
      return ret;
--- 160,166 ----
  {
      int ret = driver->start_transaction(pool, handle, trans);
      if (*trans) {
!         apr_pool_cleanup_register(pool, *trans, driver->end_transaction,
                                    apr_pool_cleanup_null);
      }
      return ret;
***************
*** 169,175 ****
                                           apr_pool_t *pool,
                                           apr_dbd_transaction_t *trans)
  {
!     apr_pool_cleanup_kill(pool, trans, (void*)driver->end_transaction);
      return driver->end_transaction(trans);
  }

--- 169,175 ----
                                           apr_pool_t *pool,
                                           apr_dbd_transaction_t *trans)
  {
!     apr_pool_cleanup_kill(pool, trans, driver->end_transaction);
      return driver->end_transaction(trans);
  }

*** apr_dbd_internal.h  Mon Aug 22 01:24:11 2005
--- apr_dbd_internal.h.new      Wed Dec  7 12:16:38 2005
***************
*** 97,103 ****
       *  @param transaction - the transaction.
       *  @return 0 for success or error code
       */
!     int (*end_transaction)(apr_dbd_transaction_t *trans);

      /** query: execute an SQL query that doesn't return a result set
       *
--- 97,103 ----
       *  @param transaction - the transaction.
       *  @return 0 for success or error code
       */
!     int (*end_transaction)(void *trans);

      /** query: execute an SQL query that doesn't return a result set
       *
*** bio.h       Tue May 17 01:08:27 2005
--- bio.h.new   Wed Dec  7 12:38:09 2005
***************
*** 676,682 ****

  /*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/

! #ifndef __GNUC__
  #define __attribute__(x)
  #endif
  int BIO_printf(BIO *bio, const char *format, ...)
--- 676,682 ----

  /*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/

! #ifndef __attribute__
  #define __attribute__(x)
  #endif
  int BIO_printf(BIO *bio, const char *format, ...)
*** httpd.h     Thu Sep 29 21:44:53 2005
--- httpd.h.new Wed Dec  7 12:24:16 2005
***************
*** 1074,1080 ****
  typedef enum  {
      CONN_STATE_CHECK_REQUEST_LINE_READABLE,
      CONN_STATE_READ_REQUEST_LINE,
!     CONN_STATE_LINGER,
  } conn_state_e;

  /**
--- 1074,1080 ----
  typedef enum  {
      CONN_STATE_CHECK_REQUEST_LINE_READABLE,
      CONN_STATE_READ_REQUEST_LINE,
!     CONN_STATE_LINGER
  } conn_state_e;

  /**
*** sockets.c   Fri Sep  9 09:21:17 2005
--- sockets.c.new       Wed Dec  7 12:05:15 2005
***************
*** 422,428 ****
      return APR_SUCCESS;
  }

! APR_POOL_IMPLEMENT_ACCESSOR(socket);

  APR_IMPLEMENT_INHERIT_SET(socket, inherit, pool, socket_cleanup)

--- 422,428 ----
      return APR_SUCCESS;
  }

! APR_POOL_IMPLEMENT_ACCESSOR(socket)

  APR_IMPLEMENT_INHERIT_SET(socket, inherit, pool, socket_cleanup)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message