You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think nobody would have any objection for a new platform port, my experience is they are always welcome. You could try adding freebsd-x86 and freebsd-riscv64 next to linux- variants. Feel free to send PRs. 👍
Generally, I don't think, explicitly prohibiting build on a platform is wise. If it fails -- it fails,
This opt-in setup is to ensure someone has tried to build on the platform, maintainers and other community members have reviewed the changes and there is a list of tasks somewhere to track progress. .NET ports are not simple and getting things working end-to-end takes some time. Also, diagnostics is an important part; PlatformNotSupportedException and the likes are there to communicate with user which APIs are not available.
New platforms for dotnet are always nice! Tests on the other hand, are the harder part. It is up to you to make sure everything is functioning correct and AFAIK source-build does not build/run tests but @arrowd or @sec might have a better idea as they use source-build more than I do.
@UnitedMarsupials you're welcome to open PR with those changes, if those unblock build on i386.
but also as @Thefrank already said, i386 support is phased out - may I ask are you still using some i386 hardware and/or dotnet software on it? :)
Do you really need a formal merge-request for such a trivial patch?
already said, i386 support is phased out - may I ask are you still using some i386 hardware and/or dotnet software on it? :)
I don't think, that's been settled -- I sure hope, not. 32-bit MIPS and PPC may not be valuable, but i386 is FreeBSD's (and Linux', for that matter) very first and original hardware platform and remains useful for smaller VMs, where 4Gb of addressable memory is quite sufficient and there is no need to waste RAM on wide pointers...
The bootstrap is something that you will have to build. For now, FreeBSD is a community supported platform for dotnet so you will not get official binaries from Microsoft.
Hi! I have a working .NET 10 CoreCLR port for FreeBSD i386: kdenv2604#1. The draft includes validation on FreeBSD 14 i386, including managed workloads and PAL tests.
I understand from #138083 that enabling a new OS/architecture combination does not meet the bar for release branches. The port relies on Unix x86 CoreCLR code removed from main in #137008.
Given that, is there another upstream path you would recommend for FreeBSD i386, or would maintaining the port as a community fork be the appropriate approach? Any guidance on a sustainable maintenance path would be appreciated.
Activity
dotnet-policy-service commentedon Apr 15, 2025
Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.
am11 commentedon Apr 15, 2025
I think nobody would have any objection for a new platform port, my experience is they are always welcome. You could try adding freebsd-x86 and freebsd-riscv64 next to linux- variants. Feel free to send PRs. 👍
This opt-in setup is to ensure someone has tried to build on the platform, maintainers and other community members have reviewed the changes and there is a list of tasks somewhere to track progress. .NET ports are not simple and getting things working end-to-end takes some time. Also, diagnostics is an important part;
PlatformNotSupportedExceptionand the likes are there to communicate with user which APIs are not available.cc @arrowd, @Thefrank, @sec
UnitedMarsupials commentedon Apr 15, 2025
Then, maybe, detecting a new platform should yield a warning -- but it should not be an error...
Thefrank commentedon Apr 15, 2025
From the FreeBSD side, there is still signaling that i386 will no longer be supported starting with FreeBSD 15 but the document is more than a year old (https://www.freebsd.org/platforms/). MIPS and PPC 32bit have already been removed from support on FreeBSD.
New platforms for dotnet are always nice! Tests on the other hand, are the harder part. It is up to you to make sure everything is functioning correct and AFAIK source-build does not build/run tests but @arrowd or @sec might have a better idea as they use source-build more than I do.
sec commentedon Apr 16, 2025
@UnitedMarsupials you're welcome to open PR with those changes, if those unblock build on i386.
but also as @Thefrank already said, i386 support is phased out - may I ask are you still using some i386 hardware and/or dotnet software on it? :)
UnitedMarsupials commentedon Apr 17, 2025
Do you really need a formal merge-request for such a trivial patch?
I don't think, that's been settled -- I sure hope, not. 32-bit MIPS and PPC may not be valuable, but i386 is FreeBSD's (and Linux', for that matter) very first and original hardware platform and remains useful for smaller VMs, where 4Gb of addressable memory is quite sufficient and there is no need to waste RAM on wide pointers...
I submitted this patch to the maintainers of FreeBSD port, but they want bootstrap binaries to become available for FreeBSD before merging it...
Thefrank commentedon Apr 18, 2025
The bootstrap is something that you will have to build. For now, FreeBSD is a community supported platform for dotnet so you will not get official binaries from Microsoft.
kdenv2604 commentedon Nov 25, 2026
Hi! I have a working .NET 10 CoreCLR port for FreeBSD i386: kdenv2604#1. The draft includes validation on FreeBSD 14 i386, including managed workloads and PAL tests.
I understand from #138083 that enabling a new OS/architecture combination does not meet the bar for release branches. The port relies on Unix x86 CoreCLR code removed from main in #137008.
Given that, is there another upstream path you would recommend for FreeBSD i386, or would maintaining the port as a community fork be the appropriate approach? Any guidance on a sustainable maintenance path would be appreciated.
arrowd commentedon Nov 25, 2026
FreeBSD is sunsetting the 32 bit arches support, so I think a separate fork is your only option.