Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd
From: mail_commercial at yahoo dot fr Date: Tue, 30 Sep 2014 10:32:59 +0000 Subject: Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-187769@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
Comment by: mail_commercial at yahoo dot fr
Reported by: php-bugs-2014 at ryandesign dot com
Summary: Build fails with gcc: Undefined symbols:
___extendsddf ___extendsfsd
Status: Assigned
Type: Bug
Package: MySQL related
Operating System: OS X
PHP Version: 5.5.17
Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
Hello,
I'm the initiator of this request to the PHP maintainer in MacPorts.
I've applied the workaround you've proposed.
When removing the definition of HAVE_DECIMAL_FP_SUPPORT at the end of ext/mysqlnd/config9.m4 and
cleaning the build terminates without any error.
I'm reaching the limit of my skills. I don't know the use of the this constant. In my
mind, even my 32 bits powerbook G4 has a decimal floating point support.
my config :
- hardware: mac G4, not intel
- OS: mac os X leopard
- compiler: gcc4.2
Hoping this information are useful.
Previous Comments:
------------------------------------------------------------------------
[2014-09-29 07:33:08] leigh@php.net
Looks related to #67839, possibly HAVE_DECIMAL_FP_SUPPORT incorrectly being set under OSX in
ext/mysqlnd/config9.m4
The missing symbols are from libdfp (decimal floating point)
I don't have OSX available to me right now, so it would be helpful if you could test this. You
can simply delete the last few lines in config9.m4 to prevent the define being set.
If this turns out to be the case, hopefully someone with more OSX specific knowledge can fix the
configure script.
------------------------------------------------------------------------
[2014-09-29 02:32:09] php-bugs-2014 at ryandesign dot com
Description:
------------
Hello, I'm the maintainer of PHP in MacPorts.
The latest versions of PHP 5.5 (5.5.17) and 5.4 (5.4.33) do not build in MacPorts with gcc (e.g. gcc
4.2.1 as provided by Xcode on Mac OS X 10.6):
Undefined symbols:
"___extendsddf", referenced from:
_ps_fetch_float in mysqlnd_ps_codec.o
"___extendsfsd", referenced from:
_ps_fetch_float in mysqlnd_ps_codec.o
ld: symbol(s) not found
They build fine in MacPorts with clang (as provided by Xcode on OS X 10.7 and up).
This problem was reported to the MacPorts project here:
https://trac.macports.org/ticket/45197
This problem does not occur with the latest versions of PHP 5.3 (5.3.29) or 5.6 (5.6.0), nor did it
happen with the previous versions of PHP 5.4 (5.4.32) or 5.5 (5.5.16).
In case it is relevant, we are configuring with PHP_MYSQLND_ENABLED=yes.
------------------------------------------------------------------------
--
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 (#187769) | next » |
|---|