php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13143 TSRM fails to build
Submitted: 2001-09-04 18:57 UTC Modified: 2001-11-17 22:58 UTC
From: richard dot begg at colesmyer dot com dot au Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2001-09-04 OS: HPUX 11.00 - gcc 3.0.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: richard dot begg at colesmyer dot com dot au
New email:
PHP Version: OS:

 

 [2001-09-04 18:57 UTC] richard dot begg at colesmyer dot com dot au
This problem is identical to that reported in bugid 12195, but still occurs on HPUX 11.00 compiled with gcc 3.0.1 even on the latest CVS code.

Configured with:
./configure --with-apxs=/opt/apache/bin/apxs

Build results in:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DHPUX11 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../TSRM  -g -O2  -c -o tsrm_virtual_cwd.lo `test -f tsrm_virtual_cwd.c || echo './'`tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:556: `mode_t' is promoted to `int' when passed through `...'
tsrm_virtual_cwd.c:556: (so you should pass `int' not `mode_t' to `va_arg')
make[1]: *** [tsrm_virtual_cwd.lo] Error 1
make[1]: Leaving directory `/CML/rts/build/php4/TSRM'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 10:40 UTC] sniper@php.net
This bug report shows that this was just ignored in precvious GCC versions. The gcc 3.0.x version will
produce an error.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2663&database=gcc

This has to be fixed.

--Jani

 [2001-11-17 22:58 UTC] sniper@php.net
Fixed in CVS (by Zeev)

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 21:01:30 2024 UTC