From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id C59031BB7C6F for ; Wed, 12 Jun 2024 14:00:19 -0400 (EDT) (envelope-from jason.brian.king@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 1D68ABAE346; Wed, 12 Jun 2024 14:00:19 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1718215219; b=GoM6o0s8ZhlKZndcMwcPzBtqcM0I7DvLWl472Y/eAh7Z46Nmer 7AU8AefBLoCaNlvj8Dw9CDKJgoE66skH6KbkpMcACnnVJlZ7tQtZF4iz35MYvhfp gIkJ8PiOF5CEsLT2lxnT1E5r8xHIyi6vg/njODlTYsq8oTNJs5uhezKj7iI4fjJR wYLwLKhGSQSBCGRm15z3nAAwZk37+N2q1qnS7tz0M4nBDxVGLKiLx795ft9q399+ 8UNzcovBLQOqLUDlqPERRqbk+niqJMPRrryruE578nn9svBvyW3/Ur+U43NuQzjn /fZ0Gnjr0U25jBP9zd75ZCH5L1RuZ347r3kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:to:subject:date:message-id:references :in-reply-to:content-type:mime-version; s=arcseal; t=1718215219; bh=5cR7UqcDxKPiGkqehGCdVt1cMqcKUE1nbs2db0d2Wmc=; b=xWMW+HFTf7lj kJdVxNiH7bgnyN9jG+SqBF+AM33qezGrLJ6IX5kS4smQCwmPR7PKKlm9f/DCJc11 3rAg5p6rcySm8pY6aLNxk6tZgjuwCAH3rA9Eza/mgVv+Ih0QtlyIO+ffvjmPS8LV QOn4CFvTOlHAKJqaarySgitER2qQkxn7QICaeoC+wWDlKlQXUiZLo+G2aPwP6Iu8 AXzSG9I+zfp5slIrhMPy/eK7Zw70/MJJRL9gAmFd53hauQHqNHwjzd6I9KrdV5tI iHm4zBa3Nvy6Xj+QDvxvSwYyQ8F3E0a8N6/CluRm0MIFCtCgid8R8CJPm/rZ3X3g DQONEUMNTg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=jzvVGLDB header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.210.172 (mail-pf1-f172.google.com); spf=pass smtp.mailfrom=jason.brian.king@gmail.com smtp.helo=mail-pf1-f172.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=AUrCX4W9; x-me-sender=none; x-ptr=pass smtp.helo=mail-pf1-f172.google.com policy.ptr=mail-pf1-f172.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=jzvVGLDB header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.210.172 (mail-pf1-f172.google.com); spf=pass smtp.mailfrom=jason.brian.king@gmail.com smtp.helo=mail-pf1-f172.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=AUrCX4W9; x-me-sender=none; x-ptr=pass smtp.helo=mail-pf1-f172.google.com policy.ptr=mail-pf1-f172.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrfedugedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvffuthffkfhfjggtggesrgdtggertddtheen ucfhrhhomheplfgrshhonhcumfhinhhguceojhgrshhonhdrsghrihgrnhdrkhhinhhgse hgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeetfeeuueeivddttdeiiefhfeff gedtgfdutdfgffeuvdefveevieeuteffleekudenucffohhmrghinhepshhmrghrthhosh drohhrghdpohhluggvrhdrnhgvthdpmhhngidrihhopdhtrhhithhonhgurghtrggtvghn thgvrhdrtghomhdpthhophhitggsohigrdgtohhmnecukfhppedvtdelrdekhedrvddutd drudejvddpvdeitdefmedutdefieemfedtjeemgeelrgefmeemheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdelrdekhedrvddutddrudejvddphh gvlhhopehmrghilhdqphhfuddqfhdujedvrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhr ohhmpeeojhgrshhonhdrsghrihgrnhdrkhhinhhgsehgmhgrihhlrdgtohhmqedpnhgspg hrtghpthhtohepuddprhgtphhtthhopeeouggvvhgvlhhophgvrheslhhishhtshdrihhl lhhumhhoshdrohhrgheq X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'jason.brian.king@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="jason.brian.king@gmail.com"; helo=mail-pf1-f172.google.com; client-ip=209.85.210.172 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Wed, 12 Jun 2024 14:00:19 -0400 (EDT) (envelope-from jason.brian.king@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-701b0b0be38so92376b3a.0 for ; Wed, 12 Jun 2024 11:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718215218; x=1718820018; darn=lists.illumos.org; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=5cR7UqcDxKPiGkqehGCdVt1cMqcKUE1nbs2db0d2Wmc=; b=jzvVGLDBGyzxTS48CSVA9v55DGli/+O4sCMDj2DFoaIWR//2N7jEvngH9aiij6YniQ QPzRelIllmn2VFNheQgIZhuJRnSj3ZcevvWxFnGOvZS0/bXErjAG+zR6VcXXO2xPCdhe uhnKhqJLpeb4OAYdk4ceNDQUHgZtS5UwYGj7Th7Bqb7bQ8Gb0jHLqWVoRj2mzKm5F4CF 3LaTsNytRSMrQlXJuSZ/3a5oPmjCKz9Qmq868BsNkGODJ0+zel7OshJKenDRYqfl1FP/ h36US7dkmWx8icqGIasCp9RgRZfmVO7gsKQw0PdMV8IFlcy+sOPYUrGt+7+Y4QF9FozW wtsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718215218; x=1718820018; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5cR7UqcDxKPiGkqehGCdVt1cMqcKUE1nbs2db0d2Wmc=; b=AUrCX4W9t2hoFz/gnibLz4LAauoMGQtPsfsDK9E3oulfJrBvVMAvxbpfQjroIUNIqj 4YsWbmExeeOwKwgelFSmtaQ9+TWoIopJwBIG46aJfLDV5xya63JFVQS/Ae6DxczQOEab Y9UrmCHTTV7PQEw2/I3mOiX+AsLpdQLqBUakhOhOejIM7rWBBvkI1hq4QQtc45Ur5J4e mgjbRO5ISpXAvgYbZihkj2beR2jVoMLX+QlXJ9yFgm7soDKSvaNrG4Va9TNqV7tkB8LK /6jeXKNFzaI9opN51uXu2dlijhFwKl15OJoyINO2N5FJkSAVnRn7ZSGGn3D8WuZbN/DV WVZQ== X-Gm-Message-State: AOJu0YyxW/PBSjBXsU3KEEeRACXmixcY2uyTwKrrZhCSJher6tVEhreM OJViw5twz5rOv20T3Pvr6ZgS+HPIKQZ2mLlZCIFs23D9IqQ7agFIRmRwPg== X-Google-Smtp-Source: AGHT+IHL2+J7zI8wcA+wNgZZLYXRA0l7BhVg53RdUkX8sz4kBfaEawn5tZ0RufxLM+UZEK51naFing== X-Received: by 2002:a05:6a20:da9a:b0:1b6:cd8e:4a4 with SMTP id adf61e73a8af0-1b8a9b35129mr3382822637.1.1718215216049; Wed, 12 Jun 2024 11:00:16 -0700 (PDT) Received: from SJ0PR12MB6734.namprd12.prod.outlook.com ([2603:1036:307:49a3::5]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70427f8a69bsm7751089b3a.156.2024.06.12.11.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 11:00:15 -0700 (PDT) From: Jason King To: illumos-developer Subject: Re: [developer] dotnet on illumos? Thread-Topic: [developer] dotnet on illumos? Thread-Index: AUFVUFUww68dQ4K16Kd8kLiaUI3jbjRkYjQzbDVQY1WtynIsow== X-MS-Exchange-MessageSentRepresentingType: 1 Date: Wed, 12 Jun 2024 18:00:13 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 Content-Type: multipart/alternative; boundary="_000_SJ0PR12MB6734355F66EE22A1C5580802A4C02SJ0PR12MB6734namp_" MIME-Version: 1.0 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: a497fccc-28e5-11ef-b0af-fcc4008c7b06 --_000_SJ0PR12MB6734355F66EE22A1C5580802A4C02SJ0PR12MB6734namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable It looks like maybe we=92re 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/libmonoruntim= e.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=92s used for other U= NIX 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=92s protected by #ifdef __sun__ -- so I=92m not sure offhand = why we=92re not picking that up since we normally define that (as well as _= _illumos__). From: Jonathan Perkin Date: Wednesday, June 12, 2024 at 12:02 PM To: illumos-developer Subject: Re: [developer] dotnet on illumos? * On 2024-06-12 at 17:49 BST, Till Wegm=FCller 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/202= 40611.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/subscriptio= n --_000_SJ0PR12MB6734355F66EE22A1C5580802A4C02SJ0PR12MB6734namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

It looks like maybe= we=92re missing some functions that need to be defined for illumos

 

Undefined      &= nbsp;           &nbs= p;   first referenced

symbol       &nb= sp;            =         in file

mono_threads_platform_get_stack_bounds ../../m= ono/utils/.libs/libmonoutils.a(libmonoutils_la-mono-threads.o)

mono_w32file_get_file_system_type   = ../../mono/metadata/.libs/libmonoruntime.a(libmonoruntime_la-icall.o)<= /o:p>

 

Doing a quick searc= h looks like `mono_w32file_get_file_system_type()` might just need to inclu= de `__illumos__` in the #ifdef that=92s used for other UNIX platforms (it a= ppears to be doing a statvfs(2) call to get `f_basetype` and put the value in the supplied buffer as a UTF-16 stri= ng.

 

`mono_= threads_platform_get_stack_bounds()` appears to have a defin= ition for Solaris that=92s protected by #ifdef __sun__ -- so I=92m not sure= offhand why we=92re not picking that up since we normally define that (as = well as __illumos__).

&n= bsp;

 

 

From: Jonathan Perkin <jperkin@mnx.io&g= t;
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=FCller 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.1n= b23.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/202406= 11.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-M713e4a3f03= e188b3f0ced745
Delivery options: https://illumos.topicbox.com/groups/developer/subscription

--_000_SJ0PR12MB6734355F66EE22A1C5580802A4C02SJ0PR12MB6734namp_--