Bug #50827 [Asn]: retcode != CS_END_RESULTS in exec_cmd()
| From: | mul at rentapacs dot de | Date: | Wed, 30 Jun 2010 12:37:45 +0000 |
| Subject: | Bug #50827 [Asn]: retcode != CS_END_RESULTS in exec_cmd() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151986@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=50827&edit=1
ID: 50827
User updated by: mul at rentapacs dot de
Reported by: mul at rentapacs dot de
Summary: retcode != CS_END_RESULTS in exec_cmd()
Status: Assigned
Type: Bug
Package: Sybase-ct (ctlib) related
Operating System: SLES11 x86_64
PHP Version: 5.2.12
Assigned To: thekid
New Comment:
Thanks for taking care of this!
Yes, all PHP versions were compiled on x86_64 from vanilla downloads. In
the end I did patch ext/sybase_ct/config.m4 according to:
http://bugs.php.net/bug.php?id=45357
and rebuilt ./configure.
After adding:
+ CFLAGS="${CFLAGS} -g -DSYB_LP64"
to ext/sybase_ct/config.m4, PHP-5.2.12 finally compiled OK.
Please let me know, if I can be of any further help.
Previous Comments:
------------------------------------------------------------------------
[2010-06-28 15:39:44] thekid@php.net
This looks like int / CS_INT messup (probably 64 bit library, 32 bit
header files). Did you compile all PPH versions yourself on the same
systems with the same setup?
------------------------------------------------------------------------
[2010-01-23 03:22:15] mul at rentapacs dot de
Description:
------------
Hi there,
last working PHP version for me on SLES11 x86_64 (ASE-15.0.3 xe) is
php5.2-200807031030 (5.2.7-dev). Have tried 5.2.9 and now 5.2.12 but
without success. Did some debugging and found out that retcode (-205) no
longer equals CS_END_RESULTS (-205) in exec_cmd(). A type cast
(int)retcode works as a fix in this location (l. 974), but then it bails
out somewhere else.
There isn't much difference in sybase_ct beween these versions, so I
suspect that the problem lies somewhere else.
Any hints are greatly appreciated!
TIA ... Michael
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=50827&edit=1