Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2018-06-19 Thread Tomas Weinfurt via freebsd-mono
If anybody wants to help, it would be great to look at 
https://github.com/dotnet/coreclr/issues/18481

There is guy working on getting PowerShell working on FreeBSD. (#18067)
We got to point where we have semi-working SDK and I'm looking at msbuild 
problem related to named pipes. 
Aside from that, this round looks somewhat promising.
I made some progress on updating source-build as well as with some caveats it 
is possible to run Linux SDK under Linux64 emulation. 

Tomas

On 11/8/17, 11:00 PM, "owner-freebsd-m...@freebsd.org on behalf of Russell 
Haley"  wrote:

On Wed, Nov 8, 2017 at 10:15 AM, David Naylor  
wrote:
> On Wednesday, 27 September 2017 22:02:43 Russell Haley wrote:
>> +1
>> I threw some comments on the open issues.
>
> Hi
>
> I hope the porting of .NET Core has been progressing.  I must apologise, I
> have dropped the ball on updating mono.  This will come with a working 
version
> of msbuild which I am sure would be helpful in the porting process.
>
> I'm slowly picking up the mono porting work on my side, and hope to get
> something committed in the next few weeks.
>
> Do you perhaps have an update on your side?
>
> Regards
>
> David

Hi David,

Tomas has been working dilligently over the last couple of weeks, but
I have been in limbo with no computer and no time until a few days
ago. The changes Tomas is making have been integrated into the head
repos and I am attempting to build from that using the instructions
provided on the dotnetcore wiki.

Nothing I am doing is unique. Anyone can pull corefx and coreclr repos
and follow along in the instructions.

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdotnet%2Fcorefx%2Fwiki%2FBuilding-.NET-Core--2.x-on-FreeBSD=02%7C01%7CTomas.Weinfurt%40microsoft.com%7Cd776769e3f7f4b1a217208d5273f819f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636458076071078070=Pae7%2FT4%2Btt0usthZbTp%2FLiYZgtOocSpNtubcI9BGRsE%3D=0

I was able to get everything to build on Windows last night, and have
the SDK (corefx) built on FreeBSD. The runtime (coreclr) is failing in
some sections of the test code. I forwarded my errors but have not
gotten back to them yet. I am currently fighting with virtualbox to
try and get shared folders working. It looks like I need to rebuild my
guest additions from ports. Nothing for free my friend. XD

I sincerely would like to help again with the Mono build but finding
time will be difficult.  I'd like to unburden you from the Mono 5 port
so you can play on DNC! As soon as  I have confirmed Tomas' build and
finish a step in an unrelated project

(https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freviews.freebsd.org%2FD12921=02%7C01%7CTomas.Weinfurt%40microsoft.com%7Cd776769e3f7f4b1a217208d5273f819f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636458076071078070=aWUNTWvWHi9CZNi7df%2FWL8JF3u4Msu5hT3TDJsNJNs4%3D=0),
 I will get back to your port
(unless someone else can step in).

Glad to here from you,

Russ
___
freebsd-mono@freebsd.org mailing list

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-mono=02%7C01%7CTomas.Weinfurt%40microsoft.com%7Cd776769e3f7f4b1a217208d5273f819f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636458076071078070=Dz08LJGCyo8kdCT68415TyXk4hmu4Hnj8S%2B%2BLltvzAY%3D=0
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-11-14 Thread David Naylor
On Wednesday, 8 November 2017 22:59:56 Russell Haley wrote:
> On Wed, Nov 8, 2017 at 10:15 AM, David Naylor  
wrote:
> > On Wednesday, 27 September 2017 22:02:43 Russell Haley wrote:
> >> +1
> >> I threw some comments on the open issues.
> > 
> > Hi
> > 
> > I hope the porting of .NET Core has been progressing.  I must apologise, I
> > have dropped the ball on updating mono.  This will come with a working
> > version of msbuild which I am sure would be helpful in the porting
> > process.
> > 
> > I'm slowly picking up the mono porting work on my side, and hope to get
> > something committed in the next few weeks.
> > 
> > Do you perhaps have an update on your side?
> > 
> > Regards
> > 
> > David
> 
> Hi David,
> 
> Tomas has been working dilligently over the last couple of weeks, but
> I have been in limbo with no computer and no time until a few days
> ago. The changes Tomas is making have been integrated into the head
> repos and I am attempting to build from that using the instructions
> provided on the dotnetcore wiki.
> 
> Nothing I am doing is unique. Anyone can pull corefx and coreclr repos
> and follow along in the instructions.
> https://github.com/dotnet/corefx/wiki/Building-.NET-Core--2.x-on-FreeBSD
> 
> I was able to get everything to build on Windows last night, and have
> the SDK (corefx) built on FreeBSD. The runtime (coreclr) is failing in
> some sections of the test code. I forwarded my errors but have not
> gotten back to them yet. I am currently fighting with virtualbox to
> try and get shared folders working. It looks like I need to rebuild my
> guest additions from ports. Nothing for free my friend. XD

Good to hear.  I had three questions around bootstrapping:
 1) If I understand correctly, we only need to do this once.  Once DNC runs on 
