Skip to content

Pack musl-wrapper into musl-toolchain #537

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

Closed
crazywhalecc opened this issue Sep 6, 2024 · 4 comments
Closed

Pack musl-wrapper into musl-toolchain #537

crazywhalecc opened this issue Sep 6, 2024 · 4 comments
Labels
kind/upstream This is upstream bug 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.

@henderkes
Copy link
Collaborator

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.

@henderkes
Copy link
Collaborator

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

It's only for php 8.4+

@crazywhalecc crazywhalecc added the kind/upstream This is upstream bug label Feb 8, 2025
@crazywhalecc
Copy link
Owner Author

Separating musl-wrapper from musl-toolchain helps to quickly update musl-wrapper and avoid repeated compilation of musl-toolchain.

@crazywhalecc crazywhalecc closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/upstream This is upstream bug 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