[Mono-dev] SGEN support when cross compiling

Bassam Tabbara bassam at symform.com
Mon Aug 26 23:36:51 UTC 2013


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 <kumpera at gmail.com<mailto:kumpera at gmail.com>>
Date: Monday, August 26, 2013 4:30 PM
To: Bassam Tabbara <bassam at symform.com<mailto:bassam at symform.com>>
Cc: "mono-devel-list at lists.ximian.com<mailto:mono-devel-list at lists.ximian.com>" <mono-devel-list at lists.ximian.com<mailto:mono-devel-list at 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 <bassam at symform.com<mailto:bassam at 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 at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-devel-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130826/66e1693d/attachment.html>


More information about the Mono-devel-list mailing list