Req #81238 [NEW]: PHP 8.1: fiber support missing for Solaris Sparc, configure fails
| From: | rainer dot jung at kippdata dot de | Date: | Fri, 09 Jul 2021 08:44:17 +0000 |
| Subject: | Req #81238 [NEW]: PHP 8.1: fiber support missing for Solaris Sparc, configure fails | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-234930@lists.php.net to get a copy of this message | ||
From: rainer dot jung at kippdata dot de
Operating system: Solaris 10 Sparc
PHP version: 8.1.0alpha3
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:PHP 8.1: fiber support missing for Solaris Sparc, configure fails
Description:
------------
configure for PHP 8.1 fails on Solaris 10 Sparc with:
checking for fiber switching context...
configure: error: Unable to determine platform!
It seems to imported assembler files from Boost context doe not contain
support for Sparc Solaris 10.
The sparc architecture is listen under
https://www.boost.org/doc/libs/1_76_0/libs/context/doc/html/context/architectures.html
but the OS Solaris is not part of the table.
Since it supports ucontext_t, the comment below the table should apply:
"If the architecture is not supported but the platform provides
ucontext_t, Boost.Context should be compiled with BOOST_USE_UCONTEXT and
b2 property context-impl=ucontext."
Solaris does support ucontext_t (see "man setcontext"), so it would be
nice, if PHP fibers would support this fallbacl mechanism as well. Yes,
there are warnings, that such fibers will be slow, but currently, due to
the configure failure, there is no more Solaris 10 Sparc support for PHP
8.1 at all.
Another option would be to make fibers optional.
--
Edit bug report at https://bugs.php.net/bug.php?id=81238&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81238&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81238&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81238&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81238&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81238&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81238&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81238&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81238&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81238&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81238&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81238&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81238&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81238&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81238&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81238&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81238&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81238&r=mysqlcfg