[Mono-dev] problem with mono_memory_barrier

Rodrigo Kumpera kumpera at gmail.com
Sun Feb 10 20:25:07 EST 2008


Hi Travis,

The issue seens to be that memory barrier functions are not defined for the
alpha target.


Rodrigo


2008/2/10 Travis Miller <raphtee at gmail.com>:

> Hi, I am building mono 1.2.6 (latest stable) from source on a DEC Alpha
> running Debian Etch.  The problem I am having is duing the build of mono
> which is that I get
>
> ./.libs/libmonoruntime.a(domain.o): In function `get_hazardous_pointer':
> /usr/local/mono-1.2.6/mono/metadata/domain.c:252: undefined reference to
> `mono_memory_write_barrier'
> ./.libs/libmonoruntime.a(domain.o): In function `mono_jit_info_table_add':
> /usr/local/mono-1.2.6/mono/metadata/domain.c:683: undefined reference to
> `mono_memory_barrier'
> /usr/local/mono-1.2.6/mono/metadata/domain.c:704: undefined reference to
> `mono_memory_write_barrier'
> /usr/local/mono-1.2.6/mono/metadata/domain.c:709: undefined reference to
> `mono_memory_write_barrier'
> /usr/local/mono-1.2.6/mono/metadata/domain.c:714: undefined reference to
> `mono_memory_write_barrier'
> ./.libs/libmonoruntime.a(threads.o): In function `small_id_alloc':
> /usr/local/mono-1.2.6/mono/metadata/threads.c:347: undefined reference to
> `mono_memory_write_barrier'
> collect2: ld returned 1 exit status
> make[3]: *** [pedump] Error 1
> make[3]: Leaving directory `/usr/local/mono-1.2.6/mono/metadata'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/mono-1.2.6/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/mono-1.2.6'
> make: *** [all] Error 2
>
> The mono/utils/mono-membar.h is included in the .c files that ared
> throwing the error so I fail to see how the reference is undefined.  Any
> help would be greatly appreciated.
>
> Travis Miller
>
> _______________________________________________
> Mono-devel-list mailing list
> 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/20080210/5fd92c46/attachment-0001.html 


More information about the Mono-devel-list mailing list