[Mono-bugs] [Bug 412499] New: Compilation failure for big arrays

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jul 27 07:56:45 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=412499


           Summary: Compilation failure for big arrays
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.faerber at web.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


At r108917, I get the following compilation failure when compiling with
--enable-big-arrays:

/bin/sh ../../libtool --quiet --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../../mono/mono/metadata -I../../../mono -I../../../mono/mono 
-D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0
-I/usr/lib/amd64/glib-2.0/include   -DMONO_BINDIR=\"/opt/mono/bin/amd64/\"
-DMONO_ASSEMBLIES=\"/opt/mono/lib\" -DMONO_CFG_DIR=\"/opt/mono/etc\"  -m64
-I/opt/mono-gc/include -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  -m64
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -Wno-char-subscripts -MT
object.lo -MD -MP -MF .deps/object.Tpo -c -o object.lo
./../../mono/mono/metadata/object.c
./../../mono/mono/metadata/object.c: In function `mono_array_new_full':
./../../mono/mono/metadata/object.c:3694: error: syntax error before
"mono_gc_out_of_memory"
./../../mono/mono/metadata/object.c:3699: error: syntax error before
"mono_gc_out_of_memory"
./../../mono/mono/metadata/object.c:3702: error: syntax error before
"mono_gc_out_of_memory"
./../../mono/mono/metadata/object.c: In function `mono_array_new_specific':
./../../mono/mono/metadata/object.c:3789: warning: comparison is always false
due to limited range of data type
./../../mono/mono/metadata/object.c:3789: error: syntax error before '{' token
./../../mono/mono/metadata/object.c:3772: warning: unused variable `o'
./../../mono/mono/metadata/object.c:3773: warning: unused variable `ao'
./../../mono/mono/metadata/object.c: At top level:
./../../mono/mono/metadata/object.c:3793: error: syntax error before '+='
token
./../../mono/mono/metadata/object.c:3797: error: syntax error before
"MonoArray"
./../../mono/mono/metadata/object.c:3798: error: syntax error before '(' token
./../../mono/mono/metadata/object.c:3807: warning: type defaults to `int' in
declaration of `ao'
./../../mono/mono/metadata/object.c:3807: error: `o' undeclared here (not in a
function)
./../../mono/mono/metadata/object.c:3807: warning: data definition has no type
or storage class
./../../mono/mono/metadata/object.c:3808: error: syntax error before '->'
token
make[3]: *** [object.lo] Error 1

Line 3694 itself looks okay, there are previous instances that don't error, and
it happens both for Boehm GC and for no GC.

It compiled fine earlier.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list