[Mono-dev] 2.6 preview 1

Erven Rohou erven.rohou at inria.fr
Thu Nov 12 03:25:00 EST 2009


Hello,

I tried to build the preview 2.6 on Sparc and PowerPC. It failed on both, 
apparently because of problems in GC, but for different reasons.

The problem on powerpc looks similar to 
https://bugzilla.redhat.com/show_bug.cgi?id=494026 in Mono-2.4.

I may well be missing something...

--
Erven.

Sparc: UltraSparc IIe, Linux 2.6.26, gcc-4.3.2
make[3]: Entering directory `/local/rohou/mono-2.6/mono/metadata'
LD      pedump
../../libgc/.libs/libmonogc.a(alloc.o): In function `GC_set_fl_marks':
/local/rohou/mono-2.6/libgc/alloc.c:615: undefined reference to 
`GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(mallocx.o): In function `GC_atomic_add':
/local/rohou/mono-2.6/libgc/./include/private/gc_locks.h:596: undefined 
reference to `GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_set_mark_bit':
/local/rohou/mono-2.6/libgc/mark.c:189: undefined reference to 
`GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_mark_from':
/local/rohou/mono-2.6/libgc/mark.c:688: undefined reference to 
`GC_compare_and_exchange'
/local/rohou/mono-2.6/libgc/mark.c:791: undefined reference to 
`GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(mark.o):/local/rohou/mono-2.6/libgc/mark.c:801: 
more undefined references to `GC_compare_and_exchange' follow
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_steal_mark_stack':
/local/rohou/mono-2.6/libgc/mark.c:841: undefined reference to `GC_memory_barrier'
/local/rohou/mono-2.6/libgc/mark.c:852: undefined reference to `GC_memory_barrier'
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_return_mark_stack':
/local/rohou/mono-2.6/libgc/mark.c:900: undefined reference to `GC_memory_barrier'
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_mark_local':
/local/rohou/mono-2.6/libgc/mark.c:993: undefined reference to 
`GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_mark_and_push':
/local/rohou/mono-2.6/libgc/mark.c:1322: undefined reference to 
`GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(mark.o): In function `GC_mark_and_push_stack':
/local/rohou/mono-2.6/libgc/mark.c:1391: undefined reference to 
`GC_compare_and_exchange'
../../libgc/.libs/libmonogc.a(typd_mlc.o): In function `GC_typed_mark_proc':
/local/rohou/mono-2.6/libgc/typd_mlc.c:418: undefined reference to 
`GC_compare_and_exchange'
collect2: ld returned 1 exit status
make[3]: *** [pedump] Error 1
make[3]: Leaving directory `/local/rohou/mono-2.6/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/rohou/mono-2.6/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/rohou/mono-2.6'
make: *** [all] Error 2



powerpc: 7450, Linux 2.6.30, gcc-4.4.1
  gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" 
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\"" 
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_LINUX_THREADS=1 -D_REENTRANT=1 
-DPARALLEL_MARK=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 
-I./.. -I./.. -I./include -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT 
-DUSE_MMAP -D_FILE_OFFSET_BITS=64 -D__mono_ppc__ -DUSE_COMPILER_TLS -g -MT 
alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c  -fPIC -DPIC -o .libs/alloc.o
In file included from ./include/private/gc_priv.h:96,
                  from alloc.c:20:
./include/private/gc_locks.h: In function 'GC_compare_and_exchange':
./include/private/gc_locks.h:473: error: 'asm' operand has impossible constraints
make[3]: *** [alloc.lo] Error 1
make[3]: Leaving directory `/home/rohou/mono-2.6/libgc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rohou/mono-2.6/libgc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rohou/mono-2.6'
make: *** [all] Error 2





Andrew Jorgensen a écrit :
> The first preview build of 2.6 has been published to http://mono.ximian.com/monobuild/preview/download-preview/
> 
> The windows installer in this build is known to contain a number of problems, including but not limited to:
> * Has an older build (2.4.x) of gluezilla
> * Does not contain mono-tools (monodoc browser, gsharp, gendarme, etc.) or gnome-sharp
> * Is larger than it was previously despite missing mono-tools, etc.
> 
> We are working through these problems but felt that it was more important to get the build (and the preview tarballs) out into your hands.
> 
> SLE_10 and openSUSE_10.3 binary packages have been dropped (mono-tools now requires a more recent gtk than available in SLE_10 and 10.3 will be end-of-life around the time we publish 2.6-final).
> 
> The DRAFT release notes are here: http://www.mono-project.com/Release_Notes_Mono_2.6
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list