[Mono-bugs] [Bug 412482] New: Compilation without GC broken

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 26 18:48:34 EDT 2008


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


           Summary: Compilation without GC broken
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Other
            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 r108873, compiling Mono without GC ( --with-gc=none) fails:

/bin/sh ../../libtool --quiet --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../../mono/mono/mini   -m64 -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 -I../../../mono  -D_REENTRANT -D_PTHREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -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 driver.lo -MD -MP -MF
deps/driver.Tpo -c -o driver.lo ../../../mono/mono/mini/driver.c
./../../mono/mono/mini/driver.c: In function `mono_main':
./../../mono/mono/mini/driver.c:1150: warning: assignment from incompatible
pointer type
./../../mono/mono/mini/driver.c:1151: warning: assignment from incompatible
pointer type
./../../mono/mono/mini/driver.c:1153: warning: assignment from incompatible
pointer type
./../../mono/mono/mini/driver.c:1355: error: `GC_dont_expand' undeclared
(first use in this function)
./../../mono/mono/mini/driver.c:1355: error: (Each undeclared identifier is
reported only once
./../../mono/mono/mini/driver.c:1355: error: for each function it appears in.)
make[4]: *** [driver.lo] Error 1
make[4]: Leaving directory `/export/home/andreas/Mono/mono-amd64/mono/mini'

Looks like it unconditionally tries to use a GC function?

Host is OpenSolaris snv_93, and it used to work 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