php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62829 stdint.h included on platform where HAVE_STDINT_H is not set
Submitted: 2012-08-15 16:06 UTC Modified: 2012-08-17 00:24 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: philipm at sybase dot com Assigned: rasmus (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.4.5 OS: Solaris 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philipm at sybase dot com
New email:
PHP Version: OS:

 

 [2012-08-15 16:06 UTC] philipm at sybase dot com
Description:
------------
Configuring on Solaris 9 results in HAVE_STDINT_H undefined in 
main/php_config.h.  Nevertheless, there is an include error when running make.  
Surrounding the offending line with #if HAVE_STDINT_H is sufficient to resolve 
the compile error.  This started in PHP 5.4.0 and is still an issue in 5.4.5.

/bin/bash /usr/local/php/php-5.4.1/libtool --silent --preserve-dup-deps --
mode=compile cc  -Isapi/cli/ -I/usr/local/php/php-5.4.1/sapi/cli/ -DPHP_ATOM_INC 
-I/usr/local/php/php-5.4.1/include -I/usr/local/php/php-5.4.1/main -
I/usr/local/php/php-5.4.1 -I/usr/local/php/php-5.4.1/ext/date/lib -
I/usr/local/php/php-5.4.1/ext/ereg/regex -I/usr/local/php/php-5.4.1/TSRM -
I/usr/local/php/php-5.4.1/Zend  -D_POSIX_PTHREAD_SEMANTICS  -m64 -xmemalign=8s  
-c /usr/local/php/php-5.4.1/sapi/cli/php_http_parser.c -o 
sapi/cli/php_http_parser.lo 
"/usr/local/php/php-5.4.1/sapi/cli/php_http_parser.h", line 35: cannot find 
include file: <stdint.h>
cc: acomp failed for /usr/local/php/php-5.4.1/sapi/cli/php_http_parser.c
make: *** [sapi/cli/php_http_parser.lo] Error 1


Test script:
---------------
./configure
make

Expected result:
----------------
If HAVE_STDINT_H is not set, then stdint.h should not be included.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-16 18:35 UTC] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2e1d31d123ea5f310719c6c3c51587834907b7bf
Log: - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
 [2012-08-17 00:00 UTC] Gillingham at bikezen dot net
Note that this bug still exists in 5.4.6 as well.
 [2012-08-17 00:24 UTC] rasmus@php.net
Yes, we know, the fix went in too late to be in 5.4.6. It will be in 5.4.7.
 [2012-08-17 00:24 UTC] rasmus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
 [2014-10-07 23:23 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=2e1d31d123ea5f310719c6c3c51587834907b7bf
Log: - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
 [2014-10-07 23:34 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=2e1d31d123ea5f310719c6c3c51587834907b7bf
Log: - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 20:02:31 2025 UTC