Mono on Solaris 10/11 (SPARC64)?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Mono on Solaris 10/11 (SPARC64)?

cocowalla
Has anyone got Mono to compile on Solaris 10 or 11 for SPARC? I've spent the past couple of days just trying to build glib and seem to be getting nowhere... :( I've been using this (for x86_64) as a guide, but it seems glib on SPARC is a bit trickier...

View this message in context: Mono on Solaris 10/11 (SPARC64)?
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Mono on Solaris 10/11 (SPARC64)?

cocowalla
So I finally got glib to build... even if I'm not entirely sure what I did different from before! Now I'm struggling to build Mono. First attempt, I get an error about an undefined symbol locale_charset in ../src/.libs/libeglib.a(libeglib_la-gunicode.o). I edited config.h as suggested here, and get a bit further. Now I get: libtool: compile: gcc -m64 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono -I../../libgc/include -I../../eglib/src -I../../eglib/src -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DPLATFORM_SOLARIS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS -m64 -I/home/c/cocowalla/local/include -I/usr/include -fno-strict-aliasing -Wdeclaration-after-statement -Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-char-subscripts -Wno-cast-align -mcpu=v9 -Werror-implicit-function-declaration -MT dlmalloc.lo -MD -MP -MF .deps/dlmalloc.Tpo -c dlmalloc.c -fPIC -DPIC -o .libs/dlmalloc.o dlmalloc.c: In function 'init_mparams': dlmalloc.c:2484:5: error: implicit declaration of function 'sysconf' [-Werror=implicit-function-declaration] mparams.page_size = malloc_getpagesize; ^ dlmalloc.c:2484:5: warning: nested extern declaration of 'sysconf' [-Wnested-externs] cc1: some warnings being treated as errors make[4]: *** [dlmalloc.lo] Error 1 Not sure where to begin with this one... ?

View this message in context: Re: Mono on Solaris 10/11 (SPARC64)?
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Mono on Solaris 10/11 (SPARC64)?

cocowalla

Still stuck, after a day meddling!

I was trying to build mono 3.4.0 from the release tarball, but get the same result from a later GitHub snapshot, 079c2e126f594c5a338a779c72a899951de38960.

Here's my autogen command:

MAKE=gmake RANLIB=granlib AR=gar STRIP=gstrip CC="gcc -m64" CFLAGS="-m64 -I$HOME/local/include -I/usr/include" LDFLAGS="-L$HOME/local/lib -L/usr/lib/64" AS="as -64" ./autogen.sh --prefix=$HOME/local/monoSPARC64 --with-profile4=yes --with-profile4_5=no --disable-moonlight --disable-nls --enable-minimal=aot,profiler,com --disable-libraries --disable-boehm --with-mcs-docs=no


View this message in context: Re: Mono on Solaris 10/11 (SPARC64)?
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Mono on Solaris 10/11 (SPARC64)?

cocowalla
I've now tried with a later Mono snapshot from GitHub, but still get the same
result. I also get the same result if I try a 32-bit build instead of 64-bit
:(


cocowalla wrote

> Still stuck, after a day meddling!
> I was trying to build mono 3.4.0 from the release tarball, but get the
> same result from a later GitHub snapshot,
> 079c2e126f594c5a338a779c72a899951de38960.
>
> Here's my autogen command:
>
> MAKE=gmake RANLIB=granlib AR=gar STRIP=gstrip CC="gcc -m64" CFLAGS="-m64
> -I$HOME/local/include -I/usr/include" LDFLAGS="-L$HOME/local/lib
> -L/usr/lib/64" AS="as -64" ./autogen.sh --prefix=$HOME/local/monoSPARC64
> --with-profile4=yes --with-profile4_5=no --disable-moonlight --disable-nls
> --enable-minimal=aot,profiler,com --disable-libraries --disable-boehm
> --with-mcs-docs=no





--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-on-Solaris-10-11-SPARC64-tp4663175p4663188.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Mono on Solaris 10/11 (SPARC64)?

Steve Hall
Hi

I really struggled to get any of the Mono 3.x series to build on Solaris SPARC (10 or 11).  Falling back to 2.10.8 wasn't so bad though - the problems were at least fixable!

What errors are you seeing?

Steve


On 26 Jun 2014, at 14:34, cocowalla <[hidden email]> wrote:

> I've now tried with a later Mono snapshot from GitHub, but still get the same
> result. I also get the same result if I try a 32-bit build instead of 64-bit
> :(
>
>
> cocowalla wrote
>> Still stuck, after a day meddling!
>> I was trying to build mono 3.4.0 from the release tarball, but get the
>> same result from a later GitHub snapshot,
>> 079c2e126f594c5a338a779c72a899951de38960.
>>
>> Here's my autogen command:
>>
>> MAKE=gmake RANLIB=granlib AR=gar STRIP=gstrip CC="gcc -m64" CFLAGS="-m64
>> -I$HOME/local/include -I/usr/include" LDFLAGS="-L$HOME/local/lib
>> -L/usr/lib/64" AS="as -64" ./autogen.sh --prefix=$HOME/local/monoSPARC64
>> --with-profile4=yes --with-profile4_5=no --disable-moonlight --disable-nls
>> --enable-minimal=aot,profiler,com --disable-libraries --disable-boehm
>> --with-mcs-docs=no
>
>
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Mono-on-Solaris-10-11-SPARC64-tp4663175p4663188.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  [hidden email]
> http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list