-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
coreclr compilation failure on Alpine Linux (Musl based), "atoll is missing exception specification 'throw()'" #44988
Comments
Alpine is supported and we build and provide official packages for it. However, we never tried to build it on the edge, we test only the official released versions. We had the same problem on SunOS some time ago and it was fixed for that one explicitly. So we need to fix it for the new Alpine too. |
@PureTryOut the fix is simple: janvorli@6abd25b. I will send out a PR soon. |
Thanks, that does the trick indeed! I don't think I have reached the point where you got to yet, right now it's stuck on something else.
|
I think you are hitting the problem with standalone build of the corehost on Alpine that I was trying to solve in #37101. That fix works locally, but doesn't work in our CI lab and I didn't have time to investigate why yet. You can try to apply it locally to see if it helps in your case. |
Actually, I've just found that instead of my change, adding |
You're right, that did help. I got a successful build now, victory! 🎉 So that's a combination of Now let's see how to get this working in combination with https://github.com/dotnet/source-build... |
|
Yeah I get what it does, it's just an interesting syntax which is completely different from what bash scripts normally use ( |
Thank you very much! 🎉 |
|
Continuation of dotnet/source-build#1882.
Description
coreclr fails to compile on an Alpine Linux edge system due to
error: 'atoll' is missing exception specification 'throw()'
.To reproduce:
build.sh
Configuration
This is on Alpine Linux edge, which is basically a rolling release version of Alpine Linux.
This system uses the Musl libc rather than glibc, which is probably the reason this is failing.
Right now I'm trying to build this for x86_64, but I personally doubt it's architecture related.
Regression?
This is the first time I'm trying it, so I don't know.
Other information
The text was updated successfully, but these errors were encountered: