Edit report at http://bugs.php.net/bug.php?id=50345&edit=1
ID: 50345
Comment by: svinopas at gmail dot com
Reported by: sle at ocf dot berkeley dot edu
Summary: nanosleep not detected properly on some solaris
versions
Status: Re-Opened
Type: Bug
Package: Compile Failure
Operating System: Solaris 10
PHP Version: 5.3.1
Block user comment: N
New Comment:
I am experiencing this issue on Solaris 09/10 SPARC and 5.3.3.
Is there fix available yet?
Previous Comments:
------------------------------------------------------------------------
[2010-07-23 13:52:58] rainer dot jung at kippdata dot de
Sorry: I meant r297961.
BTW: this is a regression, it was already fixed successful in 5.3.2.
------------------------------------------------------------------------
[2010-07-23 13:51:25] rainer dot jung at kippdata dot de
Unfortunately the issue needs to be reopened.
The change in revision 297960 reintroduced this problem, at least on
Solaris 8, but likely also on more modern Solaris.
Before the change library rt was added to EXTRA_LIBS, after the change
the symbol __nanosleep is found and the library no longer added. During
linking we then get (as expected):
Undefined first referenced
symbol in file
nanosleep
ext/standard/.libs/basic_functions.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Observed for version 5.3.3.
Reverting the pseudo-optimization in r297960 fixes the issue.
Thanks for considering this,
Rainer
------------------------------------------------------------------------
[2009-12-02 18:01:36] [email protected]
Closing then. Thanks for testing.
------------------------------------------------------------------------
[2009-12-02 16:23:07] sle at ocf dot berkeley dot edu
The patch appears to have fixed the bug. I am now able to successfully
compile PHP 5.3 without modifying the generated Makefile. I'm running
the test suites right now, but everything appears to be working.
Thanks for your help!
------------------------------------------------------------------------
[2009-12-02 08:55:57] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
But in about 35 minutes earliest so that the fix gets in it. :)
------------------------------------------------------------------------
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=50345
--
Edit this bug report at http://bugs.php.net/bug.php?id=50345&edit=1