All this means is that the managed allocators won't be used.
On Mon, Aug 26, 2013 at 8:07 PM, Bassam Tabbara <bas...@symform.com> wrote: > 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 to linux with with-tls=pthread. > > From: Rodrigo Kumpera <kump...@gmail.com> > Date: Monday, August 26, 2013 5:01 PM > > To: Bassam Tabbara <bas...@symform.com> > Cc: "mono-devel-list@lists.ximian.com" <mono-devel-list@lists.ximian.com> > Subject: Re: [Mono-dev] SGEN support when cross compiling > > 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 run test program while cross compiling >> >> I worked around it with the following: >> >> >> https://github.com/symform/mono/commit/fe5c582a1a2d241f368c86081b3cb7ea53994f51 >> >> Do others not see this? >> >> From: Rodrigo Kumpera <kump...@gmail.com> >> Date: Monday, August 26, 2013 4:30 PM >> To: Bassam Tabbara <bas...@symform.com> >> Cc: "mono-devel-list@lists.ximian.com" <mono-devel-list@lists.ximian.com> >> Subject: Re: [Mono-dev] SGEN support when cross compiling >> >> 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 >>> check is made if __thread is functioning and that fails with the following >>> error when cross compiling: >>> >>> configure: error: cannot run test program while cross compiling >>> [ >>> >>> I can work around this but disable the check during configuration, but >>> I'm now wondering whether anyone is using sgen on ARM platforms? Are you >>> cross compiling for those platforms? I must be missing something simple >>> here. >>> >>> Thanks! >>> Bassam >>> >>> _______________________________________________ >>> 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