[Mono-dev] mono-test-suite fails with pid/tid assert

Robert Jordan robertj at gmx.net
Fri Aug 6 08:00:33 EDT 2010

On 06.08.2010 12:40, Alexander Stohr wrote:
> problem:
> right now i am using the daily snapshot of mono dated 2010-08-02 in a custom bitbake setup (made this work on my own) for cross compilation using this set of switches:
> EXTRA_OECONF_arm += " --disable-mcs-build --with-mcs-docs=no --with-sgen --enable-small-config --with-tls=pthread --with-sigaltstack=no CFLAGS=-DARM_FPU_NONE"


> whats wrong here?
> * can it be in my setup of mono? (i have not added any option to configure - if yes, what should i add and why?)

You're contradicting yourself since you're actually using a lot of
configure options:

--disable-mcs-build --with-mcs-docs=no --with-sgen --enable-small-config 
--with-tls=pthread --with-sigaltstack=no CFLAGS=-DARM_FPU_NONE

One of them (--with-sgen) is likely critical. Try w/out it.

> PS: here is a snippet from a "make -i check" with a bit more context
> make test-local
> make[8]: Entering directory `/mnt_data/mono-20100802/mcs/class/System'
> MCS     [net_2_0] System.dll
> mono: pthread_getattr_np.c:74: pthread_getattr_np: Assertion `abs (thread->pid) == thread->tid' failed.
> make[8]: [../../class/lib/net_2_0/tmp/System.dll] Error 127 (ignored)
> :  -R ../../class/lib/net_2_0/tmp/System.dll ./../../class/mono.snk
> cp: can't stat './../../class/lib/net_2_0/tmp/System.dll': No such file or directory
> make[8]: [../../class/lib/net_2_0/System.dll] Error 1 (ignored)
> :  -v ../../class/lib/net_2_0/System.dll

This could be caused by "--disable-mcs-build" and "--enable-small-
config". These options imply that you're populating mono's lib dir
with pre-compiled (and matching!) assemblies from another system.


More information about the Mono-devel-list mailing list