-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add Runtime ID for FreeBSD 12 #30777
Comments
@jasonpugsley would you mind to share how did you managed to build 3.0 from source? did you followed instructions from wiki and/or you made some changes to make it build? |
discussion is here: dotnet/source-build#1139 |
@sec Sorry I’m travelling at the moment so I’m not able to write up a full response just yet. Just to be clear, from preview8 onwards I built each repo entirely on FreeBSD 12 with only minor modifications. coreclr, corefx, core-setup and finally core-sdk. I think a good deal of praise should go to those who converted most of the repos to using arcade as this has made it much easier for me to get it all working. And of course thanks to those working on the BSD specific parts. Each release has required fewer changes on my part to build each repo which is why I think the process could be automated on a FreeBSD VM quite easily. If it would still be useful I could try to find some time to write up the details of the steps I’m using one day this coming week. |
Better late than never. I'm still not sure whether FreeBSD 11 & 12 should be separate or not. I would need a FreeBSD expert to weigh in on best practices with ABI differences and forward compatibility from 11 to 12. My work above is solely on 12 though. |
In line with the PR that @wfurt has created above, I went back and redid my builds on FreeBSD 11 using the same RID graph as the PR. I can report that I have successfully built on 11 and the generated 3.0.0 SDK runs without issue on 11 and 12 as well as the following version of FreeBSD 13 released on October 11.
Thank you @wfurt. Please close this issue as you see fit. |
@jasonpugsley Hi! Thanks for your dotnet FreeBSD guide. I have followed this: https://github.com/jasonpugsley/core-sdk/wiki/.NET-Core-3.1.103-for-FreeBSD on clean 12.1 jail. However I end up with HRESULT: 0x8007001F error.
I have found info ( #34708 (comment)) that this error might be related to values NuGet.Config:
Yours Do you have any advice? Thanks! |
I have successfully built dotnet 3.0 preview6, 8 and just now 9 from source (preview8 was released before I got around to 7) on FreeBSD 12 and I would like to see it added to the source along with the existing 11.x RIDs. I'm just not sure how to do this correctly.
I don't know if FreeBSD 11 and 12 are ABI compatible so I don't know what the RID-graph should look like. Any help would be appreciated.
Kudos to everyone who has helped get the FreeBSD runtime working. It seems like it's ready to be added to the automated build system. I know there are gaps that still need to be filled to get a fully useful FreeBSD runtime, but automated builds would be a great incentive to get people working on all the PlatformNotSupportedException's
Also, I understand it can't be in the 3.0 release but I would love to hear something at .NET Conf about FreeBSD in 3.1 or 5.
The text was updated successfully, but these errors were encountered: