Bug #68114 [Com]: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd

From: Date: Mon, 29 Sep 2014 07:33:09 +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-187743@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: leigh@php.net Reported by: php-bugs-2014 at ryandesign dot com Summary: Build fails with gcc: Undefined symbols: ___extendsddf ___extendsfsd Status: Open Type: Bug Package: Compile Failure Operating System: OS X PHP Version: 5.5.17 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#187743) next »