php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58809 Compiling bug
Submitted: 2009-08-14 09:43 UTC Modified: 2010-11-03 19:28 UTC
From: todd at wings900 dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.10 OS: Centos 5
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: todd at wings900 dot com
New email:
PHP Version: OS:

 

 [2009-08-14 09:43 UTC] todd at wings900 dot com
Description:
------------
When compiling the following comes up; possible issue with zend portion of code?

 cc -I. -I/home/todd/builds/APC-3.1.3p1 -DPHP_ATOM_INC -I/home/todd/builds/APC-3.1.3p1/include -I/home/todd/builds/APC-3.1.3p1/main -I/home/todd/builds/APC-3.1.3p1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/todd/builds/APC-3.1.3p1/apc_cache.c  -fPIC -DPIC -o .libs/apc_cache.o
/home/todd/builds/APC-3.1.3p1/apc_cache.c: In function '_apc_cache_insert':
/home/todd/builds/APC-3.1.3p1/apc_cache.c:370: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/home/todd/builds/APC-3.1.3p1/apc_cache.c: In function 'apc_cache_user_insert':
/home/todd/builds/APC-3.1.3p1/apc_cache.c:449: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/home/todd/builds/APC-3.1.3p1/apc_cache.c: In function 'apc_cache_find_slot':
/home/todd/builds/APC-3.1.3p1/apc_cache.c:542: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/home/todd/builds/APC-3.1.3p1/apc_cache.c: In function 'apc_cache_delete':
/home/todd/builds/APC-3.1.3p1/apc_cache.c:710: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type
/home/todd/builds/APC-3.1.3p1/apc_cache.c: In function 'apc_cache_is_last_key':
/home/todd/builds/APC-3.1.3p1/apc_cache.c:1145: warning: passing argument 1 of 'zend_inline_hash_func' discards qualifiers from pointer target type



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-18 17:37 UTC] kalle@php.net
These are just compilation warnings, do you get the same with 5.3+? I recently fixed all the Windows ones but without being able test for warnings on other systems.
 [2009-08-18 20:55 UTC] todd at wings900 dot com
I'm not able to compile with 5.3 yet (we use WHM and cpanel and they are waiting for 5.3.1). The make test fails all tests and if I add it to php.ini apache nose-dives immediately. I've tried previous versions of APC and I seem to get similar failures. hmm
 [2009-08-25 17:47 UTC] gopalv82 at yahoo dot com
Any more info on the apache nose-dive?
 [2009-08-26 09:58 UTC] todd at wings900 dot com
Nothing right now, i can't get it to compile and not crash apache at all. I can give you access if you want to take a look, or let me know if you'd like a core w/bt or pstack
 [2009-10-07 16:27 UTC] kalle@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC