Hi all, Thanks for the explanation for '-d', that was obvious :)
I can compile mono (make V=1 PROFILE=basic) on PowerPC system using: ./autogen.sh --prefix=$HOME/blah --disable-parallel-mark --with-gc=none --enable-checked-build=all --disable-nls --with-sgen=no So clearly there is something going on wrong with sgen-* code and multithread(s) on PPC. I have two questions-: - Does MONO_THREADS_PER_CPU=1 control the number of threads created by sgen-gc implementation ? It does not seems so on my side. - Is there a way for me to run the sgen implementation test suite ? I suspect that such a large piece of code must have some low level test-suite ? Same question: is there a way to make it more debug friendly (the runtime MONO_GC_DEBUG=1 is a bit limited) ? Thanks much again. bonus question: could someone please comment on: https://github.com/mono/mono/commit/cb86279a08ede87d641f5a84308d09d17e9f9816 Check the line that read: [...] mgreg_t regs [19]; /*FIXME, this must be changed to 32 for sgen*/ [...] Regards On Fri, Apr 1, 2016 at 3:06 PM, Alexander Köplinger <alexander.koeplin...@xamarin.com> wrote: > ASYNC is just a #ifdef symbol which gets defined when the -d option is > passed to the compiler (basic.exe in this case, which is basically the mcs > C# compiler). > > You would need to look into the .cs files mentioned in > System.Xml.dll.sources to find out which pieces of the code light up when > that symbol is defined. > From there on you can try reducing the test case to a small repro sample > that you can debug. > > As Jo said in his email, I'd also suggest looking at the 4.4 > release/branches since those will be the next stable release in the near > future. > > - Alex > > 2016-04-01 9:37 GMT+02:00 Mathieu Malaterre <ma...@debian.org>: >> >> My initial post was a bit vague. Let me rephrase it. >> >> I am trying to solve the following issue: >> >> https://bugzilla.xamarin.com/show_bug.cgi?id=40037 >> >> I would like to know where is the documentation for the '-d:ASYNC' >> documentation ? I've naively tried: >> >> % ./mono basic.exe --help >> [...] >> -define:S1[;S2] Defines one or more conditional symbols (short: -d) >> [...] >> >> Which is missing the information for the 'ASYNC' meaning. >> >> Regards. >> _______________________________________________ >> 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