Bug #80718 [Opn]: ext/standard/dl.c fallback code path with syntax error

From: Date: Mon, 08 Feb 2021 14:55:32 +0000
Subject: Bug #80718 [Opn]: ext/standard/dl.c fallback code path with syntax error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232016@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80718&edit=1 ID: 80718 Updated by: cmb@php.net Reported by: mhei at heimpold dot de Summary: ext/standard/dl.c fallback code path with syntax error Status: Open Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 8.0.2 Block user comment: N Private report: N New Comment: From a quick look, I think this line[1] is supposed to be php_dl_error(path); [1] <https://github.com/php/php-src/blob/e2c30c6a2ee4968b546e08eb19cb5f483c4c8088/ext/standard/dl.c#L250> Previous Comments: ------------------------------------------------------------------------ [2021-02-06 13:21:12] mhei at heimpold dot de 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 this bug report at https://bugs.php.net/bug.php?id=80718&edit=1

« previous php.bugs (#232016) next »