-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
musl: add 0 large file patch #30777
musl: add 0 large file patch #30777
Conversation
@ericonr If you find it ok, perhaps this could be merged before the ff update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be a single commit and the message should be musl: backport O_LARGE fix
with an explanation in the body: "musl 1.2.2 started defining O_LARGEFILE to an actual value for x86_64, which breaks the firefox seccomp filter when built with older musl headers. backporting this change and building firefox with it allows one to use a local more up to date musl version with firefox from repos"
Hmm, we'd have to check if this breaks chromium or the other mozilla packages as well... |
musl 1.2.2 started defining O_LARGEFILE to an actual value for x86_64, which breaks the firefox seccomp filter when built with older musl headers. backporting this change and building firefox with it allows one to use a local more up to date musl version with firefox from repos
Do you mean building or using them? |
Yeah, using. Because the thing is, by backporting this musl change, we are introducing the issue with musl 1.2.2 to our musl package. So anything that needed to be rebuilt because of musl 1.2.2 in other distros also needs to rebuilt if we merge this in. |
I briefly checked chromium and thunderbird, and they seem to work fine.
(Obviously, firefox is broken instead.)
Can you think of something else to check?
|
Firefox-esr and Thunderbird, at least. In the opposite direction, I made: https://github.com/ericonr/void-packages/tree/musl-1.2.0 |
Your idea is probably smarter. |
I'm a bit confused: if I build your solution, I still get crash in |
Are you using firefox from repos or from when you built with this patch? There's a chance it's broken when built with the patch but running without it. |
I'm using firefox from the repos.
|
Edit: sorry, my bad, I had to delete previous |
I think your solution is better, so let's close this. |
You can build with |
Good to know, thanks!
|
This would allow e.g. building firefox so that it is usable with musl 1.2.2
General
Have the results of the proposed changes been tested?
Builds fine on x86_64-musl.