Bug #74507 [Com]: 74265 still not fixed -- isfinite failure remains

From: Date: Wed, 03 May 2017 03:50:23 +0000
Subject: Bug #74507 [Com]: 74265 still not fixed -- isfinite failure remains
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208920@lists.php.net to get a copy of this message
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:

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


Previous Comments:
------------------------------------------------------------------------
[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)

« previous php.bugs (#208920) next »