Bug #68114 [Asn->Fbk]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
From: keyur@php.net Date: Wed, 07 Jan 2015 23:27:22 +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-189722@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/
Previous Comments:
------------------------------------------------------------------------
[2015-01-06 07:07:35] keyur@php.net
Pull request https://github.com/php/php-src/pull/983 is up and
completely removes decimal point support.
I will merge it into the repository in a few days once folks have had a chance to review it.
Thank you very much the bug reports and being patient!
------------------------------------------------------------------------
[2015-01-03 04:52:26] keyur@php.net
A patch is coming in the next few days to fix this by making the Decimal point support opt-in and
defaulting to the float-to-string-to-double method.
------------------------------------------------------------------------
[2015-01-03 01:09:49] swa at section66 dot com
It's not just OS X !
At least OpenBSD and FreeBSD all have the same (or highly similar) problem in 5.5.20 and 5.6.4
The workaround of adding "ac_cv_decimal_fp_supported=no" to the configure options seems to
get through the compile phase on 5.6.4 on OpenBSD already.
The snippet on OpenBSD:
$ gcc -o t t.c
/tmp//ccaYXIKe.o(.text+0x29): In function `main':
: undefined reference to `__extendsddf'
collect2: ld returned 1 exit status
$ gcc -O2 -o t t.c
$ ./t
Expected: 99.49, Actual: 99.490000
Suggest to either make sure the optimizer doesn't optimize the test program or remove the
optimizer in options during the configure as it's too smart to execute the test. [I'm not
that familiar with the PHP build system]
FWIW: it's an old OpenBSD version I'm running - I know ...
gcc version 4.2.1 20070719
------------------------------------------------------------------------
[2014-12-23 21:14:38] php at wesha dot name
(Re: https://bugs.php.net/bug.php?id=68192#1412808117)
https://bugs.php.net/bug.php?id=68114#1412845446
solution worked for me.
------------------------------------------------------------------------
[2014-12-11 18:34:13] php-bugs-2014 at ryandesign dot com
@cbrugh, a workaround you can use immediately is described in my comment above from 2014-10-09 09:04
UTC. The fix I propose is described in my comment above from 2014-11-03 21:37 UTC.
------------------------------------------------------------------------
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
Thread (40 messages)
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn->Csd]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Csd]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Csd]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Csd]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Csd]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Csd->Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn->Fbk]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Fbk->Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn->Fbk]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Fbk->Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Asn->Fbk]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Fbk->NoF]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [NoF->Csd]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
- Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
| « previous | php.bugs (#189722) | next » |
|---|