FreeBSD we can bootstrap further versions ourselves (like Linux does).
 2) Is there any difference in the managed code (corelib?) between platforms 
(i.e. i386/amd64/arm)?
 3) Cannot we currently use DNC for CentOS + linuxulator to bootstrap DNC?

> I sincerely would like to help again with the Mono build but finding
> time will be difficult.  I'd like to unburden you from the Mono 5 port
> so you can play on DNC! As soon as  I have confirmed Tomas' build and
> finish a step in an unrelated project
> (https://reviews.freebsd.org/D12921), I will get back to your port
> (unless someone else can step in).

I've made some progress on this.  The only major block is to add sn(1) to the 
build framework to overcome the shortcoming of the new compiler csc(1) that 
cannot produce signed assemblies.

Regards

David

signature.asc
Description: This is a digitally signed message part.


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-11-08 Thread David Naylor
On Wednesday, 27 September 2017 22:02:43 Russell Haley wrote:
> +1
> I threw some comments on the open issues.

Hi

I hope the porting of .NET Core has been progressing.  I must apologise, I 
have dropped the ball on updating mono.  This will come with a working version 
of msbuild which I am sure would be helpful in the porting process.  

I'm slowly picking up the mono porting work on my side, and hope to get 
something committed in the next few weeks.  

Do you perhaps have an update on your side?  

Regards

David

signature.asc
Description: This is a digitally signed message part.


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-09-27 Thread Russell Haley
+1
I threw some comments on the open issues.

On Wed, Sep 27, 2017 at 6:36 PM, Geoffrey Huntley  wrote:
> Tomas and Karel from MSFT have some updates for us, in short, the full-scale
> battle can start and volunteers are needed.
>
> - FreeBSD: implement System.Diagnostic.Process:
> https://github.com/dotnet/corefx/issues/24292
> - FreeBSD: System.Console is not working right:
> https://github.com/dotnet/corefx/issues/24259
>
>> I was finally able to run corefx tests on FreeBSD 11.0 (without outerloop
>> tests)
>> Total passed: 144208
>> Total failed: 2622
>> Total skipped 207
>>
>> I will update dotnet/corefx/wiki/Building-.NET-Core--2.x-on-FreeBSD with
>> instructions.
>>  I will file specific issues and tag them with with os-freebsd and
>> up-for-grab.
>>
>
> From https://github.com/dotnet/corefx/issues/1626#issuecomment-332668619
>
>
>
> On 8 September 2017 at 10:51, Russell Haley  wrote:
>>
>> Hi I just dropped a twitter to Karel (suddenly feel less smart) and
>> this was his response:
>>
>> "Yep, I was poking at a plan internally first. Got some hinys and will
>> reply tomorrow. Tomas even made some progress ."
>>
>> Sweet!
>>
>> Russ
>>
>> On Tue, Sep 5, 2017 at 12:24 PM, Russell Haley 
>> wrote:
>> > On Tue, Sep 5, 2017 at 11:52 AM, 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.
>> >>
>> >> Regards
>> >>
>> >> David
>> >
>> > Just an FYI: I found Karel's email address and dropped him a private
>> > message for more information (I also don't use twitter). I wanted to
>> > wait for permission before publishing any information on the mono
>> > mailing list (including his email address etc).
>> >
>> > I had the DotNet CORE and CLR running on FreeBSD using the
>> > instructions posted way back when. I also asked about more information
>> > a few months back on the DotNet forums but I can't find the message.
>> > The response was that "nothing was happening at the time".
>> > http://forums.dotnetfoundation.org/
>> >
>> >
>> > Cheers,
>> >
>> > Russ
>
>
___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-09-27 Thread Geoffrey Huntley
Tomas and Karel from MSFT have some updates for us, in short, the
full-scale battle can start and volunteers are needed.

- FreeBSD: implement System.Diagnostic.Process:
https://github.com/dotnet/corefx/issues/24292
- FreeBSD: System.Console is not working right:
https://github.com/dotnet/corefx/issues/24259

> I was finally able to run corefx tests on FreeBSD 11.0 (without outerloop
tests)
> Total passed: 144208
> Total failed: 2622
> Total skipped 207
>
> I will update dotnet/corefx/wiki/Building-.NET-Core--2.x-on-FreeBSD with
instructions.
>  I will file specific issues and tag them with with os-freebsd and
up-for-grab.
>

>From https://github.com/dotnet/corefx/issues/1626#issuecomment-332668619



On 8 September 2017 at 10:51, Russell Haley  wrote:

> Hi I just dropped a twitter to Karel (suddenly feel less smart) and
> this was his response:
>
> "Yep, I was poking at a plan internally first. Got some hinys and will
> reply tomorrow. Tomas even made some progress ."
>
> Sweet!
>
> Russ
>
> On Tue, Sep 5, 2017 at 12:24 PM, Russell Haley 
> wrote:
> > On Tue, Sep 5, 2017 at 11:52 AM, 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.
> >>
> >> Regards
> >>
> >> David
> >
> > Just an FYI: I found Karel's email address and dropped him a private
> > message for more information (I also don't use twitter). I wanted to
> > wait for permission before publishing any information on the mono
> > mailing list (including his email address etc).
> >
> > I had the DotNet CORE and CLR running on FreeBSD using the
> > instructions posted way back when. I also asked about more information
> > a few months back on the DotNet forums but I can't find the message.
> > The response was that "nothing was happening at the time".
> > http://forums.dotnetfoundation.org/
> >
> >
> > Cheers,
> >
> > Russ
>
___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-09-07 Thread Russell Haley
Hi I just dropped a twitter to Karel (suddenly feel less smart) and
this was his response:

"Yep, I was poking at a plan internally first. Got some hinys and will
reply tomorrow. Tomas even made some progress ."

Sweet!

Russ

On Tue, Sep 5, 2017 at 12:24 PM, Russell Haley  wrote:
> On Tue, Sep 5, 2017 at 11:52 AM, 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.
>>
>> Regards
>>
>> David
>
> Just an FYI: I found Karel's email address and dropped him a private
> message for more information (I also don't use twitter). I wanted to
> wait for permission before publishing any information on the mono
> mailing list (including his email address etc).
>
> I had the DotNet CORE and CLR running on FreeBSD using the
> instructions posted way back when. I also asked about more information
> a few months back on the DotNet forums but I can't find the message.
> The response was that "nothing was happening at the time".
> http://forums.dotnetfoundation.org/
>
>
> Cheers,
>
> Russ
___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-09-05 Thread Russell Haley
On Tue, Sep 5, 2017 at 11:52 AM, 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.
>
> Regards
>
> David

Just an FYI: I found Karel's email address and dropped him a private
message for more information (I also don't use twitter). I wanted to
wait for permission before publishing any information on the mono
mailing list (including his email address etc).

I had the DotNet CORE and CLR running on FreeBSD using the
instructions posted way back when. I also asked about more information
a few months back on the DotNet forums but I can't find the message.
The response was that "nothing was happening at the time".
http://forums.dotnetfoundation.org/


Cheers,

Russ
___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-09-05 Thread David Naylor
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  0x00080299065b in pthread_mutex_destroy () from /lib/libthr.so.3
#1  0x00080298f919 in pthread_mutex_lock () from /lib/libthr.so.3
#2  0x00081d093c4d in GetCollatorFromSortHandle () from 
/usr/local/dotnet/bootstrap/shared/Microsoft.NETCore.App/1.0.3/System.Globalization.Native.so
#3  0x00081d093dcf in GlobalizationNative_CompareString () from 
/usr/local/dotnet/bootstrap/shared/Microsoft.NETCore.App/1.0.3/System.Globalization.Native.so
#8  0x00080291cae8 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

signature.asc
Description: This is a digitally signed message part.


Re: Help Wanted - Work with MSFT and help finish the port of .NET Core to FreeBSD

2017-09-05 Thread David Naylor
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.

Regards

David


signature.asc
Description: This is a digitally signed message part.