Bug #51178 [NoF->Bgs]: Compile fails randomly with default RPM CFLAGS
Edit report at http://bugs.php.net/bug.php?id=51178&edit=1
ID: 51178
Updated by: aharvey@php.net
Reported by: blake at bluehost dot com
Summary: Compile fails randomly with default RPM CFLAGS
-Status: No Feedback
+Status: Bogus
Type: Bug
Package: Compile Failure
Operating System: CentOS 5.4
PHP Version: 5.2.13
New Comment:
Wrong bug. Sorry for the noise. Too many tabs, not enough coffee.
Previous Comments:
------------------------------------------------------------------------
[2010-03-03 03:37:18] aharvey@php.net
Wrong bug. Sorry for the noise. Too many tabs, not enough coffee.
------------------------------------------------------------------------
[2010-03-03 03:36:44] aharvey@php.net
-Status: Bogus
+Status: No Feedback
------------------------------------------------------------------------
[2010-03-03 03:13:52] blake at bluehost dot com
Thanks for the feedback. Just wanted to say for others that run into
this that I tracked down the problem based on your comment about the
_GNU_SOURCE define. There was an old patch from redhat removing the
define in some instances. Reverting this patch results in a reliable
build.
For reference it was:
#Patch1: php-5.2.4-gnusrc.patch
Thanks again.
------------------------------------------------------------------------
[2010-03-02 00:40:32] rasmus@php.net
-Status: Open
+Status: Bogus
------------------------------------------------------------------------
[2010-03-02 00:40:32] rasmus@php.net
I see nothing wrong with that code. Line 136 of main/streams/cast.c in
PHP
5.2.13 is:
#if HAVE_FOPENCOOKIE
And that define come from the configure check in acinclude.m4 which does
a test
compile with _GNU_SOURCE defined.
I don't see why that would sometimes work and sometimes not on the same
system.
Feel free to send us some suggested patches if you can figure out what
is
sometimes tripping up your system, but since I see no bug here I am
marking this
one bogus.
------------------------------------------------------------------------
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
http://bugs.php.net/bug.php?id=51178
--
Edit this bug report at http://bugs.php.net/bug.php?id=51178&edit=1
Thread (4 messages)