Andreas Färber | 12 Oct 21:03

Fwd: mono 2.0, solaris x86, bootstrap


> Here's my Solaris 10 build environment:
>
> PATH=/usr/local/bin:/opt/gdb/bin:/opt/mono/bin:/opt/sfw/bin:/opt/sfw/ 
> sbin:/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin
> export PATH
> export MAKE=gmake
> export AR=gar
> export STRIP=gstrip
> export RANLIB=granlib
> export AS=gas

Note: /opt/gdb is a self-compiled amd64 GDB - not needed for  
bootstrapping.
Some GNU packages from the Companion CD are used here, Subversion  
comes from sunfreeware.com.

> x86:
>
> GC_PREFIX=/opt/mono-gc7.0
> ../gc-7.0/configure --prefix=$GC_PREFIX CC=gcc MAKE=gmake AR=gar  
> RANLIB=granlib STRIP=gstrip AS=gas INSTALL=/usr/ucb/install
>
> ../mono/configure --prefix=/opt/mono --with-tls=pthread --with- 
> sigaltstack=no --with-gc=boehm --enable-dtrace \
> CC=gcc MAKE=gmake AR=gar RANLIB=granlib STRIP=gstrip AS=gas INSTALL=/ 
> usr/ucb/install \
> CPPFLAGS=-I/opt/mono-gc7.0/include LDFLAGS=-L/opt/mono-gc7.0/lib
>
> amd64:
(Continue reading)

Andreas Färber | 19 Oct 10:32

Re: mono 2.0, solaris x86, bootstrap

Hi Pablo et al.,

I've compiled the latest Mono trunk on S10 5/08, and faced some issues  
but two different ones: ;)

* GNU gettext or something was probably not installed, so gmake failed  
early when trying to process mcs' .po files. As a workaround I added -- 
disable-nls to the configure switches.

* I had r104591 (post-1.9) installed, and compilation of the net_2_0  
assemblies failed due to some class missing in the old mscorlib.dll  
apparently. Removing the installed Mono and using the latest monolite  
instead worked fine however. I remember having such an issue before -  
is this expected?

-bash-3.00$ uname -a
SunOS sonnengoettin 5.10 Generic_137112-08 i86pc i386 i86pc
-bash-3.00$ mono -V
Mono JIT compiler version 2.1 (/trunk/mono r116391)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
         TLS:           normal
         GC:            System Boehm (with typed GC)
         SIGSEGV:       normal
         Notification:  Thread + polling
         Architecture:  x86
         Disabled:      none

Btw I noticed that lacking git-svn (didn't find the SVN Perl files on  
S10 on quick search...), Mono from my Git repo wrongly said "Mono JIT  
compiler version 1.9 (tarball)". I'll see if I can piece together a  
(Continue reading)


Gmane