[Mono-bugs] [Bug 348193] New: Mono is incompatible with Boehm GC 7.0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 12 15:14:47 EST 2007


User andreas.faerber at web.de added comment

           Summary: Mono is incompatible with Boehm GC 7.0
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Solaris 10
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: GC
        AssignedTo: lupus at novell.com
        ReportedBy: andreas.faerber at web.de
         QAContact: mono-bugs at ximian.com
            Blocks: 324005
          Found By: ---

Compiling Mono against a system-installed Boehm GC 7.0 fails with:

 gcc -m64 -DHAVE_CONFIG_H -I. -I../../../../mono/mono/metadata -I../..
-I../../../../mono -I../../../../mono/mono -D_REENTRANT -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\"
-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
./../../../mono/mono/metadata/object.c  -fPIC -DPIC -o .libs/object.o
./../../../mono/mono/metadata/object.c: In function
./../../../mono/mono/metadata/object.c:870: error: `GC_gcj_fast_malloc'
undeclared (first use in this function)
./../../../mono/mono/metadata/object.c:870: error: (Each undeclared identifier
is reported only once
./../../../mono/mono/metadata/object.c:870: error: for each function it
appears in.)
gmake[3]: *** [object.lo] Error 1
gmake[3]: Leaving directory

GC_gcj_fast_malloc is only available in Boehm GC 6.x. Yet neither Boehm GC 6.8
nor Mono's libgc support Solaris/amd64. A backport of the relevant
configuration sections to libgc was proposed as part of
but rejected at the time, and the Wiki tells users to "install the latest Boehm
GC from the Boehm web site", with the latest being 7.0 since July.
(btw it should read --with-gc=boehm instead of --with-gc=system)

The above Solaris/amd64 issue #324005 could be closed if we either update libgc
or change Mono's use of Boehm GC to not rely on dropped functions. The first
solution sounds easiest, while the latter would apply to all platforms.

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

More information about the mono-bugs mailing list