From:             jbarwick at sentienthealth dot com
Operating system: SuSE 9.1 (amd64)
PHP version:      4.3.8
PHP Bug Type:     Compile Failure
Bug description:  Incompatible pointer type in standard/exec.c

Description:
------------
OUCH!  Now I'm concerned....VERY concerned...how many changes will we have
to do...really getting difficult!

zend_rsrc_list_entry is defined in zend_globals.h as a structure where
zend_rsrc_list_entry->ptr is defined "of course" as a pointer ...in the 64
bit world, let's call that 64 bits...

in exec.c, we refer to a HANDLE (for win32..ok 32 bit) or for UNIX a
(pid_t)...which is, I suspec, an OS specific integer (process id)...

now, zend objects...do we just need to store 32 bits in
zend_rsrc_list_entry->ptr?  Or do we need to store a memory address
pointer?  If so, is this going to be compatible with a 32 bit process
identifier...or, is there just something wrong with my configure script
and pid_t is suppose to be 64 bit!....

Didn't remember getting all these errors with 5.0 compile...any chance 5.0
compile will be able to use sablotron?  (Yes, the readme file says it's in
the external functions library...but when I checked, wasn't on the web
site for download...no trace of it...)...

I guess there's no 64 bit environment for me!!!

On line 610 and line 1029 of

ext/standard/exec.c....how to we get around this 32 bit/64 bit problem?

Reproduce code:
---------------
compile exec.c

Expected result:
----------------
no problem with 64 bit environments

Actual result:
--------------
serious problem with 64 bit environments

-- 
Edit bug report at http://bugs.php.net/?id=30560&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30560&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30560&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30560&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30560&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30560&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30560&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30560&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30560&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30560&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30560&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30560&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30560&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30560&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30560&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30560&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30560&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30560&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30560&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30560&r=mysqlcfg

Reply via email to