Bug #74265 [Com]: Build problems after 7.0.17 release: undefined reference to `isfinite'

From: Date: Fri, 17 Mar 2017 20:48:50 +0000
Subject: Bug #74265 [Com]: Build problems after 7.0.17 release: undefined reference to `isfinite'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207912@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74265&edit=1

 ID:                 74265
 Comment by:         deferraz at terra dot com dot br
 Reported by:        deferraz at terra dot com dot br
 Summary:            Build problems after 7.0.17 release: undefined
                     reference to `isfinite'
 Status:             Assigned
 Type:               Bug
 Package:            Compile Failure
 Operating System:   CentOS-5
 PHP Version:        7.0.17
 Assigned To:        nikic
 Block user comment: N
 Private report:     N

 New Comment:

Indeed, the buildconf --force solved the problem , but i only got a successfull build against the
upstream source without any patches , on my rpm spec build the problem persisted and the buildconf
--force executes for every build.

There is something that I can analyze to catch the possible problem on my rpm build? The patch had
applied and buildconf executes without problem, right now I am without any clues

Thanks in advance


Previous Comments:
------------------------------------------------------------------------
[2017-03-17 19:50:50] nikic@php.net

Did you run ./buildconf --force prior to running ./configure?

------------------------------------------------------------------------
[2017-03-17 19:34:16] deferraz at terra dot com dot br

Hi,

unfortunately i had the same problem on the rpm build and on a different vm using ./configure ; make
after applying the patch

------------------------------------------------------------------------
[2017-03-17 19:23:27] nikic@php.net

Can you please verify that https://github.com/php/php-src/commit/2e8308260513015dbf80ff0239eca79dbca4f36e
does indeed resolve the build failure?

------------------------------------------------------------------------
[2017-03-17 19:22:19] nikic@php.net

Automatic comment on behalf of nikita.ppv@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2e8308260513015dbf80ff0239eca79dbca4f36e
Log: Fix bug #74265

------------------------------------------------------------------------
[2017-03-17 19:14:47] nikic@php.net

From AC_CHECK_DECLS documentation:

> Unlike the other ‘AC_CHECK_*S’ macros, when a symbol is not declared,
> HAVE_DECL_symbol is defined to ‘0’ instead of leaving HAVE_DECL_symbol undeclared.

Presumably that's the culprit, we're checking for definedness.

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=74265


--
Edit this bug report at https://bugs.php.net/bug.php?id=74265&edit=1


Thread (22 messages)

« previous php.bugs (#207912) next »