[Mono-list] Mono 2.0 RC1 is out!!

Thomas Wiest twiest at novell.com
Tue Sep 9 12:46:10 EDT 2008


Hey Yury,
    Please file a bug, and please make sure to put if this worked in a 
previous release of Mono.

http://mono-project.com/Bugs


Thanks,
Thomas


Yury Serdyuk wrote:
> Thomas Wiest wrote:
>
>> Hey Everyone,
>>
>> We've just released Mono 2.0 RC1 today! Please help us out by
>> giving it a try with your applications.
>>
> Hi !
>
> I have tried to build Mono 2.0 RC1 from the sources on PowerPC 
> architecture, namely on Cell BE processor -
>
>>  proc]$ cat cpuinfo
>> processor       : 0
>> cpu             : Cell Broadband Engine, altivec supported
>> clock           : 3200.000000MHz
>> revision        : 48.0 (pvr 0070 3000)
>
> At first, during make I got
>
>> inssel.c:3158: warning: cast to pointer from integer of different size
>> LD      libmono.la
>> /usr/bin/ppu-ld: .libs/mini.o(.text+0x40e0): sibling call 
>> optimization to `mono_internal_hash_table_remove' does not allo    w 
>> automatic multiple TOCs; recompile with -mminimal-toc or 
>> -fno-optimize-sibling-calls, or make `mono_internal_hash_table    
>> _remove' extern
>> /usr/bin/ppu-ld: .libs/mini.o(.text+0x42b8): sibling call 
>> optimization to `mono_internal_hash_table_lookup' does not allo    w 
>> automatic multiple TOCs; recompile with -mminimal-toc or 
>> -fno-optimize-sibling-calls, or make `mono_internal_hash_table    
>> _lookup' extern
>> /usr/bin/ppu-ld: .libs/mini.o(.text+0x37e3c): sibling call 
>> optimization to `mono_internal_hash_table_insert' does not all    ow 
>> automatic multiple TOCs; recompile with -mminimal-toc or 
>> -fno-optimize-sibling-calls, or make `mono_internal_hash_tabl    
>> e_insert' extern
>> /usr/bin/ppu-ld: final link failed: Bad value
>> collect2: ld returned 1 exit status
>> make[4]: *** [libmono.la] Error 1
>
> Then, I've tried to configure as
>
>> ./configure --prefix=/home/user002/m-2.0rc1 CFLAGS="-mminimal-toc"
>
> and got the following
>
>> inssel.c:3158: warning: cast to pointer from integer of different size
>> LD      libmono.la
>> LD      libmono-static.la
>> CC      main.o
>> LD      mono
>> ./.libs/libmono-static.a(driver.o): In function `parse_optimizations':
>> /home/user002/mono-2.0/mono/mini/driver.c:145: undefined reference to 
>> `mono_arch_cpu_optimizazions'
>> ./.libs/libmono-static.a(debug-mini.o): In function `print_var_info':
>>                             .                   
>> .                         .
>> ./.libs/libmono-static.a(mini-codegen.o): In function 
>> `mono_regname_full':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:130: undefined 
>> reference to `mono_arch_fregname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:132: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o): In function 
>> `mono_print_ins_index':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:359: undefined 
>> reference to `mono_arch_regname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:361: undefined 
>> reference to `mono_arch_regname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:370: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o): In function `print_regtrack':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:400: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o): In function 
>> `get_register_spilling':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:523: undefined 
>> reference to `mono_arch_fregname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:537: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o): In function 
>> `mono_local_regalloc':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1064: undefined 
>> reference to `mono_arch_regname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1095: undefined 
>> reference to `mono_arch_regname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1095: undefined 
>> reference to `mono_arch_regname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1260: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o):/home/user002/mono-2.0/mono/mini/mini-codegen.c:1267: 
>> more undefined references to `mono_arch_regname' follow
>> ./.libs/libmono-static.a(mini-codegen.o): In function 
>> `mono_local_regalloc':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1416: undefined 
>> reference to `mono_arch_fregname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1569: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o): In function `alloc_int_reg':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:643: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o):(.toc1+0x30): undefined 
>> reference to `ppcg4_idx'
>> ./.libs/libmono-static.a(mini-codegen.o):(.toc1+0x38): undefined 
>> reference to `ppcg4'
>> collect2: ld returned 1 exit status
>> make[4]: *** [mono] Error 1
>
> Finally, I have tried to configure Mono for ppc32 as
>
>> ./configure --prefix=/home/user002/m-2.0rc1 
>> --target=powerpc-redhat-linux CFLAGS="-mminimal-toc"
>
> but the result is the same:
>
>> ./.libs/libmono-static.a(mini-codegen.o):/home/user002/mono-2.0/mono/mini/mini-codegen.c:1267: 
>> more undefined references to `mono_arch_regname' follow
>> ./.libs/libmono-static.a(mini-codegen.o): In function 
>> `mono_local_regalloc':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1416: undefined 
>> reference to `mono_arch_fregname'
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:1569: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o): In function `alloc_int_reg':
>> /home/user002/mono-2.0/mono/mini/mini-codegen.c:643: undefined 
>> reference to `mono_arch_regname'
>> ./.libs/libmono-static.a(mini-codegen.o):(.toc1+0x30): undefined 
>> reference to `ppcg4_idx'
>> ./.libs/libmono-static.a(mini-codegen.o):(.toc1+0x38): undefined 
>> reference to `ppcg4'
>> collect2: ld returned 1 exit status
>> make[4]: *** [mono] Error 1
>
> Yury
>
>
>
>



More information about the Mono-list mailing list