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

From: Date: Mon, 03 Nov 2014 21:22:52 +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-188429@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:         keyur@php.net
 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:        keyur
 Block user comment: N
 Private report:     N

 New Comment:

Yes I did read the comments and the patch I made specifically checks the compiled output to make
sure it matches what's expected: https://github.com/php/php-src/commit/648673bffe7a7c63ce6223fcbac7c118a114c893

On Mac OS X 10.9 with gcc 4.2.1 from XCode I've had no issues compiling. And same with a
gcc-4.9 from homebrew. I don't have access to OS X 10.6.

Can you pastebin or gist your config.log file with the failure? 

Also can you compile and run this snippet and paste the output?
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv) {
  typedef float dec32 __attribute__((mode(SD)));
  dec32 k = 99.49f;
  double d2 = (double)k;
  const char *check_str = "99.49";
  char print_str[32];
  snprintf(print_str, 32, "%f", d2);
  printf("Expected: %s, Actual: %s\n", check_str, print_str);
  return memcmp(print_str, check_str, 5);
}


Previous Comments:
------------------------------------------------------------------------
[2014-11-03 00:35:51] php-bugs-2014 at ryandesign dot com

Thanks for making these snapshots available on a different server since snaps.php.net and qa.php.net
are still down.

I tested 5.5.19RC1 and 5.6.3RC1, and there is no change in the issue.

Did you read all my previous messages in which I explained what the problem and solution are?

------------------------------------------------------------------------
[2014-11-02 17:43:32] keyur@php.net

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

------------------------------------------------------------------------
[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".

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


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)

« previous php.bugs (#188429) next »