Re: [Mono-dev] Random mono apache errors

2013-08-26 Thread Vladimir Dimitrov
Almost the same thing just happened again. I got this error when calling a web service on the apache/mono server: System.Exception: INTERNAL configuration error: failed to get configuration 'system.diagnostics' at System.Diagnostics.DiagnosticsConfiguration.get_Settings () [0x0] in

Re: [Mono-dev] Random mono apache errors

2013-08-26 Thread Daniel Lo Nigro
1. Use the open source way, find and fix it myself and hope that we will have this change in the official mono one day. I've fixed a few bugs with Mono (most around the ASP.NET routing implementation) and I've found that the Mono developers are pretty good with pull requests. If you do a good

[Mono-dev] SGEN support when cross compiling

2013-08-26 Thread Bassam Tabbara
Hello, I'm working in mono master, and it looks like sgen is not support when cross compiling. Sgen requiren with-tls=__thread and during configuration a check is made if __thread is functioning and that fails with the following error when cross compiling: configure: error: cannot run test

Re: [Mono-dev] SGEN support when cross compiling

2013-08-26 Thread Rodrigo Kumpera
sgen works fine on ARM and so does cross compiling to it. On Mon, Aug 26, 2013 at 6:19 PM, Bassam Tabbara bas...@symform.com wrote: Hello, I'm working in mono master, and it looks like sgen is not support when cross compiling. Sgen requiren with-tls=__thread and during configuration a

Re: [Mono-dev] SGEN support when cross compiling

2013-08-26 Thread Bassam Tabbara
Thanks Rodrigo. Is there a trick then to bypass the __thread check during configuration? ./configure --host=armv5te-unknown-linux-gnueabi Fails with: configure: error: cannot run test program while cross compiling I worked around it with the following:

Re: [Mono-dev] SGEN support when cross compiling

2013-08-26 Thread Zoltan Varga
Hi, It might be easier to compile on the device itself using distcc+a cross compiler. Zoltan On Tue, Aug 27, 2013 at 1:36 AM, Bassam Tabbara bas...@symform.com wrote: Thanks Rodrigo. Is there a trick then to bypass the __thread check during configuration? ./configure

Re: [Mono-dev] SGEN support when cross compiling

2013-08-26 Thread Rodrigo Kumpera
Configure with --thread=pthread On Mon, Aug 26, 2013 at 7:36 PM, Bassam Tabbara bas...@symform.com wrote: Thanks Rodrigo. Is there a trick then to bypass the __thread check during configuration? ./configure --host=armv5te-unknown-linux-gnueabi Fails with: configure: error: cannot

Re: [Mono-dev] SGEN support when cross compiling

2013-08-26 Thread Bassam Tabbara
I tried that and I run into the following error when I run mono: sgen is not supported when using --with-tls=pthread Looking at the code here: https://github.com/mono/mono/blob/master/mono/metadata/sgen-gc.h#L990 Seems like pthread is only supported on darwin and windows. I'm cross compiling

[Mono-dev] Building a Mono RPM

2013-08-26 Thread Chris Tacke
Let me preface this with the fact that I’m pretty new to Linux. I have pulled the Mono source and successfully built it on 32-bit Ubuntu. I was able to successfully take the binaries generated from a “make install” and copy them to a different Linux distribution and actually run a Mono app on