-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating phar.php during cross-compile can't be done #11099
Comments
Hello, have you solved this problem? |
I don't resolve the problem. |
* PHP-8.1: Fix GH-11099: Generating phar.php during cross-compile can't be done
* PHP-8.2: Fix GH-11099: Generating phar.php during cross-compile can't be done
This fix doesn't work on FreeBSD. I had to revert this patch to be able to build PHP with phar support. |
@mcoelho80 I'll take a look later today |
It seems that the issue is about the shell. I will check this in the FreeBSD. |
Same problem with PHP 8.1.20. |
@mcoelho80, PR is created and you can also help me to check that. Thanks :). |
I tested the patch on both Linux and FreeBSD and it works. The PR is merged now. Thanks. |
Description
When building the
PHP 8.x
versions withphar
support from source withaarch64-linux-gnu
tool chain, it will be failed:Here are configure commands:
And the error message is as follows:
I think it should have the way to check whether it's cross compiling mode and it can avoid running the
php
binary.That is, it should skip related phar generating steps when it's the cross compiling mode.
PHP Version
PHP 8.x
Operating System
Using the
aarch64-linux-gnu
tool chain in the Ubuntu 18.04 for the AARCH-64 target.The text was updated successfully, but these errors were encountered: