php.net |  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
Votes:2
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: subins2000 at gmail dot com
New email:
PHP Version: OS:

 

 [2017-01-01 15:41 UTC] subins2000 at gmail dot com
Description:
------------
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-11 05:12 UTC] krakjoe@php.net
-Status: Open +Status: Not a bug
 [2017-01-11 05:12 UTC] krakjoe@php.net
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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 07:01:33 2025 UTC