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

------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/T879d3656fc3b0ffb-M713e4a3f03e188b3f0ced745
Delivery options: https://illumos.topicbox.com/groups/developer/subscription