[Mono-devel-list] compiling mono on ultralinux sparc - flaky?

Esposito, David desposito at opentv.com
Fri Apr 8 18:23:07 EDT 2005

Ok, so the ABI is how an application interfaces with system libraries,
right? Generally the ultra sparc linux system relies on gcc to take care of
those details. Since mono doesn't bootstrap itself with gcc, it's up to mono
to deal with this. I'll look into this some more and try to understand
what's involved.
Am I on the right track?

Actually, I emailed latexer at gentoo.org (mono ebuild maintainer) earlier and
he said he thought there was some issue with exception handling (also part
of the ABI I guess) on sparc linux.

Anyway, I've gotten through the compile (by re-running the parts that failed
as in previous email, and end up here:

make install-local
make[7]: Entering directory
../../class/lib/net_1_1_bootstrap/gacutil.exe /i
../../class/lib/default/System.dll /f  /root
/var/tmp/portage/mono-1.1.6/image//usr/lib /package 1.0

Unhandled Exception: System.DllNotFoundException: libc.so
#0: 0x0000d throw      in (wrapper managed-to-native)
Mono.Tools.Driver:symlink (string,string) ([0xf7300] [0xe96e0] )
#1: 0x00177 call       in Mono.Tools.Driver:Install
(bool,string,string,string,string,string,string) ([0] [0xeef60] [0xedf90]
[0xf7f80] [0xf2bd0] [0xead90] [0xb5e10] )
#2: 0x001f2 call       in Mono.Tools.Driver:Main (string[]) ([0xa8e40] )

make[7]: *** [install-local] Error 1

I'll have to study this more, but it looks like just an issue with paths.
I'll get back to it next week.


-----Original Message-----
From: Zoltan Varga [mailto:vargaz at gmail.com] 
Sent: Friday, April 08, 2005 1:10 PM
To: Esposito, David
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-devel-list] compiling mono on ultralinux sparc - flaky?


  sparc/linux is not (yet) supported. We need somebody with the neccessary
technical skills, motivation, and access to hardware to do the port. Since
sparc arch is supported, porting boils down do adding support for the
between solaris and linux and their ABI.


On Apr 8, 2005 9:03 PM, Esposito, David <desposito at opentv.com> wrote:
> I'm interested in running mono on sparc ultra linux (gentoo).
> Searching for both "sparc" and "ultra" on the mono website doesn't show up
> with much. Here's what I have:
> davide at venice davide $ uname -a
> Linux venice 2.4.26-sparc #3 Mon Jun 7 17:19:23 PDT 2004 sparc64 sun4u TI
> UltraSparc I   (SpitFire) GNU/Linux
> So using 1.1.6 tar file and configure line:
> ./configure --prefix=/usr --host=sparc-unknown-linux-gnu
> /man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localsta
> tedir=/var/lib --with-preview=yes --with-tls=pthread --with-jit=no
> --with-interp
> =yes --without-icu
> It stops here:
> make[8]: Entering directory
> `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/cla
> ss/I18N/MidEast'
> make all-local
> make[9]: Entering directory
> `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/class/I18N/MidEast'
> MONO_PATH="../../../class/lib/net_2_0:$MONO_PATH"
> /var/tmp/portage/mono-1.1.6/work/mono-1.1.6/runtime/mono-wrapper
> ../../../gmcs/gmcs.exe /r:mscorlib.dll /r:I18N.dll  -d:NET_1_1 -d:NET_2_0
> -debug /noconfig  /target:library
> /out:../../../class/lib/net_2_0/I18N.MidEast.dll
> MONO_PATH="../../../class/lib/net_1_1_bootstrap:$MONO_PATH"
> /var/tmp/portage/mono-1.1.6/work/mono-1.1.6/runtime/mono-wrapper
> ../../../class/lib/net_1_1_bootstrap/sn.exe -q -R
> ../../../class/lib/net_2_0/I18N.MidEast.dll ../../../class/mono.snk
> Unhandled Exception: System.IO.FileNotFoundException:
> st.dll :
> st.dll
> make[9]: *** [../../../class/lib/net_2_0/I18N.MidEast.dll] Error 1
> I looked and the file ../../../class/lib/net_2_0/I18N.MidEast.dll is not
> there. So the following line, which looks like it's putting a strong key
> the assembly, fails.
> Strange thing is that I went into there and ran the command by hand and
> ../../../class/lib/net_2_0/I18N.MidEast.dll was created w/o error!
> So I re-ran the whole compile and had the same issue as above, (error
> applying a strong key to a missing file), but somewhere's else in the
> So, there seems to be some kind of non-reproducable error here.
> I got this on 2 different machines, (an ultra 5 and ultra 1), so I don't
> think it's my hardware (although it is old and cranky).
> I'm willing to put some effort into making this work, if someone could
> me in the correct direction.
> I couldn't find any mention of linux sparc on the mono website.
>   _____
> David Esposito
> Senior Software Engineer
> _______________________________________________
> 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