Bug #69132 [Fbk->NoF]: PHP 5.6.6 will not cross-compile

From: Date: Sun, 07 Nov 2021 04:22:08 +0000
Subject: Bug #69132 [Fbk->NoF]: PHP 5.6.6 will not cross-compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237586@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69132&edit=1 ID: 69132 Updated by: php-bugs@lists.php.net Reported by: mike at flyn dot org Summary: PHP 5.6.6 will not cross-compile -Status: Feedback +Status: No Feedback Type: Bug Package: *General Issues Operating System: Linux PHP Version: 5.6.6 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-10-26 12:20:43] cmb@php.net Is this still an issue with any of the actively supported PHP versions[1]? If so, I suggest to file a pull request[2] for better visibility and reviewability. [1] <https://www.php.net/supported-versions.php> [2] <https://github.com/php/php-src/pulls> ------------------------------------------------------------------------ [2016-12-25 10:52:57] claudi0 dot beatric3 at gmail dot com Having the same issue trying to cross-compile php 7.1.0 for an Atmel board (ARM processor) ------------------------------------------------------------------------ [2016-07-08 18:43:43] back_ag at mail dot ru I have the same situation when cross compile php-5.6.23 for mips64 Cavium/Octeon ------------------------------------------------------------------------ [2015-02-27 03:10:18] mike at flyn dot org Description: ------------ I am interested in updating the PHP package for OpenWrt, a Linux distribution for routers and other similar devices. Due to the wide variety of devices supported, packagers generally cross compile OpenWrt packages. It seems that PHP 5.6.4 is a little more difficult to cross compile than OpenWrt's last supported version, 5.4.36. For example, 5.6.4's "./configure ..." prints an error which states that the test program responsible for checking for the existence of strcasestr cannot run. (The reason it cannot run is that it was not compiled for the host architecture.) Actual result: -------------- [...] checking whether to enable EXIF (metadata from images) support... yes, shared checking for fileinfo support... yes, shared checking for strcasestr... configure: error: in `/home/mike/Source/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.6.6': configure: error: cannot run test program while cross compiling See `config.log' for more details Makefile:518: recipe for target '/home/mike/Source/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.6.6/.configured_nynyyynnnnnyynnynnynynnynynynnnnnnnynnnyyy' failed make[2]: *** [/home/mike/Source/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.6.6/.configured_nynyyynnnnnyynnynnynynnynynynnnnnnnynnnyyy] Error 1 make[2]: Leaving directory '/home/mike/Source/openwrt/openwrt/feeds/packages/lang/php5' package/Makefile:173: recipe for target 'package/feeds/packages/php5/compile' failed make[1]: *** [package/feeds/packages/php5/compile] Error 2 make[1]: Leaving directory '/home/mike/Source/openwrt/openwrt' /home/mike/Source/openwrt/openwrt/include/toplevel.mk:171: recipe for target 'package/php5/compile' failed make: *** [package/php5/compile] Error 2 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69132&edit=1

« previous php.bugs (#237586) next »