[Mono-dev] Compiling Mono on SPARC

Andreas Färber andreas.faerber at web.de
Fri Apr 25 14:13:02 EDT 2008


Am 25.04.2008 um 19:15 schrieb Steve Bjorg:

> Any thoughts on what's going on?

Not really. Obviously mono segfaults, but not for the version info. So  
I'd suspect either the GC or the JIT.

* Have you tried compiling without GC (--with-gc=none) or with a more  
recent, external Boehm GC?

* Since mono itself is there, you could try compiling without mcs (-- 
disable-mcs-build) and copy the assemblies over from another machine.  
Then you can try running a Hello World and (more easily) look at it  
with gdb if necessary (or run the test suite).

* In December, Zoltan mentioned the 64-bit ABI were not supported.  
Maybe you need to use CC="gcc -m32" or similar flags.

* I remember someone contributing sparc JIT fixes sometime last year -  
search the list archives and check (i.e., revert) those latest  
patches. Most likely that contributor will have run Solaris, so you  
may want to inquire whether they have any issues now.

Andreas

> - Steve
>
> --------------
> Steve G. Bjorg
> http://wiki.mindtouch.com
> http://wiki.opengarden.org
>
>
> On Apr 18, 2008, at 12:11 PM, PCM Reddy wrote:
>
>> Andreas Färber wrote:
>>>
>>> Am 18.04.2008 um 20:53 schrieb PCM Reddy:
>>>
>>>> I am using gtar. also renamed the original solaris  "mcs" command
>>>> too.
>>>> Now I downloaded latest mono-1.9 and tried to compile.
>>>>
>>>> Compilation failed at "mcs" and  When I ran gmake from mcs folder
>>>> this
>>>> is what I got.
>>>>
>>>> mkdir -p -- ../class/lib/default/
>>>> touch ../class/lib/default//.stamp
>>>> MONO_PATH="../class/lib/net_1_1_bootstrap:$MONO_PATH"
>>>> /tmp/mono-1.9/runtime/mono-wrapper
>>>> ../class/lib/net_1_1_bootstrap/mcs.exe /codepage:65001   -d:NET_1_1
>>>> -d:ONLY_1_1 -debug -target:exe -out:mcs.exe cs-parser.cs
>>>> @mcs.exe.sources
>>>> Segmentation Fault - core dumped
>>>> gmake[2]: *** [../class/lib/default/mcs.exe] Error 139
>>>> gmake[2]: Leaving directory `/tmp/mono-1.9/mcs/mcs'
>>>> gmake[1]: *** [do-all] Error 2
>>>
>>> Looks bad ... does `mono/mini/mono -V` work?
>> root at pcmr # ./mono/mini/mono -V
>> Mono JIT compiler version 1.9 (tarball)
>> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
>>       TLS:           normal
>>       GC:            Included Boehm (with typed GC)
>>       SIGSEGV:       normal
>>       Notification:  Thread + polling
>>       Architecture:  sparc
>>       Disabled:      none
>>
>>>
>>> Andreas
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list