[Mono-dev] Mono 2.8 fails to build on Solaris 10 SPARC

Francis A. Bausch fbausch at dracorp.com
Thu Oct 7 17:25:42 EDT 2010


I just filed a bug report on a similar build failure on Sparc - #644789.
My message pointed me at mono/mini/tramp_sparc.c still using mono_jit_stats.method_trampolines;
But method_trampolines is no longer a method of monoJitStats.

It looks to me that sparc code may not have been updated to match updates to underlying code.

f.

From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Rodrigo Kumpera
Sent: Thursday, October 07, 2010 5:07 PM
To: Lou Picciano
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Mono 2.8 fails to build on Solaris 10 SPARC

Well, it's a bug in the compiler as it fails to compile a source file not due a syntax error.


On Thu, Oct 7, 2010 at 5:57 PM, Lou Picciano <loupicciano at comcast.net<mailto:loupicciano at comcast.net>> wrote:
Rodrigo,

Of course, I did see the message - but do you think it's accurate?  (This is a 4 GB SPARC, which has been in many, many compile cycles without a hitch.  Especially after seeing all the messages preceding the 'out of memory' error, not sure I'm convinced.

Anyone else have a thought on this?

Lou

----- Original Message -----
From: "Rodrigo Kumpera" <kumpera at gmail.com<mailto:kumpera at gmail.com>>
To: "Lou Picciano" <loupicciano at comcast.net<mailto:loupicciano at comcast.net>>
Cc: "mono-devel-list" <mono-devel-list at lists.ximian.com<mailto:mono-devel-list at lists.ximian.com>>
Sent: Wednesday, October 6, 2010 11:17:52 PM
Subject: Re: [Mono-dev] Mono 2.8 fails to build on Solaris 10 SPARC

You need a machine with more virtual memory as your compiler is dying out of lack of it
.
On Thu, Oct 7, 2010 at 12:10 AM, Lou Picciano <loupicciano at comcast.net<mailto:loupicciano at comcast.net>> wrote:
Skipping over Mono2.6.1 for the moment, trying to build 2.8 from source on Solaris 10 SPARC:
./configure proceeds without a hitch...

./make, however:

make[3]: Entering directory `/opt/SOURCES/mono-2.8/mono/mini'
if test -d ../../.git; then \
                (cd ../..; \
                        LANG=C; export LANG; \
                        branch=`git branch | grep '^\*' | cut -d ' ' -f 2`; \
                        version=`git log --no-color --first-parent -n1 --pretty=format:%h`; \
                        echo "#define FULL_VERSION \"$branch/$version\""; \
                ); \
        else \
                echo "#define FULL_VERSION \"tarball\""; \
        fi > version.h
CC      genmdesc-genmdesc.o
CC      genmdesc-helpers.o
CC      genmdesc-opcodes.o
LD      genmdesc
./genmdesc  cpu-sparc.h sparc_desc ./cpu-sparc.md<http://cpu-sparc.md>
make  all-am
make[4]: Entering directory `/opt/SOURCES/mono-2.8/mono/mini'
CC      libmono_2_0_la-mini.lo
mini.c: In function `setup_jit_tls_data':
mini.c:2481: warning: assignment makes pointer from integer without a cast
CC      libmono_2_0_la-method-to-ir.lo

cc1: out of memory allocating 25463688 bytes after a total of 4849664 bytes
make[4]: *** [libmono_2_0_la-method-to-ir.lo] Error 1
make[4]: Leaving directory `/opt/SOURCES/mono-2.8/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/SOURCES/mono-2.8/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/SOURCES/mono-2.8/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/SOURCES/mono-2.8'
make: *** [all] Error 2


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-devel-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101007/e992c290/attachment-0001.html 


More information about the Mono-devel-list mailing list