From owner-freebsd-mono@freebsd.org Tue Sep 5 18:58:45 2017 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC47BE19268 for ; Tue, 5 Sep 2017 18:58:45 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FA6A6C2E0 for ; Tue, 5 Sep 2017 18:58:44 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wr0-x243.google.com with SMTP id 40so2121678wrv.3 for ; Tue, 05 Sep 2017 11:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=7u/lE1doiNllBTerO2yPouExlTriMDvHFmVtMIhN8mM=; b=q2wBV0nc1/88XZGW5Y7KCVENKE9A+nNlykeDk1I9ReJgQYmSKD7c0oC/EZdMalm1l1 6CnqoTcz0v3sqCQefWzNqgKYkKyGKI5nlOizFXZmera0c5mMXX1kny/Vavk5L89eRSUo rnvN9Ajljok1bzSKT8OLSVla53HAY8p3a8RUgVhyGuahjpoI+/zi9uLzBRhH0T1ulnh4 SNtW9efJKJ9aHXdHfk6m1xbY1w/SKbF3fhrUUNrqHMsDtJmxIU7k3WJw14kQKM5L/zSb sAi2D9Y5Q0LUZs0t0IRkKpuQrHF2NYQ8y0dzRzFgA8hla1xHKkh2wOZgU21U8zcypn1Y u8kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=7u/lE1doiNllBTerO2yPouExlTriMDvHFmVtMIhN8mM=; b=pOdy0g6hC26nMRCsPrmP8VAQJYsb323l6YYH4xdTPu06L3Z0GsC0gWEKqMS18JaX98 6It19eLeICIYnDfxu5csYqpRxXxuHiIztX8UL551Xvzw1TeCB+o9FwAnVJ5ZFlrynlPQ zu6PS5Auf+QWAbILtfKXfGlD6TY+xuM9XwH9KHtYEuzhnad+I6A0bIsyd1NoELViY/xz sue2sda0dzpu+jl4WR+m3a0lMSQ8nE2v3DRyN+5IAS8bK2F73Nf44zstcS6l6J2VOzAU 4I+xePEidyg2LIOhfRClSguKaOThvvqCohTHvZYN3xh5ppBuvfCoSiKyrHv5FMQ9p1F3 Vi+Q== X-Gm-Message-State: AHPjjUic85kXsJ0KLeLGrsHOeORCkNzRPIkh675POuJPnBibHHkBmXOW c8STy/b93asR9Q== X-Google-Smtp-Source: ADKCNb7w/aS+AcLzmu53Q0mcItx9HawjPQPJK+DWLerInok9Jf+5ktGwF3knjMn6GvRJjJbfcPbjBw== X-Received: by 10.223.133.65 with SMTP id 59mr14467wrh.233.1504637922743; Tue, 05 Sep 2017 11:58:42 -0700 (PDT) Received: from dragon.local ([41.144.114.114]) by smtp.googlemail.com with ESMTPSA id d5sm1237056wma.22.2017.09.05.11.58.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 11:58:42 -0700 (PDT) From: David Naylor To: Geoffrey Huntley Cc: freebsd-mono@freebsd.org Subject: Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD Date: Tue, 05 Sep 2017 20:58:39 +0200 Message-ID: <5615919.TlCM7jm4W2@dragon.local> Organization: Private User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: <1697920.aIIVMSx0iY@dragon.local> References: <1697920.aIIVMSx0iY@dragon.local> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart22799143.zeWXg1iOmM"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 18:58:45 -0000 --nextPart22799143.zeWXg1iOmM Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, 5 September 2017 20:52:10 David Naylor wrote: > On Monday, 4 September 2017 10:54:21 Geoffrey Huntley wrote: > > See https://www.youtube.com/watch?v=NHllisWOCpU and > > https://twitter.com/GeoffreyHuntley/status/904227946084294656 > > Hi Geoffrey > > It is great to hear there is more interest in finishing the port of .NET > Core to FreeBSD (and, I hope, to have ports living in the Port's > Collection). > > Would it be possible for you to put me (and the mono@ mailing list) in touch > with Karel and Tomas - I'm not on Twitter. > > I'll reply to this email (dropping ports@ and advocacy@) with more technical > details. There has been multiple attempts to finish the porting, my effort can be found here [1]. Alas, I haven't looked at it in a while so I'm not sure how things look on the .NET Core 2.0 front. As it stands I have: # git clone https://github.com/DragonSA/dotnet # make -C dotnet/dotnet-sdk install # gdb /usr/local/dotnet/bootstrap/dotnet (gdb) run --version (gdb) bt #0 0x000000080299065b in pthread_mutex_destroy () from /lib/libthr.so.3 #1 0x000000080298f919 in pthread_mutex_lock () from /lib/libthr.so.3 #2 0x000000081d093c4d in GetCollatorFromSortHandle () from /usr/local/dotnet/bootstrap/shared/Microsoft.NETCore.App/1.0.3/System.Globalization.Native.so #3 0x000000081d093dcf in GlobalizationNative_CompareString () from /usr/local/dotnet/bootstrap/shared/Microsoft.NETCore.App/1.0.3/System.Globalization.Native.so #8 0x000000080291cae8 in vtable for InlinedCallFrame () from /usr/local/dotnet/bootstrap/shared/Microsoft.NETCore.App/1.0.3/libcoreclr.so The main challenges have been: 1) how to bootstrap the build: i) mscorlib.dll (and friends) need to be compiled on Windows ii) all other dlls also need to be compiled on Windows (without crossgen) 2) nuget downloads conflict with the approach required by the Ports Collection Some initial ideas I have to overcome the issues are: a) improve the Ports Collection to handle nuget packages (WIP) (2) b) have dotnet-sdk distributed without crossgen applied (1ii) c) adopt mono's approach of creating a single dll for all platforms (1i) d) allow bootstrapping of .NET Core with mono (1) e) fix the core dump mentioned above :-P f) abstract the bootstrapping process (i.e. init-tools.sh) [1] https://github.com/DragonSA/dotnet Regards David --nextPart22799143.zeWXg1iOmM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEElI7FEaJ/AwLnmbU6rWP6jday2lUFAlmu899fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lXMhBAAvc6nSj5WYL8rBrYhjRzlbySCxHdyhz4Ndf1QNwadXdzAtLAJiTACLzJ8 7+zY7H2lpc4GHSy5FzWT7V48gzSj9zWNHlxKq6A9kFvEmqDuCu+zmuG7tJsnDfez scWR2qWFsVFD5vUAmBSOUbKTip3iaE8Ne8sDuVFU/xodgctsDW2m+1cv3f8/dnL/ WjESVeO1O2nFWqXz8yav63gd1g52cyFgJEFK9wWARq0MLTqX6WgGSmJe1ohdmjms N8NfeuIuBxeHMQVBjTSl6xv+PLO7OO1XlI8n2tMeL3jos0NFRPoskCBo4Y5tBMNF UeX84xob305KFZsfgZQE8nVmvPqqyZ6wp1tFggBCRb5+R8oHa7Tp5MsBBFFD1A+V /nI1LApmt/8h+ts5v+DTXgcNLytLuThZA9+kK2zoA/cse0AXmkxbUKeZQzOspiLF uP6Yq0u5Zlne4lkBEaecI6Z9lIo6OXexwXBDauAx+y6mE0190iVg+Vp7dBCVmKZY 51KkxefbQxnYI8aBFSZ28K1CmxOrCbmEP0yuXg196Dy21z36Z3CiDPFG/DslFkwC X7Ki82TCXidibKP1hCKJlKQNxZz6r4zV5meDoNONwktgtMncMJVFfnbBHFwpS1Ch O7OdZFhYNhkZBr7q8msC+IWvs/z1c1NSjmtYVpcowa0eH9BdhfA= =ksDU -----END PGP SIGNATURE----- --nextPart22799143.zeWXg1iOmM--