|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #73848 Make PHP Cross Compilable
Submitted: 2017-01-01 15:41 UTC Modified: 2017-01-11 05:12 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: subins2000 at gmail dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 7.1.0 OS: Ubuntu 16.04
Private report: No CVE-ID: None
 [2017-01-01 15:41 UTC] subins2000 at gmail dot com
Currently while trying to cross compile PHP, this error is outputted by configure script : 

cannot run test program while cross compiling

It is time PHP needed to be made cross compilable.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-11 05:12 UTC]
-Status: Open +Status: Not a bug
 [2017-01-11 05:12 UTC]
I'm going to close this as not a bug.

Cross compiling autotools configured software very often requires that you set ac vars for configure.

Setting the correct ac vars will allow you to avoid executing tests that usually determine the value for those vars.

This is not a limitation of PHP, but of autotools.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Apr 06 13:01:25 2020 UTC