From: deferraz at terra dot com dot br
Operating system: CentOS-5
PHP version: 7.0.17
Package: Compile Failure
Bug Type: Bug
Bug description:Build problems after 7.0.17 release: undefined reference to `isfinite'
Description:
------------
After the release 7.0.17 I cant build this release because on
compilation time it cant find any reference to isfinite:
ext/standard/.libs/var.o: In function `php_var_export_ex':
/usr/src/redhat/BUILD/php-7.0.17/ext/standard/var.c:469: undefined
reference to `isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.c:2774: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o:/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117:
more undefined references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php7] Error 1
make: *** Waiting for unfinished jobs....
ext/standard/.libs/var.o: In function `php_var_export_ex':
/usr/src/redhat/BUILD/php-7.0.17/ext/standard/var.c:469: undefined
reference to `isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.c:2774: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o:/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117:
more undefined references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1
ext/standard/.libs/var.o: In function `php_var_export_ex':
/usr/src/redhat/BUILD/php-7.0.17/ext/standard/var.c:469: undefined
reference to `isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.c:2774: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117: undefined
reference to `isfinite'
Zend/.libs/zend_operators.o:/usr/src/redhat/BUILD/php-7.0.17/Zend/zend_operators.h:117:
more undefined references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/phpdbg/phpdbg] Error 1
I tried to build against a pristine vm to see if any package that we use
created this problem but on a fresh vm the problem persists
I think that this problem is related to commit
https://github.com/php/php-src/commit/714d825b62e719447686da6efe3b4063c2f25749--
Edit bug report at https://bugs.php.net/bug.php?id=74265&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74265&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74265&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74265&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74265&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74265&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74265&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74265&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74265&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74265&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74265&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74265&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74265&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74265&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74265&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74265&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74265&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74265&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74265&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74265&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74265&r=mysqlcfg