Edit report at https://bugs.php.net/bug.php?id=64780&edit=1

 ID:                 64780
 Updated by:         ardbiesheu...@php.net
 Reported by:        s...@php.net
 Summary:            PHP 5.5 builds are broken with GCC 3
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Linux
 PHP Version:        5.5Git-2013-05-06 (snap)
 Assigned To:        ardbiesheuvel
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of ard.biesheu...@linaro.org
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=5b121eb04d358f83e974b6c5fe069c38cf1f960b
Log: Fix #64780 (PHP 5.5 builds are broken with GCC 3)


Previous Comments:
------------------------------------------------------------------------
[2013-05-07 19:13:34] bluej100 at gmail dot com

I've confirmed that Ard's patch also fixes cygwin, which is still on 3.4.4. 
Thanks!

------------------------------------------------------------------------
[2013-05-07 18:10:44] s...@php.net

Doh! I'd initially patched it that way but hadn't included stddef.h correctly.
Your patch works.  Since you have Zend karma, can you apply it?

------------------------------------------------------------------------
[2013-05-07 09:07:14] ardbiesheu...@php.net

This seems to be related to GCC 3 not having support for __builtin_offsetof().

Let's fix it like this instead (see patch). Could you please try it?

------------------------------------------------------------------------
[2013-05-07 09:06:50] ardbiesheu...@php.net

The following patch has been added/updated:

Patch Name: gcc3-offsetof
Revision:   1367917610
URL:        
https://bugs.php.net/patch-display.php?bug=64780&patch=gcc3-offsetof&revision=1367917610

------------------------------------------------------------------------
[2013-05-07 04:02:06] s...@php.net

The following patch has been added/updated:

Patch Name: zend_operators.h.patch
Revision:   1367899326
URL:        
https://bugs.php.net/patch-display.php?bug=64780&patch=zend_operators.h.patch&revision=1367899326

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


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=64780


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64780&edit=1

Reply via email to