Bug #17257 Updated: Sort functions broken on 64bit platform
| From: | venaas@php.net | Date: | Fri, 21 Jun 2002 20:20:28 +0000 |
| Subject: | Bug #17257 Updated: Sort functions broken on 64bit platform | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11746@lists.php.net to get a copy of this message | ||
ID: 17257
Updated by: venaas@php.net
Reported By: mlong@mlong.org
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Compaq Tru64 5.1
PHP Version: 4.2.1
New Comment:
The sort problem might be due to a bug in zend_qsort.
If you want to test this without fixing the build, you
could try to replace zend_qsort() with qsort() in the
relevant places, or test with the new zend_qsort() (it
was changed and hopefully fixed May 10, v1.5).
Previous Comments:
------------------------------------------------------------------------
[2002-06-21 16:05:17] mlong@mlong.org
Ok I installed GNU bison.
I now get this error when doing a make on latest php:
cc -Imain/ -I/web/php4-200206210000/main/ -DPHP_ATOM_INC
-I/web/php4-2002062100
00/include -I/web/php4-200206210000/main -I/web/php4-200206210000
-I/web/php4-20
0206210000/Zend -I/web/php4-200206210000/ext/xml/expat
-I/web/php4-200206210000
/TSRM -g -c /web/php4-200206210000/main/memory_streams.c -o
main/memory_streams
.o && echo > main/memory_streams.lo
cc -Imain/ -I/web/php4-200206210000/main/ -DPHP_ATOM_INC
-I/web/php4-2002062100
00/include -I/web/php4-200206210000/main -I/web/php4-200206210000
-I/web/php4-20
0206210000/Zend -I/web/php4-200206210000/ext/xml/expat
-I/web/php4-200206210000
/TSRM -g -c /web/php4-200206210000/main/user_streams.c -o
main/user_streams.o
&& echo > main/user_streams.lo
Make: Don't know how to make /zend_language_parser.c. Stop.
------------------------------------------------------------------------
[2002-06-21 15:38:21] mfischer@php.net
Well, I think it won't bring us anywhere unless you try the GNU tools
and see if it works.
------------------------------------------------------------------------
[2002-06-21 15:34:42] mlong@mlong.org
[root@wtpdev php4-200206210000]# yacc --version
usage: yacc -svdlt [-b prefix] [-p sym_prefix] [-P path] [-N num] file
Gotta love Compaq. I am hesitant to do that because in the past PHP
has always compiled on native Tru64 machines without the need to
install any third party software. I know Tru64 market share is doing
down the drain but there are still a lot of machines out there.
------------------------------------------------------------------------
[2002-06-21 15:14:01] mfischer@php.net
It's
$ yacc --version
GNU Bison version 1.28
on linux here.
Maybe you should consider installing the GNU version of that tool for
use compiling PHP, I'm not aware of NON-GNU yacc's are even supported.
------------------------------------------------------------------------
[2002-06-21 15:01:51] mlong@mlong.org
I'm not sure how to find out the version. It's not GNU it's compaq's
which came with the OS. This particular system is running Compaq Tru64
UNIX V5.0A (Rev. 1094)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17257
--
Edit this bug report at http://bugs.php.net/?id=17257&edit=1