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-libc support #216
Comments
Fixed. Thanks for the detailed report. You will also need |
Great, thanks for the prompt fix and response. I’ll give it a whirl in a couple hours. |
@tpoechtrager on the back of this I was able to get OSXCross built, however, it looks like I'm having trouble building the cross-compiler with gcc. I had to add a couple extra packages per the warnings:
But it seems to result in the following error:
Happy to lodge this as another issue if required with reproduction steps, please let me know. |
Yeah I already noticed. There is something wrong with the archiver (AR). I have to debug it. |
No problems, I'll hang tight. Let me know if there's anything I can help with, thanks again! |
Found the cause and fixed it. |
Perfect, so it looks like the only thing missing since your last fix is that you also need |
Thanks for this fantastic project! I had a little play around on my primary driver which is Arch Linux and glibc, everything worked great.
I have just attempted to build osxcross on an Alpine Linux based container and ran in to issues.
The build fails with the following error:
The above error is related to this.
I have also attempted to install fts-dev and that results in the following error:
You can follow these steps with Docker to replicate the environment and error:
cd
to/path/of/osxbuild
tarballs/
directorydocker run --rm -it --entrypoint /bin/ash -v $PWD:/build alpine
apk add --no-cache bash clang cmake gcc git libxml2-dev make musl-dev openssl-dev patch python3
cd /build && ./build.sh
This will allow you to replicate the first error
apk add --no-cache fts-dev
./build.sh
This will allow you to replicate the second error
I'm not entirely certain what the stance is on musl-libc, any help would be appreciated and if there's anything I can do to help debug/support please let me know.
The text was updated successfully, but these errors were encountered: