* dotnet on illumos?
@ 2024-06-10 19:56 Gordon Ross
2024-06-12 16:47 ` [developer] " Till Wegmüller
0 siblings, 1 reply; 7+ messages in thread
From: Gordon Ross @ 2024-06-10 19:56 UTC (permalink / raw)
To: _illumos-dev
Anyone here know about efforts to port dotnet to illumos?
There has apparently been some progress... (stalled?)
https://github.com/dotnet/runtime/issues/34944
And apparently FreeBSD, Apple, and others have succeeded in getting
"dotnet core" ported. I'm curious about what work remains, how
difficult, etc.
Thanks,
Gordon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [developer] dotnet on illumos?
2024-06-10 19:56 dotnet on illumos? Gordon Ross
@ 2024-06-12 16:47 ` Till Wegmüller
2024-06-12 17:01 ` Jonathan Perkin
0 siblings, 1 reply; 7+ messages in thread
From: Till Wegmüller @ 2024-06-12 16:47 UTC (permalink / raw)
To: developer
Hey Gordon
Work was done to port it and got stalled during implementing threads by
am11 who also opened the Issue in the dotnet repo. I would also be very
interested in dotnet support and I am willing to test and package it.
You probably can pickup from his work on github and continue. Apart from
the patches for thread support all the work seems to be linked in the
issue or in the linked issues.
I can't remember his IRC username but he should be contactable through
Github.
Thats all I remember. Maybe others remember more?
-Till
On 10.06.24 21:56, Gordon Ross wrote:
> Anyone here know about efforts to port dotnet to illumos?
> There has apparently been some progress... (stalled?)
> https://github.com/dotnet/runtime/issues/34944
>
> And apparently FreeBSD, Apple, and others have succeeded in getting
> "dotnet core" ported. I'm curious about what work remains, how
> difficult, etc.
>
> Thanks,
> Gordon
>
> ------------------------------------------
> illumos: illumos-developer
> Permalink: https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-M166eefb7f75204e9cccb7f43
> Delivery options: https://illumos.topicbox.com/groups/developer/subscription
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [developer] dotnet on illumos?
2024-06-12 16:47 ` [developer] " Till Wegmüller
@ 2024-06-12 17:01 ` Jonathan Perkin
2024-06-12 17:58 ` Till Wegmüller
2024-06-12 18:00 ` Jason King
0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Perkin @ 2024-06-12 17:01 UTC (permalink / raw)
To: illumos-developer
* On 2024-06-12 at 17:49 BST, Till Wegmüller wrote:
>Thats all I remember. Maybe others remember more?
Older pkgsrc branches have mono 4.x, for example:
https://pkgsrc.smartos.org/packages/SmartOS/2020Q4/x86_64/All/mono-4.0.4.1nb23.tgz
which as far as I'm aware worked ok, however I assume this only useful
for older .Net software?
We always attempt to build the latest version of lang/mono, but it
obviously fails:
https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240611.2249/mono-6.12.0.199nb1/build.log
Cheers,
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [developer] dotnet on illumos?
2024-06-12 17:01 ` Jonathan Perkin
@ 2024-06-12 17:58 ` Till Wegmüller
2024-06-12 18:22 ` Jason King
2024-06-12 18:00 ` Jason King
1 sibling, 1 reply; 7+ messages in thread
From: Till Wegmüller @ 2024-06-12 17:58 UTC (permalink / raw)
To: developer
On 12.06.24 19:01, Jonathan Perkin wrote:
> * On 2024-06-12 at 17:49 BST, Till Wegmüller wrote:
>
>> Thats all I remember. Maybe others remember more?
>
> Older pkgsrc branches have mono 4.x, for example:
>
>
> https://pkgsrc.smartos.org/packages/SmartOS/2020Q4/x86_64/All/mono-4.0.4.1nb23.tgz
>
> which as far as I'm aware worked ok, however I assume this only useful
> for older .Net software?
Not just older, You need to be straight up ancient for mono runtime. I
had to switch a server to linux 7 years ago, due to us missing dotnet
core support.
>
> We always attempt to build the latest version of lang/mono, but it
> obviously fails:
>
>
> https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240611.2249/mono-6.12.0.199nb1/build.log
It seems that it's a seperate runtime from dotnet core. And mono having
limited support for ASP.NET seems like a bad thing. dotnet core it the
default runtime and OSS. My vote would be on the dotnet runtime and not
mono. At my current Job all dotnet apps use dotnet core. Mono is not
used at all for a long time.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [developer] dotnet on illumos?
2024-06-12 17:01 ` Jonathan Perkin
2024-06-12 17:58 ` Till Wegmüller
@ 2024-06-12 18:00 ` Jason King
1 sibling, 0 replies; 7+ messages in thread
From: Jason King @ 2024-06-12 18:00 UTC (permalink / raw)
To: illumos-developer
[-- Attachment #1: Type: text/plain, Size: 2077 bytes --]
It looks like maybe we’re missing some functions that need to be defined for illumos
Undefined first referenced
symbol in file
mono_threads_platform_get_stack_bounds ../../mono/utils/.libs/libmonoutils.a(libmonoutils_la-mono-threads.o)
mono_w32file_get_file_system_type ../../mono/metadata/.libs/libmonoruntime.a(libmonoruntime_la-icall.o)
Doing a quick search looks like `mono_w32file_get_file_system_type()` might just need to include `__illumos__` in the #ifdef that’s used for other UNIX platforms (it appears to be doing a statvfs(2) call to get `f_basetype` and put the value in the supplied buffer as a UTF-16 string.
`mono_threads_platform_get_stack_bounds()` appears to have a definition for Solaris that’s protected by #ifdef __sun__ -- so I’m not sure offhand why we’re not picking that up since we normally define that (as well as __illumos__).
From: Jonathan Perkin <jperkin@mnx.io>
Date: Wednesday, June 12, 2024 at 12:02 PM
To: illumos-developer <developer@lists.illumos.org>
Subject: Re: [developer] dotnet on illumos?
* On 2024-06-12 at 17:49 BST, Till Wegmüller wrote:
>Thats all I remember. Maybe others remember more?
Older pkgsrc branches have mono 4.x, for example:
https://pkgsrc.smartos.org/packages/SmartOS/2020Q4/x86_64/All/mono-4.0.4.1nb23.tgz
which as far as I'm aware worked ok, however I assume this only useful
for older .Net software?
We always attempt to build the latest version of lang/mono, but it
obviously fails:
https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240611.2249/mono-6.12.0.199nb1/build.log
Cheers,
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com<http://www.tritondatacenter.com>
------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-M713e4a3f03e188b3f0ced745
Delivery options: https://illumos.topicbox.com/groups/developer/subscription
[-- Attachment #2: Type: text/html, Size: 5946 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [developer] dotnet on illumos?
2024-06-12 17:58 ` Till Wegmüller
@ 2024-06-12 18:22 ` Jason King
2024-06-12 19:20 ` Till Wegmüller
0 siblings, 1 reply; 7+ messages in thread
From: Jason King @ 2024-06-12 18:22 UTC (permalink / raw)
To: illumos-developer
[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]
Looking at github, https://github.com/dotnet/runtime/tree/main/src/mono suggests the runtime is mono at least for non-Windows systems (but maybe a different branch / copy of the runtime or just copied into the repo from elsewhere as a sort of monorepo?)
From: Till Wegmüller <toasterson@gmail.com>
Date: Wednesday, June 12, 2024 at 12:59 PM
To: developer@lists.illumos.org <developer@lists.illumos.org>
Subject: Re: [developer] dotnet on illumos?
On 12.06.24 19:01, Jonathan Perkin wrote:
> * On 2024-06-12 at 17:49 BST, Till Wegmüller wrote:
>
>> Thats all I remember. Maybe others remember more?
>
> Older pkgsrc branches have mono 4.x, for example:
>
>
> https://pkgsrc.smartos.org/packages/SmartOS/2020Q4/x86_64/All/mono-4.0.4.1nb23.tgz
>
> which as far as I'm aware worked ok, however I assume this only useful
> for older .Net software?
Not just older, You need to be straight up ancient for mono runtime. I
had to switch a server to linux 7 years ago, due to us missing dotnet
core support.
>
> We always attempt to build the latest version of lang/mono, but it
> obviously fails:
>
>
> https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240611.2249/mono-6.12.0.199nb1/build.log
It seems that it's a seperate runtime from dotnet core. And mono having
limited support for ASP.NET seems like a bad thing. dotnet core it the
default runtime and OSS. My vote would be on the dotnet runtime and not
mono. At my current Job all dotnet apps use dotnet core. Mono is not
used at all for a long time.
------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-Mac44120c4abf99570902e387
Delivery options: https://illumos.topicbox.com/groups/developer/subscription
[-- Attachment #2: Type: text/html, Size: 4457 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [developer] dotnet on illumos?
2024-06-12 18:22 ` Jason King
@ 2024-06-12 19:20 ` Till Wegmüller
0 siblings, 0 replies; 7+ messages in thread
From: Till Wegmüller @ 2024-06-12 19:20 UTC (permalink / raw)
To: developer
According to the mono projects history project they kind of halfway
merged. https://www.mono-project.com/docs/about-mono/dotnet-integration/
But dotnet-core is a separate project from mono.
On 12.06.24 20:22, Jason King wrote:
> Looking at github, https://github.com/dotnet/runtime/tree/main/src/mono
> <https://github.com/dotnet/runtime/tree/main/src/mono> suggests the
> runtime is mono at least for non-Windows systems (but maybe a different
> branch / copy of the runtime or just copied into the repo from elsewhere
> as a sort of monorepo?)
>
> *From: *Till Wegmüller <toasterson@gmail.com>
> *Date: *Wednesday, June 12, 2024 at 12:59 PM
> *To: *developer@lists.illumos.org <developer@lists.illumos.org>
> *Subject: *Re: [developer] dotnet on illumos?
>
> On 12.06.24 19:01, Jonathan Perkin wrote:
>> * On 2024-06-12 at 17:49 BST, Till Wegmüller wrote:
>>
>>> Thats all I remember. Maybe others remember more?
>>
>> Older pkgsrc branches have mono 4.x, for example:
>>
>>
>> https://pkgsrc.smartos.org/packages/SmartOS/2020Q4/x86_64/All/mono-4.0.4.1nb23.tgz <https://pkgsrc.smartos.org/packages/SmartOS/2020Q4/x86_64/All/mono-4.0.4.1nb23.tgz>
>>
>> which as far as I'm aware worked ok, however I assume this only useful
>> for older .Net software?
>
> Not just older, You need to be straight up ancient for mono runtime. I
> had to switch a server to linux 7 years ago, due to us missing dotnet
> core support.
>
>>
>> We always attempt to build the latest version of lang/mono, but it
>> obviously fails:
>>
>>
>> https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240611.2249/mono-6.12.0.199nb1/build.log <https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240611.2249/mono-6.12.0.199nb1/build.log>
>
> It seems that it's a seperate runtime from dotnet core. And mono having
> limited support for ASP.NET seems like a bad thing. dotnet core it the
> default runtime and OSS. My vote would be on the dotnet runtime and not
> mono. At my current Job all dotnet apps use dotnet core. Mono is not
> used at all for a long time.
>
>
>
> ------------------------------------------
> illumos: illumos-developer
> Permalink:
> https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-Mac44120c4abf99570902e387 <https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-Mac44120c4abf99570902e387>
> Delivery options:
> https://illumos.topicbox.com/groups/developer/subscription
> <https://illumos.topicbox.com/groups/developer/subscription>
>
> *illumos <https://illumos.topicbox.com/latest>* / illumos-developer /
> see discussions <https://illumos.topicbox.com/groups/developer> +
> participants <https://illumos.topicbox.com/groups/developer/members> +
> delivery options
> <https://illumos.topicbox.com/groups/developer/subscription> Permalink
> <https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-M1213b7ec16359d180c0deedf>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-06-12 19:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-10 19:56 dotnet on illumos? Gordon Ross
2024-06-12 16:47 ` [developer] " Till Wegmüller
2024-06-12 17:01 ` Jonathan Perkin
2024-06-12 17:58 ` Till Wegmüller
2024-06-12 18:22 ` Jason King
2024-06-12 19:20 ` Till Wegmüller
2024-06-12 18:00 ` Jason King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).