Bug #80718 [NEW]: ext/standard/dl.c fallback code path with syntax error
| From: | mhei at heimpold dot de | Date: | Sat, 06 Feb 2021 13:21:12 +0000 |
| Subject: | Bug #80718 [NEW]: ext/standard/dl.c fallback code path with syntax error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-231967@lists.php.net to get a copy of this message | ||
From: mhei at heimpold dot de
Operating system: Linux
PHP version: 8.0.2
Package: Compile Failure
Bug Type: Bug
Bug description:ext/standard/dl.c fallback code path with syntax error
Description:
------------
Cross-compiling php against arc700 architecture unveiled a syntax
error:
/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_glibc/php-8.0.1/ext/standard/dl.c:
In function 'php_load_shlib':
/builder/shared-workdir/build/sdk/build_dir/target-arc_arc700_glibc/php-8.0.1/ext/standard/dl.c:250:18:
error: 'filename' undeclared (first use in this function); did you mean
'fileno'?
php_dl_error(filename);
^~~~~~~~
fileno
filename is indeed not defined in this function. I'm not so familar with
the code and the design goal, maybe it's just enough to drop the entire
line?
--
Edit bug report at https://bugs.php.net/bug.php?id=80718&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80718&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80718&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80718&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80718&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80718&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80718&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80718&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80718&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80718&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80718&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80718&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80718&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80718&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80718&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80718&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80718&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80718&r=mysqlcfg