[Mono-dev] mono 2.10.1 fails to build, Solaris 386

Zoltan Varga vargaz at gmail.com
Fri Mar 4 12:47:56 EST 2011


Hi,

  Try removing -DFILE_OFFSET_BITS=64 from mono/profiler/Makefile.

                 Zoltan

On Fri, Mar 4, 2011 at 5:44 PM, Francis A. Bausch <fbausch at dracorp.com>wrote:

> Mono 2.10.1 seems to have addressed our garbage collection problems on
> linux x86_64, though SGen is giving us problems on that platform. We'd like
> to transition all our platforms to 2.10.1, but Solaris builds are failing:
>
> building mono 2.10.1 with gcc 4.5.1 on Solaris 10u8:
>
>
> Making all in profiler
> make[3]: Entering directory
> `/export/home/dev/mono/mono-2.10.1/mono-2.10.1/mono/profiler'
> CC      mono-cov.lo
> LD      libmono-profiler-cov.la
> libtool: link: warning:
> `/STORM/2.1/opensource/i386-pc-solaris5.10/lib/gcc/i386-pc-solaris2.10/4.5.1/../../../libstdc++.la'
> seems to be moved
> CC      mono-profiler-aot.lo
> LD      libmono-profiler-aot.la
> libtool: link: warning:
> `/STORM/2.1/opensource/i386-pc-solaris5.10/lib/gcc/i386-pc-solaris2.10/4.5.1/../../../libstdc++.la'
> seems to be moved
> CC      mono-profiler-iomap.lo
> LD      libmono-profiler-iomap.la
> libtool: link: warning:
> `/STORM/2.1/opensource/i386-pc-solaris5.10/lib/gcc/i386-pc-solaris2.10/4.5.1/../../../libstdc++.la'
> seems to be moved
> CC      proflog.lo
> In file included from /usr/include/link.h:14:0,
>                 from proflog.c:37:
> /usr/include/libelf.h:24:2: error: #error "large files are not supported by
> libelf"
> proflog.c: In function 'mono_sample_hit':
> proflog.c:1195:3: warning: passing argument 1 of
> 'InterlockedCompareExchangePointer' from incompatible pointer type
> ../../mono/io-layer/atomic.h:90:24: note: expected 'void * volatile*' but
> argument is of type 'volatile void **'
> proflog.c: At top level:
> proflog.c:1259:1: warning: 'dump_ubin' defined but not used
> proflog.c:1318:1: warning: 'read_elf_symbols' defined but not used
> make[3]: *** [proflog.lo] Error 1
> make[3]: Leaving directory
> `/export/home/dev/mono/mono-2.10.1/mono-2.10.1/mono/profiler'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/export/home/dev/mono/mono-2.10.1/mono-2.10.1/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/dev/mono/mono-2.10.1/mono-2.10.1'
> make: *** [all] Error 2
>
>
>
> Francis A. Bausch | fbausch at dracorp.com | 703.299.0700 x213
>     Data Research and Analysis Corp.  |  www.dracorp.com
>
> _______________________________________________
> Mono-devel-list mailing list
> 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/20110304/d341b90d/attachment.html 


More information about the Mono-devel-list mailing list