-
Notifications
You must be signed in to change notification settings - Fork 518
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
Tracking issuss of Bindings PHP #2813
Comments
Is there a way to distribute native exetension so that users only need to add fields in composer instead? I expect users don't need to know about rust core details and just use opendal as a native php package. |
Actually, we cannot do this yet. If we want to use "composer require" to install opendalphp, we need to submit the code to https://packagist.org/ and it should only contain PHP code instead of binary files. Generally speaking, we can only install PHP binary extensions through
|
|
hi @Xuanwo, It seems that the issue is caused by upgrading to Ubuntu 22.04.3 (ubuntu-latest). In this version, we are using clang 14.0.0. And in Ubuntu 20.04, we were able to compile successfully. This version uses clang 12.0.0. We can temporarily change the IMAGE in PHP CI to ubuntu-20.04 now(if yes, will push a pr soon), and then I need to take a look at |
So, the issue we encountered here is that By the way, it works on my PC with clang 16: :) clang -v
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/13.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
:) php -v
PHP 8.2.10 (cli) (built: Sep 1 2023 11:07:36) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.10, Copyright (c) Zend Technologies |
I don't have much knowledge about this case, need some time to take a look. Are you running on 22.04.3? @Xuanwo |
I'm running on archlinux. |
RFC: #2782
Tasks
The text was updated successfully, but these errors were encountered: