Bug #74507 [Com]: 74265 still not fixed -- isfinite failure remains
Edit report at https://bugs.php.net/bug.php?id=74507&edit=1
ID: 74507
Comment by: letshi at 163 dot com
Reported by: franklinwhale at hotmail dot com
Summary: 74265 still not fixed -- isfinite failure remains
Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: RHEL 5
PHP Version: 7.1.4
Block user comment: N
Private report: N
New Comment:
Supplementary explanation
I try in autoconf-2.59-12 m4-1.4.5-3 and autoconf-2.65 m4-1.4.13 build PHP7.1.4
Still failed
Previous Comments:
------------------------------------------------------------------------
[2017-05-03 03:50:23] letshi at 163 dot com
building 7.1.4 ZTS on CentOS5.5
gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)
ldd (GNU libc) 2.5
ext/standard/.libs/var.o: In function `php_var_export_ex':
/PHP/32/source/php7.1.4_zts/ext/standard/var.c:473: undefined reference to `isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/PHP/32/source/php7.1.4_zts/Zend/zend_operators.h:117: undefined reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/PHP/32/source/php7.1.4_zts/Zend/zend_operators.c:2789: undefined reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/PHP/32/source/php7.1.4_zts/Zend/zend_operators.h:117: undefined reference to `isfinite'
/PHP/32/source/php7.1.4_zts/Zend/zend_operators.h:117: undefined reference to `isfinite'
Zend/.libs/zend_operators.o:/PHP/32/source/php7.1.4_zts/Zend/zend_operators.h:117: more undefined
references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
[2017-04-28 12:31:29] requinix@php.net
@deferraz said s/he had problems with a custom autoconf/m4 and that the build worked with the stock
versions. Is that the case for you too?
------------------------------------------------------------------------
[2017-04-28 12:10:21] franklinwhale at hotmail dot com
Description:
------------
PHP 7.1.4 included https://github.com/php/php-src/commit/2e8308260513015dbf80ff0239eca79dbca4f36e,
which tries to fix #74265. Unfortunately, the fix appears not working.
The following error is displayed:
ext/standard/.libs/var.o: In function `php_var_export_ex':
/home/oosadm/php-7.1.4/ext/standard/var.c:473: undefined reference to `isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/home/oosadm/php-7.1.4/Zend/zend_operators.h:117: undefined reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/home/oosadm/php-7.1.4/Zend/zend_operators.c:2789: undefined reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/home/oosadm/php-7.1.4/Zend/zend_operators.h:117: undefined reference to `isfinite'
/home/oosadm/php-7.1.4/Zend/zend_operators.h:117: undefined reference to `isfinite'
Zend/.libs/zend_operators.o:/home/oosadm/php-7.1.4/Zend/zend_operators.h:117: more undefined
references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Another user has made a similar comment in #74265. As #74265 has been closed, that comment has not
received any reply. I therefore create this new report.
I have also run ./buildconf --force before ./configure.
The configure command is ./configure --prefix=/usr/local/php --enable-fpm --disable-short-tags
--with-pcre-regex=/usr/local/pcre --with-openssl=shared,/usr/local/ssl --with-mysqli
--with-pdo-mysql --with-oci8=shared,instantclient --enable-soap
Expected result:
----------------
Build successful
Actual result:
--------------
Build failed
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74507&edit=1
Thread (6 messages)