Skip to content
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

Pack musl-wrapper into musl-toolchain #537

Open
crazywhalecc opened this issue Sep 6, 2024 · 3 comments
Open

Pack musl-wrapper into musl-toolchain #537

crazywhalecc opened this issue Sep 6, 2024 · 3 comments
Labels
kind/workflow Issues related to workflow or environment os/linux Things only for Linux OS

Comments

@crazywhalecc
Copy link
Owner

crazywhalecc commented Sep 6, 2024

Solve the version dependency problem of musl-toolchain and musl-wrapper

@crazywhalecc crazywhalecc added os/linux Things only for Linux OS kind/workflow Issues related to workflow or environment labels Sep 6, 2024
@crazywhalecc
Copy link
Owner Author

@DubbleClick Sorry to bother you, but if you have time, I recently encountered some situations when solving this issue.

I saw that gcc has a major version update, and musl-libc has also been upgraded by a version. Do we need to upgrade musl-toolchain to the latest?

Currently I try to build musl-toolchain based on gcc-14 and musl-1.2.5 locally, but segmentation faults will occur when using them to compile php and intl extensions, while the current old version will not, and I haven't researched why yet.

@DubbleClick
Copy link
Contributor

Do we need to upgrade musl-toolchain to the latest?

I think we should. I won't be around to take a look at it until I'm back from vacation in two weeks though. I'll set myself a reminder to figure things out.

Currently I try to build musl-toolchain based on gcc-14 and musl-1.2.5 locally, but segmentation faults will occur when using them to compile php and intl extensions, while the current old version will not

Yeeeeah, I ran into that issue before. I believe I created an issue in the php-src repository and there was some progress. PHP plans to make musl-libc a first class citizen in the future too, worst case we will have to wait with a toolchain upgrade until some more if these issues are ironed out.

@DubbleClick
Copy link
Contributor

Edit: php/php-src#13877 (comment)

It's only for php 8.4+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/workflow Issues related to workflow or environment os/linux Things only for Linux OS
Projects
None yet
Development

No branches or pull requests

2 participants