Bug #68114 [Asn->Fbk]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
| From: | keyur@php.net | Date: | Sun, 02 Nov 2014 17:43:35 +0000 |
| Subject: | Bug #68114 [Asn->Fbk]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188419@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68114&edit=1
ID: 68114
Updated by: keyur@php.net
Reported by: php-bugs-2014 at ryandesign dot com
Summary: Build fails with gcc: Undefined symbols:
___extendsddf ___extendsfsd
-Status: Assigned
+Status: Feedback
Type: Bug
Package: MySQL related
Operating System: OS X
PHP Version: 5.5.17
Assigned To: keyur
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.5-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
5.5.19RC1 is released and available for download here http://server.famillecollet.com/php/
Release notes: https://github.com/php/php-src/blob/php-5.5.19RC1/NEWS
Previous Comments:
------------------------------------------------------------------------
[2014-10-24 23:23:02] php-bugs-2014 at ryandesign dot com
I'd like to try the snapshot, but snaps.php.net has been down for days.
"This service is unavailable at the moment. Please try again in a day"
------------------------------------------------------------------------
[2014-10-20 16:57:48] keyur@php.net
Please try using this snapshot:
http://snaps.php.net/php-trunk-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2014-10-20 16:57:28] keyur@php.net
Ah I just repeated a bunch of what you said :) Should've read the full email thread before
replying.
I am marking the bug again as "Try a snapshot".
------------------------------------------------------------------------
[2014-10-20 16:54:33] keyur@php.net
Hello all,
Let me clarify a couple things. Decimal32/64 is not supported by Clang http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet
so OS X doesn't support it.
I am not sure what is up with the GCC. The version I used (i686-apple-darwin10-gcc-4.2.1) you can
see it compiles but doesn't link.
The fix is not yet released. It is queued up for 5.5.19
(https://github.com/php/php-src/blob/PHP-5.5/NEWS) and 5.6.3
(https://github.com/php/php-src/blob/PHP-5.6/NEWS)
If it still doesn't resolve, please re-open this bug.
------------------------------------------------------------------------
[2014-10-10 11:16:17] php-bugs-2014 at ryandesign dot com
I've learned that clang does not support decimal floating point types at all:
http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet
"clang does not support decimal floating point types (_Decimal32 and friends) or fixed-point
types (_Fract and friends); nobody has expressed interest in these features yet, so itâs hard
to say when they will be implemented."
And gcc only enables support for decimal floating point types by default on Linux, not OS X:
https://gcc.gnu.org/install/configure.html
"This is enabled by default only on PowerPC, i386, and x86_64 GNU/Linux systems. Other systems
may also support it, but require the user to specifically enable it."
The Apple build of gcc 4.2.1 in Xcode doesn't use the --enable-decimal-float flag, according to
"gcc -v", and neither do the newer gcc versions available in MacPorts. I don't know
whether that's due to oversight or ignorance, or whether it was tried and found not to work.
But I think this answers my question: yes it is expected that decimal floating point is not
available on OS X, so using ac_cv_decimal_fp_supported=no is a reasonable workaround for now.
As for fixing the configure script to detect this, perhaps "-O0" can be appended to the
CFLAGS for the duration of this test.
------------------------------------------------------------------------
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=68114
--
Edit this bug report at https://bugs.php.net/bug.php?id=68114&edit=1