4.0.3RC1 reports on *BSD, Alpha and ia64: ok overall
| From: | Olivier Cahagne | Date: | Tue, 03 Oct 2000 00:05:51 +0000 |
| Subject: | 4.0.3RC1 reports on *BSD, Alpha and ia64: ok overall | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-1390@lists.php.net to get a copy of this message | ||
Here're reports with 4.0.3RC1 (from php.net/~andi) on various platforms:
there seems to be non showstopper bugs for me with the default setup.
The only problem would be build broken on Digital Unix when enabling
sockets.
- 1st platform.
NetBSD 1.3.3 x86
gcc 2.7.2.2, default BSD make, no bison.
./configure --with-config-file-path=/space/www/etc/httpd/conf/php_cgi \
--enable-discard-path \
--with-gd=/u/guest/www/mbin/i386-NetBSD \
--with-mysql \
--with-dbase \
--with-zlib=/u/guest/www/mbin/i386-NetBSD \
--with-mcrypt=/u/guest/www/mbin/i386-NetBSD \
--with-mhash=/u/guest/www/mbin/i386-NetBSD \
--enable-ftp \
--enable-trans-sid \
--enable-sockets \
--enable-track-vars \
--enable-inline-optimization \
--with-jpeg-dir=/u/guest/www/mbin/i386-NetBSD \
--with-imap=/u/guest/www/mbin/i386-NetBSD/lib
make gives:
sockets.c: In function `php_if_recvmsg':
sockets.c:1608: warning: assignment from incompatible pointer type
sockets.c:1614: warning: assignment from incompatible pointer type
sockets.c:1667: warning: assignment from incompatible pointer type
sockets.c:1673: warning: assignment from incompatible pointer type
sockets.c: In function `php_if_sendmsg':
sockets.c:1746: warning: assignment from incompatible pointer type
sockets.c:1770: warning: assignment from incompatible pointer type
/home/sas/src/php4/ext/standard/url_scanner_ex.
re:19: warning: Header file /home/sas/src/php4/ext/standard/php.h
exists, but is not readable
/home/sas/src/php4/ext/standard/url_scanner_ex.re:31: warning: Header
file /home/sas/src/php4/ext/standard/php_globals.h exists, but is not
readable
/home/sas/src/php4/ext/standard/url_scanner_ex.re:33: warning: Header
file /home/sas/src/php4/ext/standard/basic_functions.h exists, but is
not readable
/home/sas/src/php4/ext/standard/url_scanner_ex.re:39: warning: Header
file /home/sas/src/php4/ext/standard/php_smart_str.h exists, but is not
readable
The latter problem is due to #line directives not supported by gcc
2.7.2.2 when parser is not regenerated by bison (not installed on this
machine), Jani Taskinen had corrected many of them earlier but these
just appeared very recently (less than 3 days ago I think).
The #line are in (at least):
ext/standard/url_scanner_ex.c
A little problem though: there're still wrong path with --enable-discard-mode and phpinfo() images, see: http://www.epita.fr:8000/~cahagn_o/php/info.php
see bugs: #4081 #6115
I still have problems with cURL support with this old gcc and without bison... bug #6464.
I'll try to have a better look at it:
when linking:
parsedate.c:619: Definition of symbol `_gd_parse' (multiply defined)
getdate.y:617: Definition of symbol `_gd_parse' (multiply defined)
These come from cURL lib, I guess it conflicts with PHP's code.
This only happens on this platform, I thin it's related with the lack of bison (regenerating files) and the old gcc.
However, it runs fine with many users; I didn't try much dBase code though.
- 2nd platform.
NetBSD 1.4.2 x86
egcs 2.91.60, default BSD make
./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql
make gives:
dbug.c:323: warning: deprecated symbol "unix" is no longer predefined
- 3rd platform.
OpenBSD 2.6 x86
gcc 2.95.1, default BSD make
./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql
make gives:
sockets.c: In function `php_if_recvmsg':
sockets.c:1608: warning: assignment from incompatible pointer type
sockets.c:1614: warning: assignment from incompatible pointer type
sockets.c:1667: warning: assignment from incompatible pointer type
sockets.c:1673: warning: assignment from incompatible pointer type
sockets.c: In function `php_if_sendmsg':
sockets.c:1746: warning: assignment from incompatible pointer type
sockets.c:1770: warning: assignment from incompatible pointer type
- 4th platform.
Linux 2.4.0-test8-SMP ia64
gcc 2.9-ia64-000216-final, make 3.79.1.
./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql
make gives:
php_ini.c: In function `php_ini_refresh_caches':
php_ini.c:161: warning: cast to pointer from integer of different size
php_mysql.c: In function `php_mysql_do_connect':
php_mysql.c:499: warning: cast from pointer to integer of different size
tsrm_virtual_cwd.c: In function `virtual_getcwd':
tsrm_virtual_cwd.c:251: warning: passing arg 1 of `virtual_getcwd_ex'
from incompatible pointer type
- 5th platform.
OSF1 V4.0 878 alpha
gcc 2.7.2.3, default make.
./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql
php_ini.c: In function `php_ini_refresh_caches':
php_ini.c:161: warning: cast to pointer from integer of different size
php_mysql.c: In function `php_mysql_do_connect':
php_mysql.c:499: warning: cast from pointer to integer of different size
sockets.c: In function `php_if_strerror':
sockets.c:961: warning: assignment makes pointer from integer without a cast
sockets.c: In function `php_if_recvmsg':
sockets.c:1608: warning: assignment from incompatible pointer type
sockets.c:1614: structure has no member named `msg_control'
sockets.c:1615: structure has no member named `msg_controllen'
sockets.c:1617: structure has no member named `msg_control'
sockets.c:1618: structure has no member named `msg_controllen'
sockets.c:1621: structure has no member named `msg_flags'
sockets.c:1627: structure has no member named `msg_control'
sockets.c:1640: structure has no member named `msg_controllen'
sockets.c:1641: structure has no member named `msg_flags'
sockets.c:1667: warning: assignment from incompatible pointer type
sockets.c:1673: structure has no member named `msg_control'
sockets.c:1674: structure has no member named `msg_controllen'
sockets.c:1676: structure has no member named `msg_control'
sockets.c:1677: structure has no member named `msg_controllen'
sockets.c:1680: structure has no member named `msg_flags'
sockets.c:1686: structure has no member named `msg_control'
sockets.c:1697: structure has no member named `msg_controllen'
sockets.c:1698: structure has no member named `msg_flags'
sockets.c: In function `php_if_sendmsg':
sockets.c:1746: warning: assignment from incompatible pointer type
sockets.c:1770: warning: assignment from incompatible pointer type
Stop
This is not so serious as sockets support is not enabled by default.
- 6th platform.
Linux 2.2.17, glibc 2.1.3 x86
egcs 2.91.66, make 3.78.1
./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql
no warnings, builds fine.
--
Olivier.Cahagne@epita.fr