Re: [Mono-dev] Mono 3.10 Threadpool requires remoting??
Minimal builds are not supported for general consumption, use at your own risk. On Sat, Sep 13, 2014 at 12:03 PM, Chris Tacke cta...@opennetcf.com wrote: This may seem like a simplistic question, but how do I explicitly set a C# preprocessor directive when manually building with make? I'd like to *not* modify the makefile if I can avoid it, since I'm trying to write procedures that can be applied on future builds with a clean pull from git. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Chris Tacke Sent: Saturday, September 13, 2014 10:44 AM To: DavidKarlas; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? The procedure I used for building both was identical (I wrote down the procedures the first time and followed then exactly the second). The configuration command used was: ./configure --prefix=/usr/local --enable-minimal=aot,profiler,com,remoting - -with-profile2=no --with-profile4=no So it's definitely a difference between the two builds. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto: mono-devel-list- boun...@lists.ximian.com] On Behalf Of DavidKarlas Sent: Saturday, September 13, 2014 1:41 AM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? You probably defined DISABLE_REMOTING in 3.2.7 and forgot to define it in 3.10... https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Del egate.cs#L614 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono- 3- 10-Threadpool-requires-remoting-tp4663848p4663851.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 3.10 Threadpool requires remoting??
Mono itself, being open source is “use at my own risk”. Anything that I build from source, I’d assume was “use at my own risk”. I understand and accept that risk. Maybe it’s just that it’s Monday, but that response sure reads to me as “There’s been a regression in the build system between 3.2 and 3.10 and though you’ve taken the time to report it, we don’t really care.” When I find and fix this problem locally, should I bother to report it? -Chris From: Rodrigo Kumpera [mailto:kump...@gmail.com] Sent: Monday, September 15, 2014 11:18 AM To: Chris Tacke Cc: DavidKarlas; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? Minimal builds are not supported for general consumption, use at your own risk. On Sat, Sep 13, 2014 at 12:03 PM, Chris Tacke cta...@opennetcf.commailto:cta...@opennetcf.com wrote: This may seem like a simplistic question, but how do I explicitly set a C# preprocessor directive when manually building with make? I'd like to *not* modify the makefile if I can avoid it, since I'm trying to write procedures that can be applied on future builds with a clean pull from git. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.commailto:mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-mailto:mono-devel-list- boun...@lists.ximian.commailto:boun...@lists.ximian.com] On Behalf Of Chris Tacke Sent: Saturday, September 13, 2014 10:44 AM To: DavidKarlas; mono-devel-list@lists.ximian.commailto:mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? The procedure I used for building both was identical (I wrote down the procedures the first time and followed then exactly the second). The configuration command used was: ./configure --prefix=/usr/local --enable-minimal=aot,profiler,com,remoting - -with-profile2=no --with-profile4=no So it's definitely a difference between the two builds. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.commailto:mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-mailto:mono-devel-list- boun...@lists.ximian.commailto:boun...@lists.ximian.com] On Behalf Of DavidKarlas Sent: Saturday, September 13, 2014 1:41 AM To: mono-devel-list@lists.ximian.commailto:mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? You probably defined DISABLE_REMOTING in 3.2.7 and forgot to define it in 3.10... https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Del egate.cs#L614 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono- 3- 10-Threadpool-requires-remoting-tp4663848p4663851.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.commailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.commailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.commailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 3.10 Threadpool requires remoting??
It's not a regression, it's just a configuration we don't support as a project. Feel free to fix it on your own and make a pull request. On Mon, Sep 15, 2014 at 11:24 AM, Chris Tacke cta...@opennetcf.com wrote: Mono itself, being open source is “use at my own risk”. Anything that I build from source, I’d assume was “use at my own risk”. I understand and accept that risk. Maybe it’s just that it’s Monday, but that response sure reads to me as “There’s been a regression in the build system between 3.2 and 3.10 and though you’ve taken the time to report it, we don’t really care.” When I find and fix this problem locally, should I bother to report it? -Chris *From:* Rodrigo Kumpera [mailto:kump...@gmail.com] *Sent:* Monday, September 15, 2014 11:18 AM *To:* Chris Tacke *Cc:* DavidKarlas; mono-devel-list@lists.ximian.com *Subject:* Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? Minimal builds are not supported for general consumption, use at your own risk. On Sat, Sep 13, 2014 at 12:03 PM, Chris Tacke cta...@opennetcf.com wrote: This may seem like a simplistic question, but how do I explicitly set a C# preprocessor directive when manually building with make? I'd like to *not* modify the makefile if I can avoid it, since I'm trying to write procedures that can be applied on future builds with a clean pull from git. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Chris Tacke Sent: Saturday, September 13, 2014 10:44 AM To: DavidKarlas; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? The procedure I used for building both was identical (I wrote down the procedures the first time and followed then exactly the second). The configuration command used was: ./configure --prefix=/usr/local --enable-minimal=aot,profiler,com,remoting - -with-profile2=no --with-profile4=no So it's definitely a difference between the two builds. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto: mono-devel-list- boun...@lists.ximian.com] On Behalf Of DavidKarlas Sent: Saturday, September 13, 2014 1:41 AM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? You probably defined DISABLE_REMOTING in 3.2.7 and forgot to define it in 3.10... https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Del egate.cs#L614 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono- 3- 10-Threadpool-requires-remoting-tp4663848p4663851.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 3.10 Threadpool requires remoting??
You probably defined DISABLE_REMOTING in 3.2.7 and forgot to define it in 3.10... https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Delegate.cs#L614 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-3-10-Threadpool-requires-remoting-tp4663848p4663851.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 3.10 Threadpool requires remoting??
The procedure I used for building both was identical (I wrote down the procedures the first time and followed then exactly the second). The configuration command used was: ./configure --prefix=/usr/local --enable-minimal=aot,profiler,com,remoting --with-profile2=no --with-profile4=no So it's definitely a difference between the two builds. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of DavidKarlas Sent: Saturday, September 13, 2014 1:41 AM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? You probably defined DISABLE_REMOTING in 3.2.7 and forgot to define it in 3.10... https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Del egate.cs#L614 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-3- 10-Threadpool-requires-remoting-tp4663848p4663851.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 3.10 Threadpool requires remoting??
This may seem like a simplistic question, but how do I explicitly set a C# preprocessor directive when manually building with make? I'd like to *not* modify the makefile if I can avoid it, since I'm trying to write procedures that can be applied on future builds with a clean pull from git. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of Chris Tacke Sent: Saturday, September 13, 2014 10:44 AM To: DavidKarlas; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? The procedure I used for building both was identical (I wrote down the procedures the first time and followed then exactly the second). The configuration command used was: ./configure --prefix=/usr/local --enable-minimal=aot,profiler,com,remoting - -with-profile2=no --with-profile4=no So it's definitely a difference between the two builds. -Chris -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- boun...@lists.ximian.com] On Behalf Of DavidKarlas Sent: Saturday, September 13, 2014 1:41 AM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Mono 3.10 Threadpool requires remoting?? You probably defined DISABLE_REMOTING in 3.2.7 and forgot to define it in 3.10... https://github.com/mono/mono/blob/master/mcs/class/corlib/System/Del egate.cs#L614 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono- 3- 10-Threadpool-requires-remoting-tp4663848p4663851.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono 3.10 Threadpool requires remoting??
We have a Mono application that we have been successfully running against Mono 3.2.7 for some time now. We have built Mono ourselves from the source because we're targeting the i586 architecture. We're targeting a headless embedded device, so we've tried to remove things that we don't use. One of those things is Remoting support. I just got done getting 3.10.1 built and moved over to a target and now when I run our app I get a MissingMethodException. ThreadPool.QueueUserWorkItem seems to be calling into Remoting. What's up with that? Here's the inner exception and its stack trace: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializ er for SolutionFamily.SFTrace --- System.TypeInitializationException: An excepti on was thrown by the type initializer for OpenNETCF.IoC.RootWorkItem --- System. MissingMethodException: Cannot find the requested method. at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices:IsTrans parentProxy (object) at System.Delegate.IsTransparentProxy () [0x0] in filename unknown:0 at System.Threading.ThreadPool.QueueUserWorkItem (System.Threading.WaitCallback callBack, System.Object state) [0x0] in filename unknown:0 at System.Threading.ThreadPool.QueueUserWorkItem (System.Threading.WaitCallback callBack) [0x0] in filename unknown:0 at OpenNETCF.IoC.WorkItem..ctor () [0x0] in filename unknown:0 at OpenNETCF.IoC.RootWorkItem..cctor () [0x0] in filename unknown:0 --- End of inner exception stack trace --- I can go back and regenerate everything with Remoting support, but I'm wondering why this is getting called at all when it wasn't in 3.2.7. -Chris ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list