[Mono-dev] build faild in libgc

2012-05-23 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD box, since e7f3bbad80fe04bea1a055e870d856a22003d34d of Mono trunk
build failed. Following is error message.

./doltlibtool --mode=compile --tag=CC gcc -DPACKAGE_NAME=\"libgc-mono\" 
-DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\" 
-DPACKAGE_STRING=\"libgc-mono\ 6.6\" -DPACKAGE_BUGREPORT=\"hans_bo...@hp.com\" 
-DPACKAGE_URL=\"\" -DGC_FREEBSD_THREADS=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 -DLT_OBJDIR=\".libs/\" -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../../mono/libgc/.. 
-I../../mono/libgc/include  -DGC_FREEBSD_THREADS -DPLATFORM_BSD 
-I/usr/local/include -D__default_codegen__  -g -mno-tls-direct-seg-refs   -MT 
pthread_support.lo -MD -MP -MF .deps/pthread_support.Tpo -c -o 
pthread_support.lo ../../mono/libgc/pthread_support.c
../../mono/libgc/pthread_support.c: In function 'GC_register_altstack':
../../mono/libgc/pthread_support.c:870: error: 'main_pthread_self' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c:870: error: (Each undeclared identifier is 
reported only once
../../mono/libgc/pthread_support.c:870: error: for each function it appears in.)
../../mono/libgc/pthread_support.c:871: error: 'main_stack' undeclared (first 
use in this function)
../../mono/libgc/pthread_support.c:872: error: 'main_stack_size' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c:873: error: 'main_altstack' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c:874: error: 'main_altstack_size' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c: In function 'GC_thr_init':
../../mono/libgc/pthread_support.c:1114: error: 'main_pthread_self' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c:1115: error: 'main_stack' undeclared (first 
use in this function)
../../mono/libgc/pthread_support.c:1116: error: 'main_stack_size' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c:1117: error: 'main_altstack' undeclared 
(first use in this function)
../../mono/libgc/pthread_support.c:1118: error: 'main_altstack_size' undeclared 
(first use in this function)
gmake[3]: *** [pthread_support.lo] Error 1

Thnaks.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] in tests/Makefile.am, "bug-3903.cs" needs "$(srcdir)"

2012-05-03 Thread KISHIMOTO, Makoto
Hello,

In tests/Makefile.am, "bug-3903.cs" needs prefix "$(srcdir)/" .
Patch attached.
diff --git a/mono/tests/Makefile.am b/mono/tests/Makefile.am
index 8731eba..3c0c9d9 100644
--- a/mono/tests/Makefile.am
+++ b/mono/tests/Makefile.am
@@ -891,7 +891,7 @@ generic-delegate2.2.exe : generic-delegate2.2.cs 
generic-delegate2-lib.2.dll
$(MCS) -r:generic-delegate2-lib.2.dll -out:$@ 
$(srcdir)/generic-delegate2.2.cs
 
 bug-3903.exe: bug-3903.cs
-   $(MCS) -sdk:2 bug-3903.cs -out:bug-3903.exe
+   $(MCS) -sdk:2 $(srcdir)/bug-3903.cs -out:bug-3903.exe
 
 gshared: test-generic-sharing
 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] build error (No rule to make target `../../../external/cecil/Mono.Collections.Generic/Collection.cs')

2012-05-03 Thread KISHIMOTO, Makoto
Hello,

I found that the command that I need is "git submodule update --init" .
Thanks. 

On Wed, 02 May 2012 07:55:24 +0100
Marek Safar  wrote:
> Hi,
> 
> Try to reconfigure your mono.
> 
> Marek
> > These days (after 2012/Apr/28) master HEAD of Mono cannot build
> > at my FreeBSD box.
> > Following is error message.
(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] build error (No rule to make target `../../../external/cecil/Mono.Collections.Generic/Collection.cs')

2012-05-01 Thread KISHIMOTO, Makoto
Hello

These days (after 2012/Apr/28) master HEAD of Mono cannot build
at my FreeBSD box.
Following is error message.

gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cecil'
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cecil'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cecil'
gmake all-local
gmake[8]: Entering directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cecil'
gmake[8]: *** No rule to make target 
`../../../external/cecil/Mono.Collections.Generic/Collection.cs', needed by 
`../../class/lib/net_2_0/Mono.Cecil.dll'.  Stop.
gmake[8]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cecil'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cecil'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs/class'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs'
gmake[4]: *** [profile-do--net_2_0--all] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Sorry, the name LIBGC_CPPFLAGS cause something wrong

2012-01-24 Thread KISHIMOTO, Makoto
Hello,

Thanks to accept my patch. But sorry, the name "LIBGC_CPPFLAGS" makes
something trouble.

Next diff is difference of result of LIBGC_INCLUDES or LIBGC_CPPFLAGS

--- BUILD-1/Makefile2012-01-24 21:47:57.0 +0900
+++ BUILD-2/Makefile2012-01-24 22:00:41.0 +0900
@@ -174,7 +174,7 @@
 LD = /usr/bin/ld
 LDFLAGS =  -pthread
 LIBC = libc.so
-LIBGC_INCLUDES = -I$(top_srcdir)/libgc/include
+LIBGC_CPPFLAGS = -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I/usr/local/include 
-D__default_codegen__
 LIBGC_LIBS = $(top_builddir)/libgc/libmonogc.la
 LIBGC_STATIC_LIBS = $(top_builddir)/libgc/libmonogc-static.la
 LIBICONV = /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib

When variable name is LIBGC_INCLUDES, the result is correct. But when
variable name is LIBGC_CPPFLAGS, autotools overwrite results, and
build failed.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] fix of including /usr/local/include/gc.h problem

2012-01-13 Thread KISHIMOTO, Makoto
Hello,

This patch is to fix my problem that I reported.
( http://permalink.gmane.org/gmane.comp.gnome.mono.devel/37788 )

If there is /usr/local/include/gc.h, some compiles in buiding mono
failed by including /usr/local/include/gc.h instead of
$(top_srcdir)/libgc/include/gc.h .

Changes are:
* some files: rename LIBGC_CFLAGS to LIBGC_INCLUDES
* mono/mini/Makefile.am: add setting of INCLUDES, and move
  libgc-include flag from mono_CFLAGS
diff --git a/configure.in b/configure.in
index a22871e..2efedda 100644
--- a/configure.in
+++ b/configure.in
@@ -879,7 +879,7 @@ AM_CONDITIONAL(SUPPORT_BOEHM, test x$support_boehm = xyes)
 dnl
 dnl Boehm GC configuration
 dnl
-LIBGC_CFLAGS=
+LIBGC_INCLUDES=
 LIBGC_LIBS=
 LIBGC_STATIC_LIBS=
 libgc_dir=
@@ -928,7 +928,7 @@ case "x$gc" in
use_included_gc=yes
libgc_dir=libgc
 
-   LIBGC_CFLAGS='-I$(top_srcdir)/libgc/include'
+   LIBGC_INCLUDES='-I$(top_srcdir)/libgc/include'
LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
LIBGC_STATIC_LIBS='$(top_builddir)/libgc/libmonogc-static.la'
 
@@ -963,7 +963,7 @@ if test "x$large_heap" = "xyes"; then
 fi
 
 AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
-AC_SUBST(LIBGC_CFLAGS)
+AC_SUBST(LIBGC_INCLUDES)
 AC_SUBST(LIBGC_LIBS)
 AC_SUBST(LIBGC_STATIC_LIBS)
 AC_SUBST(libgc_dir)
diff --git a/mono/interpreter/Makefile.am b/mono/interpreter/Makefile.am
index 4b21cbb..ba477b8 100644
--- a/mono/interpreter/Makefile.am
+++ b/mono/interpreter/Makefile.am
@@ -1,6 +1,6 @@
 INCLUDES = \
-I$(top_srcdir) \
-   $(LIBGC_CFLAGS) \
+   $(LIBGC_INCLUDES)   \
$(GLIB_CFLAGS)
 
 if HOST_WIN32
diff --git a/mono/io-layer/Makefile.am b/mono/io-layer/Makefile.am
index 31680d2..dedb2f6 100644
--- a/mono/io-layer/Makefile.am
+++ b/mono/io-layer/Makefile.am
@@ -3,7 +3,7 @@ noinst_LTLIBRARIES = libwapi.la
 
 INCLUDES = \
$(GLIB_CFLAGS)  \
-   $(LIBGC_CFLAGS) \
+   $(LIBGC_INCLUDES)   \
-DMONO_BINDIR=\""$(bindir)"\"   \
-I$(top_srcdir) 
 
diff --git a/mono/metadata/Makefile.am b/mono/metadata/Makefile.am
index 3ce5dcf..134e1a7 100644
--- a/mono/metadata/Makefile.am
+++ b/mono/metadata/Makefile.am
@@ -60,7 +60,7 @@ endif
 endif
 noinst_LTLIBRARIES =  $(shared_libraries) libmonoruntime-static.la 
$(sgen_libraries) $(moonlight_libraries)
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) 
-DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" 
-DMONO_CFG_DIR=\"$(confdir)\"
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_INCLUDES) 
$(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" 
-DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
 
 #
 # Make sure any prefix changes are updated in the binaries too.
diff --git a/mono/mini/Makefile.am b/mono/mini/Makefile.am
index 54adb84..edc4909 100644
--- a/mono/mini/Makefile.am
+++ b/mono/mini/Makefile.am
@@ -139,7 +139,9 @@ endif
 mono_SOURCES = \
main.c
 
-mono_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES) $(LIBGC_CFLAGS)
+mono_CFLAGS = $(AM_CFLAGS) $(BOEHM_DEFINES)
+
+INCLUDES = $(LIBGC_INCLUDES)
 
 mono_sgen_SOURCES = $(mono_SOURCES)
 mono_sgen_CFLAGS = $(SGEN_DEFINES) $(AM_CFLAGS)
diff --git a/mono/utils/Makefile.am b/mono/utils/Makefile.am
index d49c5d6..2f69800 100644
--- a/mono/utils/Makefile.am
+++ b/mono/utils/Makefile.am
@@ -1,6 +1,6 @@
 noinst_LTLIBRARIES = libmonoutils.la
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS)
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_INCLUDES) 
$(GLIB_CFLAGS)
 
 if ENABLE_DTRACE
 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono HEAD build failed if there is /usr/local/include/gc.h

2011-08-17 Thread KISHIMOTO, Makoto
Hello,

Mono HEAD build failed if there is /usr/local/include/gc.h .
For example, simply put "#error" to /usr/local/include/gc.h , build
failed like follows.

$ cat /usr/local/include/gc.h
#error

$ gmake
(snip)
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/metadata'
Making all in mini
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  all-am
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
../../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../mono/mono/mini -I../..   -DGC_FREEBSD_THREADS -DPLATFORM_BSD 
-I/usr/local/include  -D__default_codegen__ -I../../../mono 
-I../../../mono/eglib/src -I../../eglib/src-DHAVE_BOEHM_GC -DHAVE_GC_H 
-DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE 
-I../../../mono/libgc/include -g -O2 -fno-strict-aliasing 
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings 
-mno-tls-direct-seg-refs -MT libmono_2_0_la-mini.lo -MD -MP -MF 
.deps/libmono_2_0_la-mini.Tpo -c -o libmono_2_0_la-mini.lo `test -f 'mini.c' || 
echo '../../../mono/mono/mini/'`mini.c
In file included from ../../../mono/mono/utils/gc_wrapper.h:46,
 from ../../../mono/mono/metadata/gc-internal.h:15,
 from ../../../mono/mono/mini/mini.c:45:
/usr/local/include/gc.h:1:2: error: #error
gmake[4]: *** [libmono_2_0_la-mini.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2

I have no idea that to jugde how fix is correct, but in FreeBSD,
ports (package) of Boehm GC library put incompatible gc.h at
/usr/local/include , it causes trouble with Mono build. Some software
require that ports, example w3m.

(Order change of -I option of compiler is fix?)

Thank you.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Crash in delegate-invoke test

2011-06-20 Thread KISHIMOTO, Makoto
Hello,

On Sun, 19 Jun 2011 16:06:30 -0400
Neale Ferguson  wrote:
> Since Friday I've been getting the following failure in running the
> delegate-invoke test after building from Head:
> 
> Unhandled Exception: System.InvalidProgramException: Invalid IL code in
> (wrapper delegate-invoke) :invoke_int__this___EmptyStruct&
> (EmptyStruct&): IL_004d: castclass 0x0007
> 
> 
>   at Driver.test_0_valuetype_invokes () [0x0003c] in
> /home/neale/Mono/mono/mono/tests/delegate-invoke.cs:94
>   at Driver.Main () [0xe] in
> /home/neale/Mono/mono/mono/tests/delegate-invoke.cs:46
> 
> Is this a known problem?

The delegate-invoke test failed at my FreeBSD box, since June 16.

> Testing delegate-invoke.exe... failed 256 (1) signal (0).
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] GC_PROTO undefined ?

2011-05-30 Thread KISHIMOTO, Makoto
Hello.

The reason and workaround of this problem is found.

FreeBSD boehm-gc ports(and package) provides /usr/local/include/gc.h ,
then at gc_wrapper.h line 42 #include  , actually included file
is /usr/local/include/gc.h, not Mono's gc.h . As a result, _GC_H defined
but GC_PROTO didn't .

(My) workaround is to uninstall boehm-gc ports.

On Sat, 30 Apr 2011 07:21:59 +0900
"KISHIMOTO, Makoto"  wrote:
> In my FreeBSD Box, mono trunk build failed.
> The following is build log.
> 
> $ gmake
> gmake  all-recursive
> gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'
> 
> (snip)
> 
> Making all in arch
> gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
> gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
> gmake[4]: Nothing to be done for `all-am'.
> gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
> gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
> Making all in mini
> gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
> gmake  all-am
> gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
> ../../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../../../mono/mono/mini -I../..   -DGC_FREEBSD_THREADS -DPLATFORM_BSD 
> -I/usr/local/include  -D__default_codegen__ -I../../../mono 
> -I../../../mono/eglib/src -I../../eglib/src-DHAVE_BOEHM_GC -DHAVE_GC_H 
> -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE 
> -I../../../mono/libgc/include -g -O2 -fno-strict-aliasing 
> -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes 
> -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings 
> -mno-tls-direct-seg-refs -MT libmono_2_0_la-mini.lo -MD -MP -MF 
> .deps/libmono_2_0_la-mini.Tpo -c -o libmono_2_0_la-mini.lo `test -f 'mini.c' 
> || echo '../../../mono/mono/mini/'`mini.c
> In file included from ../../../mono/mono/utils/gc_wrapper.h:43,
>  from ../../../mono/mono/metadata/gc-internal.h:15,
>  from ../../../mono/mono/mini/mini.c:44:
> ../../../mono/libgc/include/gc_typed.h:50: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_typed.h:77: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_malloc_explicitly_typed'
> ../../../mono/libgc/include/gc_typed.h:83: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_malloc_explicitly_typed_ignore_off_page'
> ../../../mono/libgc/include/gc_typed.h:86: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_calloc_explicitly_typed'
> In file included from ../../../mono/mono/utils/gc_wrapper.h:44,
>  from ../../../mono/mono/metadata/gc-internal.h:15,
>  from ../../../mono/mono/mini/mini.c:44:
> ../../../mono/libgc/include/gc_mark.h:56: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_mark.h:109: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_least_plausible_heap_addr'
> ../../../mono/libgc/include/gc_mark.h:110: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_greatest_plausible_heap_addr'
> ../../../mono/libgc/include/gc_mark.h:134: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_mark.h:156: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_mark.h:157: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_mark.h:160: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_mark.h:163: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'GC_PROTO'
> ../../../mono/libgc/include/gc_mark.h:170: error: expected '=', '

[Mono-dev] GC_PROTO undefined ?

2011-04-29 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD Box, mono trunk build failed.
The following is build log.

$ gmake
gmake  all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'

(snip)

Making all in arch
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
Making all in mini
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  all-am
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
../../doltlibtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../mono/mono/mini -I../..   -DGC_FREEBSD_THREADS -DPLATFORM_BSD 
-I/usr/local/include  -D__default_codegen__ -I../../../mono 
-I../../../mono/eglib/src -I../../eglib/src-DHAVE_BOEHM_GC -DHAVE_GC_H 
-DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE 
-I../../../mono/libgc/include -g -O2 -fno-strict-aliasing 
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings 
-mno-tls-direct-seg-refs -MT libmono_2_0_la-mini.lo -MD -MP -MF 
.deps/libmono_2_0_la-mini.Tpo -c -o libmono_2_0_la-mini.lo `test -f 'mini.c' || 
echo '../../../mono/mono/mini/'`mini.c
In file included from ../../../mono/mono/utils/gc_wrapper.h:43,
 from ../../../mono/mono/metadata/gc-internal.h:15,
 from ../../../mono/mono/mini/mini.c:44:
../../../mono/libgc/include/gc_typed.h:50: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_typed.h:77: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_malloc_explicitly_typed'
../../../mono/libgc/include/gc_typed.h:83: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_malloc_explicitly_typed_ignore_off_page'
../../../mono/libgc/include/gc_typed.h:86: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_calloc_explicitly_typed'
In file included from ../../../mono/mono/utils/gc_wrapper.h:44,
 from ../../../mono/mono/metadata/gc-internal.h:15,
 from ../../../mono/mono/mini/mini.c:44:
../../../mono/libgc/include/gc_mark.h:56: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:109: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_least_plausible_heap_addr'
../../../mono/libgc/include/gc_mark.h:110: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_greatest_plausible_heap_addr'
../../../mono/libgc/include/gc_mark.h:134: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:156: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:157: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:160: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:163: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:170: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:171: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:179: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:183: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/libgc/include/gc_mark.h:197: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GC_PROTO'
../../../mono/mono/mini/mini.c:80: warning: data definition has no type or 
storage class
../../../mono/mono/mini/mini.c:80: warning: type defaults to 'int' in 
declaration of 'MONO_FAST_TLS_DECLARE'
../../../mono/mono/mini/mini.c:80: warning: parameter names (without types) in 
function declaration
gmake[4]: *** [libmono_2_0_la-mini.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] undefined reference to `libiconv'

2011-04-27 Thread KISHIMOTO, Makoto
Hello,

> I fixed an issue similar to this yesterday, maybe your version of mono 
> from git is older than my fix (commit = 
> 1deef5a760b37cf1e42a60110981d0f752d84d9d ). You can either try updating 
> from git or add $(LIBICONV) right after each ($GLIB_LIBS) in the 
> Makefile.am files and then rebuild.

I tried just before. This problem didn't happen. Thanks.
But by another reason, build was failed. orz
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] undefined reference to `libiconv'

2011-04-26 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD Box, mono trunk build failed.
The following is build log.

$ gmake
gmake  all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'

(snip)

gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/libgc'
Making all in eglib
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake  all-recursive
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making all in m4
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/m4'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/m4'
Making all in src
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
Making all in test
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
../doltlibtool --tag=CC   --mode=link gcc -Wall -D_FORTIFY_SOURCE=2 
-I../../../mono/eglib/test/../src -I../src -DDRIVER_NAME=\"EGlib\" -g -O2 -g 
-D_GNU_SOURCE  -Wl,-export-dynamic -o test-eglib test_eglib-test.o 
test_eglib-driver.o test_eglib-hashtable.o test_eglib-string-util.o 
test_eglib-string.o test_eglib-slist.o test_eglib-sizes.o test_eglib-ptrarray.o 
test_eglib-list.o test_eglib-array.o test_eglib-fake.o test_eglib-path.o 
test_eglib-queue.o test_eglib-shell.o test_eglib-spawn.o test_eglib-timer.o 
test_eglib-file.o test_eglib-pattern.o test_eglib-dir.o test_eglib-markup.o 
test_eglib-unicode.o test_eglib-utf8.o test_eglib-endian.o test_eglib-module.o 
test_eglib-memory.o ../src/libeglib.la -lm
libtool: link: gcc -Wall -D_FORTIFY_SOURCE=2 -I../../../mono/eglib/test/../src 
-I../src -DDRIVER_NAME=\"EGlib\" -g -O2 -g -D_GNU_SOURCE -Wl,-export-dynamic -o 
test-eglib test_eglib-test.o test_eglib-driver.o test_eglib-hashtable.o 
test_eglib-string-util.o test_eglib-string.o test_eglib-slist.o 
test_eglib-sizes.o test_eglib-ptrarray.o test_eglib-list.o test_eglib-array.o 
test_eglib-fake.o test_eglib-path.o test_eglib-queue.o test_eglib-shell.o 
test_eglib-spawn.o test_eglib-timer.o test_eglib-file.o test_eglib-pattern.o 
test_eglib-dir.o test_eglib-markup.o test_eglib-unicode.o test_eglib-utf8.o 
test_eglib-endian.o test_eglib-module.o test_eglib-memory.o  
../src/.libs/libeglib.a -lm
../src/.libs/libeglib.a(libeglib_la-gunicode.o)(.text+0x5b6): In function 
`monoeg_g_get_charset':
../../../mono/eglib/src/gunicode.c:362: undefined reference to `locale_charset'
../src/.libs/libeglib.a(libeglib_la-giconv.o)(.text+0x4c): In function 
`monoeg_g_iconv':
../../../mono/eglib/src/giconv.c:177: undefined reference to `libiconv'
../src/.libs/libeglib.a(libeglib_la-giconv.o)(.text+0x18f): In function 
`monoeg_g_iconv_close':
../../../mono/eglib/src/giconv.c:158: undefined reference to `libiconv_close'
../src/.libs/libeglib.a(libeglib_la-giconv.o)(.text+0x8c6): In function 
`monoeg_g_iconv_open':
../../../mono/eglib/src/giconv.c:132: undefined reference to `libiconv_open'
gmake[4]: *** [test-eglib] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] Re: trunk compile error, sgen-gc.c

2011-01-16 Thread KISHIMOTO, Makoto
Hello,

I tried to patch. This looks work fine.

diff --git a/mono/utils/mono-sigcontext.h b/mono/utils/mono-sigcontext.h
index 2335f6f..dfe383c 100644
--- a/mono/utils/mono-sigcontext.h
+++ b/mono/utils/mono-sigcontext.h
@@ -58,7 +58,7 @@
#define UCONTEXT_REG_EDI(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_EDI])
#define UCONTEXT_REG_EIP(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_EIP])
 #elif defined(__OpenBSD__)
-#define UCONTEXT_REG_EAX(ctx) (((ucontext_t*)(ctx))->sc_eax)
+   #define UCONTEXT_REG_EAX(ctx) (((ucontext_t*)(ctx))->sc_eax)
#define UCONTEXT_REG_EBX(ctx) (((ucontext_t*)(ctx))->sc_ebx)
#define UCONTEXT_REG_ECX(ctx) (((ucontext_t*)(ctx))->sc_ecx)
#define UCONTEXT_REG_EDX(ctx) (((ucontext_t*)(ctx))->sc_edx)
@@ -81,6 +81,10 @@
 
 #elif defined(__x86_64__)
 
+#if defined(__FreeBSD__)
+#include 
+#endif
+
 #if defined(__APPLE__)
#define UCONTEXT_REG_RAX(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__rax)
#define UCONTEXT_REG_RBX(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__rbx)
@@ -100,7 +104,23 @@
#define UCONTEXT_REG_R14(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__r14)
#define UCONTEXT_REG_R15(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__r15)
 #elif defined(__FreeBSD__)
-#define UCONTEXT_GREGS(ctx)((guint64*)&(((ucontext_t*)(ctx))->uc_mcontext))
+   #define UCONTEXT_REG_RAX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rax)
+   #define UCONTEXT_REG_RBX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rbx)
+   #define UCONTEXT_REG_RCX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rcx)
+   #define UCONTEXT_REG_RDX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rdx)
+   #define UCONTEXT_REG_RBP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rbp)
+   #define UCONTEXT_REG_RSP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rsp)
+   #define UCONTEXT_REG_RSI(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rsi)
+   #define UCONTEXT_REG_RDI(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rdi)
+   #define UCONTEXT_REG_RIP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rip)
+   #define UCONTEXT_REG_R8(ctx)  (((ucontext_t*)(ctx))->uc_mcontext.mc_r8)
+   #define UCONTEXT_REG_R9(ctx)  (((ucontext_t*)(ctx))->uc_mcontext.mc_r9)
+   #define UCONTEXT_REG_R10(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r10)
+   #define UCONTEXT_REG_R11(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r11)
+   #define UCONTEXT_REG_R12(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r12)
+   #define UCONTEXT_REG_R13(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r13)
+   #define UCONTEXT_REG_R14(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r14)
+   #define UCONTEXT_REG_R15(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r15)
 #elif defined(__OpenBSD__)
 /* OpenBSD/amd64 has no gregs array, ucontext_t == sigcontext */
#define UCONTEXT_REG_RAX(ctx) (((ucontext_t*)(ctx))->sc_rax)


On Sun, 19 Dec 2010 23:15:04 +0100
Zoltan Varga  wrote:

> Hi,
> 
>   Use configure --with-sgen=no in the meantime until this is fixed.
> 
>  Zoltan
> 
> On Wed, Dec 15, 2010 at 1:47 AM, KISHIMOTO, Makoto
> wrote:
> 
> > Hello,
> >
> > At my FreeBSD box, trunk build failed.
> > Errors are following.
> >
> > $ gmake
> > (snip)
> > ../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono
> > -I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src
> > -DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/local/lib\"
> > -DMONO_CFG_DIR=\"/usr/local/etc\"  -DGC_FREEBSD_THREADS -DPLATFORM_BSD
> >  -DHAVE_SGEN_GC -DHAVE_MOVING_COLLECTOR -DHAVE_WRITE_BARRIERS -g -O2
> > -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
> > -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> >  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> > -Wwrite-strings -mno-tls-direct-seg-refs -MT
> > libmonoruntimesgen_la-sgen-os-mach.lo -MD -MP -MF
> > .deps/libmonoruntimesgen_la-sgen-os-mach.Tpo -c -o
> > libmonoruntimesgen_la-sgen-os-mach.lo `test -f 'sgen-os-mach.c' || echo
> > '../../../mono/mono/metadata/'`sgen-os-mach.c
> > mv -f .deps/libmonoruntimesgen_la-sgen-os-mach.Tpo
> > .deps/libmonoruntimesgen_la-sgen-os-mach.Plo
> > ../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono
> > -I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src
> > -DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/loca

Re: [Mono-dev] Please help this Git newbie

2011-01-05 Thread KISHIMOTO, Makoto
Hello

> To sum things up: I'm on Windows, using msysgit, and have been following the
> FAQs on the Mono and GitHub sites.
> 
> I'm at this point: http://mono-project.com/Compiling_Mono_From_Git
> 
> Doing "git clone git://github.com/mono/mono.git" (anonymous access) works,
> (although I have no idea *where* it copies all the stuff; I stopped it
> before it was done).

The "git clone" command clones repository (in ".git/" directory) first.
Making actual files are final step; If you stopped, other than .git are
not exist.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] Re: trunk compile error, sgen-gc.c

2010-12-19 Thread KISHIMOTO, Makoto
Hello,

I tried to patch. This looks work fine.

diff --git a/mono/utils/mono-sigcontext.h b/mono/utils/mono-sigcontext.h
index 2335f6f..dfe383c 100644
--- a/mono/utils/mono-sigcontext.h
+++ b/mono/utils/mono-sigcontext.h
@@ -58,7 +58,7 @@
#define UCONTEXT_REG_EDI(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_EDI])
#define UCONTEXT_REG_EIP(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext.__gregs [_REG_EIP])
 #elif defined(__OpenBSD__)
-#define UCONTEXT_REG_EAX(ctx) (((ucontext_t*)(ctx))->sc_eax)
+   #define UCONTEXT_REG_EAX(ctx) (((ucontext_t*)(ctx))->sc_eax)
#define UCONTEXT_REG_EBX(ctx) (((ucontext_t*)(ctx))->sc_ebx)
#define UCONTEXT_REG_ECX(ctx) (((ucontext_t*)(ctx))->sc_ecx)
#define UCONTEXT_REG_EDX(ctx) (((ucontext_t*)(ctx))->sc_edx)
@@ -81,6 +81,10 @@
 
 #elif defined(__x86_64__)
 
+#if defined(__FreeBSD__)
+#include 
+#endif
+
 #if defined(__APPLE__)
#define UCONTEXT_REG_RAX(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__rax)
#define UCONTEXT_REG_RBX(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__rbx)
@@ -100,7 +104,23 @@
#define UCONTEXT_REG_R14(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__r14)
#define UCONTEXT_REG_R15(ctx) 
(((ucontext_t*)(ctx))->uc_mcontext->__ss.__r15)
 #elif defined(__FreeBSD__)
-#define UCONTEXT_GREGS(ctx)((guint64*)&(((ucontext_t*)(ctx))->uc_mcontext))
+   #define UCONTEXT_REG_RAX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rax)
+   #define UCONTEXT_REG_RBX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rbx)
+   #define UCONTEXT_REG_RCX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rcx)
+   #define UCONTEXT_REG_RDX(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rdx)
+   #define UCONTEXT_REG_RBP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rbp)
+   #define UCONTEXT_REG_RSP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rsp)
+   #define UCONTEXT_REG_RSI(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rsi)
+   #define UCONTEXT_REG_RDI(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rdi)
+   #define UCONTEXT_REG_RIP(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_rip)
+   #define UCONTEXT_REG_R8(ctx)  (((ucontext_t*)(ctx))->uc_mcontext.mc_r8)
+   #define UCONTEXT_REG_R9(ctx)  (((ucontext_t*)(ctx))->uc_mcontext.mc_r9)
+   #define UCONTEXT_REG_R10(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r10)
+   #define UCONTEXT_REG_R11(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r11)
+   #define UCONTEXT_REG_R12(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r12)
+   #define UCONTEXT_REG_R13(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r13)
+   #define UCONTEXT_REG_R14(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r14)
+   #define UCONTEXT_REG_R15(ctx) (((ucontext_t*)(ctx))->uc_mcontext.mc_r15)
 #elif defined(__OpenBSD__)
 /* OpenBSD/amd64 has no gregs array, ucontext_t == sigcontext */
#define UCONTEXT_REG_RAX(ctx) (((ucontext_t*)(ctx))->sc_rax)


On Sun, 19 Dec 2010 23:15:04 +0100
Zoltan Varga  wrote:

> Hi,
> 
>   Use configure --with-sgen=no in the meantime until this is fixed.
> 
>  Zoltan
> 
> On Wed, Dec 15, 2010 at 1:47 AM, KISHIMOTO, Makoto
> wrote:
> 
> > Hello,
> >
> > At my FreeBSD box, trunk build failed.
> > Errors are following.
> >
> > $ gmake
> > (snip)
> > ../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono
> > -I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src
> > -DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/local/lib\"
> > -DMONO_CFG_DIR=\"/usr/local/etc\"  -DGC_FREEBSD_THREADS -DPLATFORM_BSD
> >  -DHAVE_SGEN_GC -DHAVE_MOVING_COLLECTOR -DHAVE_WRITE_BARRIERS -g -O2
> > -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
> > -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> >  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> > -Wwrite-strings -mno-tls-direct-seg-refs -MT
> > libmonoruntimesgen_la-sgen-os-mach.lo -MD -MP -MF
> > .deps/libmonoruntimesgen_la-sgen-os-mach.Tpo -c -o
> > libmonoruntimesgen_la-sgen-os-mach.lo `test -f 'sgen-os-mach.c' || echo
> > '../../../mono/mono/metadata/'`sgen-os-mach.c
> > mv -f .deps/libmonoruntimesgen_la-sgen-os-mach.Tpo
> > .deps/libmonoruntimesgen_la-sgen-os-mach.Plo
> > ../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono
> > -I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src
> > -DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/loca

[Mono-dev] trunk compile error, sgen-gc.c

2010-12-14 Thread KISHIMOTO, Makoto
Hello,

At my FreeBSD box, trunk build failed.
Errors are following.

$ gmake
(snip)
../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono 
-I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src 
-DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/local/lib\" 
-DMONO_CFG_DIR=\"/usr/local/etc\"  -DGC_FREEBSD_THREADS -DPLATFORM_BSD  
-DHAVE_SGEN_GC -DHAVE_MOVING_COLLECTOR -DHAVE_WRITE_BARRIERS -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT 
libmonoruntimesgen_la-sgen-os-mach.lo -MD -MP -MF 
.deps/libmonoruntimesgen_la-sgen-os-mach.Tpo -c -o 
libmonoruntimesgen_la-sgen-os-mach.lo `test -f 'sgen-os-mach.c' || echo 
'../../../mono/mono/metadata/'`sgen-os-mach.c
mv -f .deps/libmonoruntimesgen_la-sgen-os-mach.Tpo 
.deps/libmonoruntimesgen_la-sgen-os-mach.Plo
../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono 
-I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src 
-DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/local/lib\" 
-DMONO_CFG_DIR=\"/usr/local/etc\"  -DGC_FREEBSD_THREADS -DPLATFORM_BSD  
-DHAVE_SGEN_GC -DHAVE_MOVING_COLLECTOR -DHAVE_WRITE_BARRIERS -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT libmonoruntimesgen_la-sgen-gc.lo 
-MD -MP -MF .deps/libmonoruntimesgen_la-sgen-gc.Tpo -c -o 
libmonoruntimesgen_la-sgen-gc.lo `test -f 'sgen-gc.c' || echo 
'../../../mono/mono/metadata/'`sgen-gc.c
../../../mono/mono/metadata/sgen-gc.c: In function 
'mono_sgen_thread_info_lookup':
../../../mono/mono/metadata/sgen-gc.c:4863: warning: cast from pointer to 
integer of different size
../../../mono/mono/metadata/sgen-gc.c: In function 'suspend_handler':
../../../mono/mono/metadata/sgen-gc.c:5022: error: 'ucontext_t' undeclared 
(first use in this function)
../../../mono/mono/metadata/sgen-gc.c:5022: error: (Each undeclared identifier 
is reported only once
../../../mono/mono/metadata/sgen-gc.c:5022: error: for each function it appears 
in.)
../../../mono/mono/metadata/sgen-gc.c:5022: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5022: error: 'REG_RIP' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5033: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5033: error: 'REG_RSP' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RAX' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RBX' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RCX' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RDX' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RSI' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RDI' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_RBP' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_R8' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_R9' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_R10' undeclared (first 
use in this function)
../../../mono/mono/metadata/sgen-gc.c:5039: error: expected expression before 
')' token
../../../mono/mono/metadata/sgen-gc.c:5039: error: 'REG_R11' undeclared (first 
use in this function

Re: [Mono-dev] trunk build error in FreeBSD

2010-11-30 Thread KISHIMOTO, Makoto
On Tue, 30 Nov 2010 11:07:40 +0100
Paolo Molaro  wrote:

> On 11/30/10 KISHIMOTO, Makoto wrote:
> > In my FreeBSD Box, proflog.c compile failed.
> 
> Could you try current trunk?
> I committed a change that should fix the issue.
> lupus

Thanks. The problem not occured current trunk.

I saw 
https://github.com/mono/mono/commit/30cba27527d5076896bf6bead5b9aa9c44d32d6f ,
IMHO, use of symbol ELF_CLASS is better than SIZEOF_VOID_P .
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] trunk build error in FreeBSD

2010-11-29 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD Box, proflog.c compile failed.

$ gmake
(snip)
../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/profiler -I../.. 
-fexceptions -DMONO_USE_EXC_TABLES -I../../../mono -I../../../mono/eglib/src 
-I../../eglib/src  -DGC_FREEBSD_THREADS -DPLATFORM_BSD   -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT proflog.lo -MD -MP -MF 
.deps/proflog.Tpo -c -o proflog.lo ../../../mono/mono/profiler/proflog.c
../../../mono/mono/profiler/proflog.c: In function 'mono_sample_hit':
../../../mono/mono/profiler/proflog.c:1167: warning: format '%llu' expects type 
'long long unsigned int', but argument 6 has type 'uint64_t'
../../../mono/mono/profiler/proflog.c:1167: warning: format '%llu' expects type 
'long long unsigned int', but argument 6 has type 'uint64_t'
../../../mono/mono/profiler/proflog.c:1192: warning: passing argument 1 of 
'InterlockedCompareExchangePointer' from incompatible pointer type
../../../mono/mono/profiler/proflog.c: At top level:
../../../mono/mono/profiler/proflog.c:1289: error: expected ')' before '(' token
../../../mono/mono/profiler/proflog.c: In function 'read_elf_symbols':
../../../mono/mono/profiler/proflog.c:1309: warning: implicit declaration of 
function 'ElfW'
../../../mono/mono/profiler/proflog.c:1309: warning: nested extern declaration 
of 'ElfW'
../../../mono/mono/profiler/proflog.c:1309: error: 'Ehdr' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1309: error: (Each undeclared identifier 
is reported only once
../../../mono/mono/profiler/proflog.c:1309: error: for each function it appears 
in.)
../../../mono/mono/profiler/proflog.c:1309: error: 'header' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1310: error: 'Shdr' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1310: error: 'sheader' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1311: error: 'shstrtabh' undeclared 
(first use in this function)
../../../mono/mono/profiler/proflog.c:1312: error: 'symtabh' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1313: error: 'strtabh' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1314: error: 'Sym' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1314: error: 'symbols' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1315: warning: ISO C90 forbids mixed 
declarations and code
../../../mono/mono/profiler/proflog.c:1358: warning: implicit declaration of 
function 'dump_elf_symbols'
../../../mono/mono/profiler/proflog.c:1358: warning: nested extern declaration 
of 'dump_elf_symbols'
../../../mono/mono/profiler/proflog.c: In function 'elf_dl_callback':
../../../mono/mono/profiler/proflog.c:1374: error: 'Dyn' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1374: error: 'dyn' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1375: error: 'Sym' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1375: error: 'symtab' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1376: error: 'Word' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1376: error: 'hash_table' undeclared 
(first use in this function)
../../../mono/mono/profiler/proflog.c:1377: error: 'Ehdr' undeclared (first use 
in this function)
../../../mono/mono/profiler/proflog.c:1377: error: 'header' undeclared (first 
use in this function)
../../../mono/mono/profiler/proflog.c:1378: warning: ISO C90 forbids mixed 
declarations and code
../../../mono/mono/profiler/proflog.c:1401: error: expected expression before 
')' token
../../../mono/mono/profiler/proflog.c:1410: error: expected expression before 
')' token
../../../mono/mono/profiler/proflog.c:1423: error: expected expression before 
')' token
../../../mono/mono/profiler/proflog.c:1425: error: expected expression before 
')' token
../../../mono/mono/profiler/proflog.c: In function 'create_profiler':
../../../mono/mono/profiler/proflog.c:1965: warning: assignment discards 
qualifiers from pointer target type
gmake[3]: *** [proflog.lo] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/profiler'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCH] malloc.h deprecated ?

2010-11-15 Thread KISHIMOTO, Makoto
Hello.

Please apply this patch.

diff --git a/mono/profiler/decode.c b/mono/profiler/decode.c
index a7d4428..6cc08ff 100644
--- a/mono/profiler/decode.c
+++ b/mono/profiler/decode.c
@@ -12,7 +12,7 @@
 #include 
 #include 
 #include 
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
 #include 
 #endif
 #include 

On Sat, 13 Nov 2010 17:21:24 +0900
"KISHIMOTO, Makoto"  wrote:
> Hello,
> 
> In my FreeBSD-amd64 box, Mono git trunk build failed.
> IMHO, malloc.h had been deprecated in my environment.
> 
> $ gmake
> (snip)
> gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/profiler -I../.. -fexceptions 
> -DMONO_USE_EXC_TABLES -I../../../mono -I../../../mono/eglib/src 
> -I../../eglib/src  -DGC_FREEBSD_THREADS -DPLATFORM_BSD   -g -O2 
> -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
> -Wwrite-strings -mno-tls-direct-seg-refs -MT decode.o -MD -MP -MF 
> .deps/decode.Tpo -c -o decode.o ../../../mono/mono/profiler/decode.c
> In file included from ../../../mono/mono/profiler/decode.c:16:
> /usr/include/malloc.h:3:2: error: #error " has been replaced by 
> "
> ../../../mono/mono/profiler/decode.c: In function 'tracked_creation':
> ../../../mono/mono/profiler/decode.c:993: warning: format '%llu' expects type 
> 'long long unsigned int', but argument 5 has type 'uint64_t'
> ../../../mono/mono/profiler/decode.c: In function 'decode_buffer':
> ../../../mono/mono/profiler/decode.c:1082: warning: format '%x' expects type 
> 'unsigned int', but argument 3 has type 'intptr_t'
> (snip warnings)
> gmake[3]: *** [decode.o] Error 1
> gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/profiler'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
> gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] malloc.h deprecated ?

2010-11-13 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD-amd64 box, Mono git trunk build failed.
IMHO, malloc.h had been deprecated in my environment.

$ gmake
(snip)
gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/profiler -I../.. -fexceptions 
-DMONO_USE_EXC_TABLES -I../../../mono -I../../../mono/eglib/src 
-I../../eglib/src  -DGC_FREEBSD_THREADS -DPLATFORM_BSD   -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT decode.o -MD -MP -MF 
.deps/decode.Tpo -c -o decode.o ../../../mono/mono/profiler/decode.c
In file included from ../../../mono/mono/profiler/decode.c:16:
/usr/include/malloc.h:3:2: error: #error " has been replaced by 
"
../../../mono/mono/profiler/decode.c: In function 'tracked_creation':
../../../mono/mono/profiler/decode.c:993: warning: format '%llu' expects type 
'long long unsigned int', but argument 5 has type 'uint64_t'
../../../mono/mono/profiler/decode.c: In function 'decode_buffer':
../../../mono/mono/profiler/decode.c:1082: warning: format '%x' expects type 
'unsigned int', but argument 3 has type 'intptr_t'
(snip warnings)
gmake[3]: *** [decode.o] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/profiler'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono.Cairo building aborted

2010-10-27 Thread KISHIMOTO, Makoto
Hello

Building of git trunk of mono aborted, in my FreeBSD box.
Build log is follwing.

$ gmake
(snip)
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Http'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cairo'
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cairo'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cairo'
gmake all-local
gmake[8]: Entering directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cairo'
MCS [net_2_0] Mono.Cairo.dll
./Mono.Cairo/SurfacePattern.cs(45,31): warning CS0108: 
`Cairo.SurfacePattern.Extend' hides inherited member `Cairo.Pattern.Extend'. 
Use the new keyword if hiding was intended
./Mono.Cairo/Pattern.cs(120,31): (Location of the symbol related to previous 
warning)
Compilation succeeded - 1 warning(s)
Assembly ../../class/lib/net_2_0/Mono.Cairo.dll signed.
* Assertion at ../../../mono/mono/io-layer/error.c:70, condition `ret == 0' not 
met

gmake[8]: *** [../../class/lib/net_2_0/Mono.Cairo.dll] Abort trap: 6 (core 
dumped)
gmake[8]: *** Deleting file `../../class/lib/net_2_0/Mono.Cairo.dll'
gmake[8]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cairo'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mono/mcs/class/Mono.Cairo'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs/class'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs'
gmake[4]: *** [profile-do--net_2_0--all] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mono/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] mono/mini/objects.cs compile error

2010-10-17 Thread KISHIMOTO, Makoto
Hello

In my FreeBSD box, Mono trunk gmake check failed with compile error.

$ gmake check
...(snip)
Making check in eglib
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making check in src
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
Making check in test
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making check in mono
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono'
Making check in utils
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
gmake  check-am
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
gmake[3]: Nothing to be done for `check-am'.
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
Making check in io-layer
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/io-layer'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/io-layer'
Making check in cil
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/cil'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/cil'
Making check in metadata
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/metadata'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/metadata'
Making check in arch
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[3]: Nothing to be done for `check-am'.
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
Making check in mini
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  check-am
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  check-local
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -out:TestDriver.dll -target:library 
../../../mono/mono/mini/TestDriver.cs
../../../mono/mono/mini/TestDriver.cs(20,39): warning CS0168: The variable 
`elen' is declared but never used
Compilation succeeded - 1 warning(s)
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -out:basic.exe -unsafe ../../../mono/mono/mini/basic.cs 
-r:TestDriver.dll
../../../mono/mono/mini/basic.cs(1319,30): warning CS0642: Possible mistaken 
empty statement
../../../mono/mono/mini/basic.cs(561,21): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(566,23): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(631,35): warning CS0168: The variable `c' is 
declared but never used
../../../mono/mono/mini/basic.cs(638,37): warning CS0168: The variable `c' is 
declared but never used
../../../mono/mono/mini/basic.cs(645,37): warning CS0168: The variable `c' is 
declared but never used
../../../mono/mono/mini/basic.cs(657,28): warning CS1718: A comparison made to 
same variable. Did you mean to compare something else?
../../../mono/mono/mini/basic.cs(671,28): warning CS1718: A comparison made to 
same variable. Did you mean to compare something else?
../../../mono/mono/mini/basic.cs(737,31): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(750,31): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(761,31): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(779,31): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(790,32): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(801,32): warning CS0219: The variable `b' is 
assigned but its value is never used
../../../mono/mono/mini/basic.cs(812,30): warning CS0219: The variable `b' is 
assigned but its value is never used
..

[Mono-dev] tests/bug-348522.2.cs compile error

2010-09-05 Thread KISHIMOTO, Makoto
Hello

make check of Mono svn trunk failed with compile error.
Build log is following.

$ gmake check
...(snip)
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -nowarn:0168 -nowarn:0219 -debug -r:TestDriver.dll 
-out:bug-333798.2.exe ../../../mono/mono/tests/bug-333798.2.cs
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -nowarn:0168 -nowarn:0219 -debug -r:TestDriver.dll 
-out:bug-333798-tb.2.exe ../../../mono/mono/tests/bug-333798-tb.2.cs
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -nowarn:0168 -nowarn:0219 -debug -r:TestDriver.dll 
-out:bug-335131.2.exe ../../../mono/mono/tests/bug-335131.2.cs
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -nowarn:0168 -nowarn:0219 -debug -r:TestDriver.dll 
-out:bug-322722_patch_bx.2.exe ../../../mono/mono/tests/bug-322722_patch_bx.2.cs
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 
../../runtime/mono-wrapper 
/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe 
-nowarn:0162 -nowarn:0168 -nowarn:0219 -debug -r:TestDriver.dll 
-out:bug-348522.2.exe ../../../mono/mono/tests/bug-348522.2.cs
../../../mono/mono/tests/bug-348522.2.cs(127,24): error CS0236: A field 
initializer cannot reference the nonstatic field, method, or property 
`PassesStuffBinder.stuff'
Compilation failed: 1 error(s), 0 warnings
gmake[5]: *** [bug-348522.2.exe] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[4]: *** [testjit] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[3]: *** [check-am] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[2]: *** [check-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake: *** [check-recursive] Error 1
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Ambiguity between SoapTypeAttribute and SoapAttribute

2010-07-12 Thread KISHIMOTO, Makoto
Hello,

In my amd64 FreeBSD box, make check of mono svn trunk failed with error.
When compiling Test/System.Runtime.Remoting/SoapServicesTest.cs,
errors, CS0229: Ambiguity between 
`System.Runtime.Remoting.Metadata.SoapTypeAttribute.XmlNamespace' and 
`System.Runtime.Remoting.Metadata.SoapAttribute.XmlNamespace', occured.

Log is following.

$ gmake check
Making check in po
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
Making check in mcs
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/po'
(snip)
gmake test-local
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/mcs'
Makefile:51: warning: overriding commands for target `csproj-local'
../build/executable.make:134: warning: ignoring old commands for target 
`csproj-local'
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/mcs'
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/mcs'
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs/class'
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake test-local
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
MCS [net_2_0] corlib_test_net_2_0.dll
Test/System.Resources/ResourceManagerTest.cs(1016,39): warning CS0108: 
`MonoTests.System.Resources.ResourceManagerTest.MockResourceManager.BaseNameField'
 hides inherited member `System.Resources.ResourceManager.BaseNameField'. Use 
the new keyword if hiding was intended
/export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll (Location of the 
symbol related to previous warning)
Test/System.Resources/ResourceManagerTest.cs(1020,41): warning CS0108: 
`MonoTests.System.Resources.ResourceManagerTest.MockResourceManager.MainAssembly'
 hides inherited member `System.Resources.ResourceManager.MainAssembly'. Use 
the new keyword if hiding was intended
/export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll (Location of the 
symbol related to previous warning)
Test/System.Resources/ResourceManagerTest.cs(1024,42): warning CS0108: 
`MonoTests.System.Resources.ResourceManagerTest.MockResourceManager.ResourceSets'
 hides inherited member `System.Resources.ResourceManager.ResourceSets'. Use 
the new keyword if hiding was intended
/export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll (Location of the 
symbol related to previous warning)
Test/System.Runtime.Remoting/SoapServicesTest.cs(17,10): error CS0229: 
Ambiguity between 
`System.Runtime.Remoting.Metadata.SoapTypeAttribute.XmlNamespace' and 
`System.Runtime.Remoting.Metadata.SoapAttribute.XmlNamespace'
/export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll (Location of the 
symbol related to previous error)
Test/System.Runtime.Remoting/SoapServicesTest.cs(52,10): error CS0229: 
Ambiguity between 
`System.Runtime.Remoting.Metadata.SoapTypeAttribute.XmlNamespace' and 
`System.Runtime.Remoting.Metadata.SoapAttribute.XmlNamespace'
/export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll (Location of the 
symbol related to previous error)
Compilation failed: 2 error(s), 3 warnings
gmake[8]: *** [corlib_test_net_2_0.dll] Error 1
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: *** [do-test] Error 2
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[6]: *** [test-recursive] Error 1
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class'
gmake[5]: *** [test-recursive] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[4]: *** [profile-do--net_2_0--test] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[3]: *** [profiles-do--test] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[2]: *** [mcs-do-test-profiles] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake: *** [check-recursive] Error 1
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] diff: bug-438454.exe.stdout.expected: No such file or directory

2010-07-07 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD box, make check of Mono svn trunk failed. log is follow.

$ gmake check
Making check in po
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
Making check in mcs
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
gmake[2]: Nothing to be done for `check-am'.
(snip)
Testing generic-xdomain.2.exe ...
Testing generic-type-load-exception.2.exe ...
Testing bug-616463.exe ...
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
Testing exists.exe...
Testing runtime-invoke.gen.exe...
Testing imt_big_iface_test.exe...
Testing bug-438454.exe...
diff: bug-438454.exe.stdout.expected: No such file or directory
gmake[4]: *** [test-process-exit] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[3]: *** [check-am] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[2]: *** [check-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake: *** [check-recursive] Error 1
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] ../mini/.libs/libmono-2.0.so: undefined reference to `MONO_DEBUGGER__debugger_info'

2010-07-02 Thread KISHIMOTO, Makoto
Hello

In my FreeBSD box, svn trunk build failed with
../mini/.libs/libmono-2.0.so: undefined reference to 
`MONO_DEBUGGER__debugger_info' .

Following is build log.

$ gmake
gmake  all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'
(snip)
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
Making all in dis
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/dis'
../../doltlibtool --tag=CC   --mode=link gcc  -g -O2 -fno-strict-aliasing 
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings 
-mno-tls-direct-seg-refs  -pthread -o monodis dump.o main.o declsec.o 
libmonodis.a ../mini/libmono-2.0.la  -L../../eglib/src -leglib -lm  -lm   
-pthread
libtool: link: gcc -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g 
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -pthread -o .libs/monodis dump.o 
main.o declsec.o -pthread  libmonodis.a ../mini/.libs/libmono-2.0.so 
-L/export/home/ksmakoto/Mono/BUILD/eglib/src 
/export/home/ksmakoto/Mono/BUILD/eglib/src/.libs/libeglib.a -lm -pthread 
-Wl,-rpath -Wl,/usr/local/lib
../mini/.libs/libmono-2.0.so: undefined reference to 
`MONO_DEBUGGER__debugger_info'
gmake[3]: *** [monodis] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/dis'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] svn trunk build fails, 'SIGPWR' undeclared

2010-06-25 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD box, mono SVN trunk build fails. FreeBSD has no SIGPWR .
Signal 29 of FreeBSD is SIGINFO .

../../doltlibtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../mono/mono/metadata -I../.. -I../../../mono -I../../../mono/mono 
-I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src 
-DMONO_BINDIR=\"/usr/local/bin/\" -DMONO_ASSEMBLIES=\"/usr/local/lib\" 
-DMONO_CFG_DIR=\"/usr/local/etc\"  -DGC_FREEBSD_THREADS -DPLATFORM_BSD  
-DHAVE_SGEN_GC -DHAVE_MOVING_COLLECTOR -DHAVE_WRITE_BARRIERS -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT 
libmonoruntimesgen_la-sgen-os-posix.lo -MD -MP -MF 
.deps/libmonoruntimesgen_la-sgen-os-posix.Tpo -c -o 
libmonoruntimesgen_la-sgen-os-posix.lo `test -f 'sgen-os-posix.c' || echo 
'../../../mono/mono/metadata/'`sgen-os-posix.c
In file included from ../../../mono/mono/metadata/sgen-os-posix.c:35:
../../../mono/mono/metadata/sgen-gc.h:93: error: 'SIGPWR' undeclared here (not 
in a function)
gmake[3]: *** [libmonoruntimesgen_la-sgen-os-posix.lo] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/metadata'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] namespace name could not be found in FakeMembershipProvider.cs

2010-05-17 Thread KISHIMOTO, Makoto
Hello,

In mono svn trunk head, gmake check failed with compile error.

$ gmake check
(snip)
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ComponentModel.DataAnnotations'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mcs/class/System.Web.DynamicData'
gmake test-local
gmake[8]: Entering directory 
`/export/home/ksmakoto/Mono/mcs/class/System.Web.DynamicData'
MCS [net_4_0] System.Web.DynamicData_test_net_4_0.dll
Test/../../System.Web/Test/mainsoft/NunitWeb/NunitWeb/FakeMembershipProvider.cs(10,54):
 error CS0246: The type or namespace name `MembershipProvider' could not be 
found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 0 warnings
gmake[8]: *** [System.Web.DynamicData_test_net_4_0.dll] Error 1
gmake[8]: Leaving directory 
`/export/home/ksmakoto/Mono/mcs/class/System.Web.DynamicData'
gmake[7]: *** [do-test] Error 2
(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] amd64 FreeBSD compile failed

2010-05-15 Thread KISHIMOTO, Makoto
Hello,

In my amd64 FreeBSD8 box, mono svn trunk compile failed.

$ gmake
(snip)
Making all in mini
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  all-am
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/mini -I../..   
-DGC_FREEBSD_THREADS -DPLATFORM_BSD  -I../../../mono 
-I../../../mono/libgc/include -I../../../mono/eglib/src -I../../eglib/src-g 
-O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT exceptions-amd64.lo -MD -MP -MF 
.deps/exceptions-amd64.Tpo -c -o exceptions-amd64.lo 
../../../mono/mono/mini/exceptions-amd64.c
../../../mono/mono/mini/exceptions-amd64.c: In function 
'mono_arch_handle_exception':
../../../mono/mono/mini/exceptions-amd64.c:696: warning: implicit declaration 
of function 'UCONTEXT_REG_RSP'
../../../mono/mono/mini/exceptions-amd64.c:696: warning: nested extern 
declaration of 'UCONTEXT_REG_RSP'
../../../mono/mono/mini/exceptions-amd64.c:701: warning: implicit declaration 
of function 'UCONTEXT_REG_RDI'
../../../mono/mono/mini/exceptions-amd64.c:701: warning: nested extern 
declaration of 'UCONTEXT_REG_RDI'
../../../mono/mono/mini/exceptions-amd64.c:701: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:702: warning: implicit declaration 
of function 'UCONTEXT_REG_RSI'
../../../mono/mono/mini/exceptions-amd64.c:702: warning: nested extern 
declaration of 'UCONTEXT_REG_RSI'
../../../mono/mono/mini/exceptions-amd64.c:702: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:709: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:711: warning: implicit declaration 
of function 'UCONTEXT_REG_RIP'
../../../mono/mono/mini/exceptions-amd64.c:711: warning: nested extern 
declaration of 'UCONTEXT_REG_RIP'
../../../mono/mono/mini/exceptions-amd64.c:711: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c: In function 
'mono_arch_sigctx_to_monoctx':
../../../mono/mono/mini/exceptions-amd64.c:743: warning: implicit declaration 
of function 'UCONTEXT_REG_RAX'
../../../mono/mono/mini/exceptions-amd64.c:743: warning: nested extern 
declaration of 'UCONTEXT_REG_RAX'
../../../mono/mono/mini/exceptions-amd64.c:744: warning: implicit declaration 
of function 'UCONTEXT_REG_RBX'
../../../mono/mono/mini/exceptions-amd64.c:744: warning: nested extern 
declaration of 'UCONTEXT_REG_RBX'
../../../mono/mono/mini/exceptions-amd64.c:745: warning: implicit declaration 
of function 'UCONTEXT_REG_RCX'
../../../mono/mono/mini/exceptions-amd64.c:745: warning: nested extern 
declaration of 'UCONTEXT_REG_RCX'
../../../mono/mono/mini/exceptions-amd64.c:746: warning: implicit declaration 
of function 'UCONTEXT_REG_RDX'
../../../mono/mono/mini/exceptions-amd64.c:746: warning: nested extern 
declaration of 'UCONTEXT_REG_RDX'
../../../mono/mono/mini/exceptions-amd64.c:747: warning: implicit declaration 
of function 'UCONTEXT_REG_RBP'
../../../mono/mono/mini/exceptions-amd64.c:747: warning: nested extern 
declaration of 'UCONTEXT_REG_RBP'
../../../mono/mono/mini/exceptions-amd64.c:752: warning: implicit declaration 
of function 'UCONTEXT_REG_R12'
../../../mono/mono/mini/exceptions-amd64.c:752: warning: nested extern 
declaration of 'UCONTEXT_REG_R12'
../../../mono/mono/mini/exceptions-amd64.c:753: warning: implicit declaration 
of function 'UCONTEXT_REG_R13'
../../../mono/mono/mini/exceptions-amd64.c:753: warning: nested extern 
declaration of 'UCONTEXT_REG_R13'
../../../mono/mono/mini/exceptions-amd64.c:754: warning: implicit declaration 
of function 'UCONTEXT_REG_R14'
../../../mono/mono/mini/exceptions-amd64.c:754: warning: nested extern 
declaration of 'UCONTEXT_REG_R14'
../../../mono/mono/mini/exceptions-amd64.c:755: warning: implicit declaration 
of function 'UCONTEXT_REG_R15'
../../../mono/mono/mini/exceptions-amd64.c:755: warning: nested extern 
declaration of 'UCONTEXT_REG_R15'
../../../mono/mono/mini/exceptions-amd64.c: In function 
'mono_arch_monoctx_to_sigctx':
../../../mono/mono/mini/exceptions-amd64.c:781: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:782: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:783: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:784: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:785: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:786: error: lvalue required as left 
operand of assignment
../../../mono/mono/mini/exceptions-amd64.c:787:

Re: [Mono-dev] eglib build failed

2010-05-02 Thread KISHIMOTO, Makoto
Hello,

It seems all right. Thank you.

On Mon, 3 May 2010 01:24:38 +0200
Zoltan Varga  wrote:
> Hi,
> 
>   I committed a different fix, could you try it ?
> 
>  Zoltan
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] eglib build failed

2010-05-02 Thread KISHIMOTO, Makoto
Hello.

Still failed.
config.h have not included and HAVE_SYS_TYPES_H undefined.

On Sun, 2 May 2010 16:15:20 +0200
Zoltan Varga  wrote:
> Should be fixed in SVN.
> 
>Zoltan
> 
> On Sun, May 2, 2010 at 12:47 PM, KISHIMOTO, Makoto
> wrote:
> 
> > Hello.
> >
> > In my amd64 FreeBSD 8 box, eglib build failed.
> >
> > $ gmake
> > gmake  all-recursive
> > gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'
> > Making all in po
> > gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
> > Making all in mcs
> >
> > (snip)
> >
> > Making all in eglib
> > gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
> > gmake  all-recursive
> > gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
> > Making all in src
> > gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
> > /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> > -I../../../mono/eglib/src -I.. -I../../../mono/eglib/src   -Wall
> > -D_FORTIFY_SOURCE=2 -g -O2 -g -O0 -D_GNU_SOURCE -MT libeglib_la-garray.lo
> > -MD -MP -MF .deps/libeglib_la-garray.Tpo -c -o libeglib_la-garray.lo `test
> > -f 'garray.c' || echo '../../../mono/eglib/src/'`garray.c
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../mono/eglib/src -I..
> > -I../../../mono/eglib/src -Wall -D_FORTIFY_SOURCE=2 -g -O2 -g -O0
> > -D_GNU_SOURCE -MT libeglib_la-garray.lo -MD -MP -MF
> > .deps/libeglib_la-garray.Tpo -c ../../../mono/eglib/src/garray.c  -fPIC
> > -DPIC -o .libs/libeglib_la-garray.o
> > In file included from ../../../mono/eglib/src/garray.c:30:
> > ../../../mono/eglib/src/glib.h:673: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'GPid'
> > ../../../mono/eglib/src/glib.h:679: error: expected declaration specifiers
> > or '...' before 'GPid'
> > gmake[4]: *** [libeglib_la-garray.lo] Error 1
> > gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
> > gmake[3]: *** [all-recursive] Error 1
> > gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
> > gmake[2]: *** [all] Error 2
> > gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
> > gmake: *** [all] Error 2
> >
> > In glib.h, type pid_t is used but not included sys/types.h (or unistd.h).
> > Seems to need include sys/types.h .
> >
> > Thank you.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] eglib build failed

2010-05-02 Thread KISHIMOTO, Makoto
Hello.

In my amd64 FreeBSD 8 box, eglib build failed.

$ gmake
gmake  all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'
Making all in po
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
Making all in mcs

(snip)

Making all in eglib
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake  all-recursive
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making all in src
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../mono/eglib/src -I.. -I../../../mono/eglib/src   -Wall 
-D_FORTIFY_SOURCE=2 -g -O2 -g -O0 -D_GNU_SOURCE -MT libeglib_la-garray.lo -MD 
-MP -MF .deps/libeglib_la-garray.Tpo -c -o libeglib_la-garray.lo `test -f 
'garray.c' || echo '../../../mono/eglib/src/'`garray.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../mono/eglib/src -I.. 
-I../../../mono/eglib/src -Wall -D_FORTIFY_SOURCE=2 -g -O2 -g -O0 -D_GNU_SOURCE 
-MT libeglib_la-garray.lo -MD -MP -MF .deps/libeglib_la-garray.Tpo -c 
../../../mono/eglib/src/garray.c  -fPIC -DPIC -o .libs/libeglib_la-garray.o
In file included from ../../../mono/eglib/src/garray.c:30:
../../../mono/eglib/src/glib.h:673: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'GPid'
../../../mono/eglib/src/glib.h:679: error: expected declaration specifiers or 
'...' before 'GPid'
gmake[4]: *** [libeglib_la-garray.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2

In glib.h, type pid_t is used but not included sys/types.h (or unistd.h).
Seems to need include sys/types.h .

Thank you.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] gmake check error with "Corlib not in sync with this runtime"

2010-03-19 Thread KISHIMOTO, Makoto
Hello,

gmake check of mono svn trunk fails with following error.

> Corlib not in sync with this runtime: expected corlib version 69, found 89.
> Loaded from: /export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll
> Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.

All messages are like follows.

$ gmake check
Making check in po
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
Making check in mcs
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'

(snip...)

Testing bug-472600.2.exe ...
Testing bug-473482.2.exe ...
Testing bug-473999.2.exe ...
Testing bug-479763.2.exe ...
Testing generic-xdomain.2.exe ...
Thread 80160ac80 has exited with leftover thread-specific data after 4 
destructor iterations
Testing generic-type-load-exception.2.exe ...
Testing mkbundle...
Thread 80160ac80 has exited with leftover thread-specific data after 4 
destructor iterations
Corlib not in sync with this runtime: expected corlib version 69, found 89.
Loaded from: /export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
gmake[4]: *** [testbundle] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[3]: *** [check-am] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[2]: *** [check-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake: *** [check-recursive] Error 1
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] test large-gc-bitmap.exe fails

2010-01-23 Thread KISHIMOTO, Makoto
Hello,

Since about a week ago, mono svn trunk, test large-gc-bitmap.exe fails,
at my FreeBSD 8 box. messages of make check are following.

$ gmake check
Making check in po
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
Making check in mcs
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/po/mcs'
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
gmake[2]: Nothing to be done for `check-am'.

(snip...)

gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests/cas'
Making check in assemblyresolve
gmake[3]: Entering directory 
`/export/home/ksmakoto/Mono/BUILD/mono/tests/assemblyresolve'
gmake[3]: Nothing to be done for `check'.
gmake[3]: Leaving directory 
`/export/home/ksmakoto/Mono/BUILD/mono/tests/assemblyresolve'
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake  check-local
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[5]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
Testing array-init.exe... pass.
Testing arraylist.exe... pass.
Testing assemblyresolve_event.exe... pass.
Testing assemblyresolve_event3.exe... pass.
Testing checked.exe... pass.


Testing w32message.exe... pass.
Testing bug-56.exe... pass.
Testing gc-altstack.exe... pass.
Testing large-gc-bitmap.exe... failed 256 (1) signal (0).
Testing bug-561239.exe... pass.
Testing async-exc-compilation.exe... pass.
Testing fib.exe... pass.

(snip...)

Testing bug-463303.exe... pass.
Testing bug469742.2.exe... pass.
Testing bug-528055.exe... pass.
Testing constraints-load.exe... pass.
Testing array_load_exception.exe... pass.
Testing bug-481403.exe... pass.
Testing interface-with-static-method.exe... pass.
383 test(s) passed. 1 test(s) did not pass.

Failed tests:

large-gc-bitmap.exe
gmake[5]: *** [runtest] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[4]: *** [testjit] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[3]: *** [check-am] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[2]: *** [check-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/tests'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake: *** [check-recursive] Error 1
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] corlib test error

2009-12-16 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD-amd64, Mono svn trunk test failed.

$ gmake check

(snip)

gmake test-local
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[4]: `profile-do--net_2_1_raw--test' is up to date.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake ONLY_CENTUM_TESTS=yes mcs-do-run-test-profiles
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/runtime'
cd ../../mono/../mcs && gmake NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5  
net_2_1_raw  net_2_1_raw' run-test-profiles
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/mcs'
ret=:;  { gmake PROFILE=net_2_0 run-test || ret=false; };   { gmake 
PROFILE=net_3_5 run-test || ret=false; };   { gmake PROFILE=net_2_1_raw 
run-test || ret=false; };   { gmake PROFILE=net_2_1_raw run-test || ret=false; 
};  $ret
gmake[5]: Entering directory `/export/home/ksmakoto/Mono/mcs'
ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
$ok
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
$ok
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
ok=:; \

PATH="/export/home/ksmakoto/Mono/BUILD/runtime/_tmpinst/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/ksmakoto/bin"
 MONO_REGISTRY_PATH="/home/ksmakoto/.mono/registry" 
MONO_PATH="./../../class/lib/net_2_0::$MONO_PATH" 
/export/home/ksmakoto/Mono/BUILD/runtime/mono-wrapper --debug  
./../../class/lib/net_2_0/nunit-console.exe  corlib_test_net_2_0.dll -noshadow  
 -exclude=NotWorking,ValueAdd,CAS,InetAccess -output=TestResult-net_2_0.log 
-xml=TestResult-net_2_0.xml  || ok=false; \
(echo ''; cat TestResult-net_2_0.log) | sed '1,/^Tests run: /d'; 
xsltproc ./../../build/nunit-summary.xsl TestResult-net_2_0.xml >> 
TestResult-net_2_0.log ; $ok
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment - 
   OS Version: Unix 8.0.2.0
  CLR Version: 2.0.50727.1433 ( /trunk/mono r148626 Thu Dec 17 11:36:14 JST 
2009 )

Unhandled Exception:
System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal 
to the list count.
Parameter name: index
0
  at System.Collections.ArrayList.ThrowNewArgumentOutOfRangeException 
(System.String name, System.Object actual, System.String message) [0x0] in 
/export/home/ksmakoto/Mono/mcs/class/corlib/System.Collections/ArrayList.cs:3249
 
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00013] in 
/export/home/ksmakoto/Mono/mcs/class/corlib/System.Collections/ArrayList.cs:2640
 
  at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index) 
[0x0] in 
/export/home/ksmakoto/Mono/mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs:63
 
  at System.Diagnostics.Process.get_MainModule () [0x0] in 
/export/home/ksmakoto/Mono/mcs/class/System/System.Diagnostics/Process.cs:232 
  at (wrapper remoting-invoke-with-check) 
System.Diagnostics.Process:get_MainModule ()
  at NUnit.Util.DomainManager.CreateDomain (NUnit.Core.TestPackage package) 
[0x0019f] in 
/export/home/ksmakoto/Mono/mcs/nunit24/ClientUtilities/util/Services/DomainManager.cs:105
 
  at NUnit.Util.TestDomain.Load (NUnit.Core.TestPackage package) [0x00011] in 
/export/home/ksmakoto/Mono/mcs/nunit24/ClientUtilities/util/TestDomain.cs:52 
warning: failed to load external entity "TestResult-net_2_0.xml"
unable to parse TestResult-net_2_0.xml
gmake[8]: *** [run-test-lib] Error 1
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: *** [do-run-test] Error 1
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[6]: *** [run-test-recursive] Error 1
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[5]: *** [do-run-test] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[5]: Entering directory `/export/home/ksmakoto/Mono/mcs'
ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
$ok
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mcs/class/System.Xml.Linq'
Creating ../../build/deps/net_3_5_System.Xml.Linq.dll.makefrag ...

(snip)

gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/tools'
o

[Mono-dev] 21 test(s) did not pass.

2009-12-08 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD-amd64 box, many checks of mono svn trunk failed.
Mostly are caused by these day's changes.

$ gmake check
...(snip)...
362 test(s) passed. 21 test(s) did not pass.

Failed tests:

test-dup-mp.exe
appdomain.exe
appdomain1.exe
appdomain2.exe
appdomain-unload.exe
appdomain-async-invoke.exe
delegate9.exe
remoting4.exe
marshal-valuetypes.exe
thread6.exe
cross-domain.exe
appdomain-exit.exe
stackframes-async.2.exe
generic-xdomain.2.exe
bug-335131.2.exe
bug-80307.exe
bug-415577.exe
generic-unloading.2.exe
appdomain-unload-callback.exe
appdomain-thread-abort.exe
xdomain-threads.exe
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] svn trunk, gmake check failed

2009-12-03 Thread KISHIMOTO, Makoto
Hello,

Sorry.
Updated, error does not happen.

Current revision, one test failed.

382 test(s) passed. 1 test(s) did not pass.

Failed tests:

test-dup-mp.exe



On Thu, 3 Dec 2009 18:54:27 +0900
"KISHIMOTO, Makoto"  wrote:
> On FreeBSD, make check of Mono svn trunk failed.
> 
> $ gmake check
> (snip)
> gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/tools'
> gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/tools'
> gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/tools'
> gmake test-local
> gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
> gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
> gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
> gmake[4]: `profile-do--net_2_1_raw--test' is up to date.
> gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
> gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
> gmake ONLY_CENTUM_TESTS=yes mcs-do-run-test-profiles
> gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/runtime'
> cd ../../mono/../mcs && gmake NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5  
> net_2_1_raw  net_2_1_raw' run-test-profiles
> gmake[4]: Entering directory `/export/home/ksmakoto/Mono/mcs'
> ret=:;  { gmake PROFILE=net_2_0 run-test || ret=false; };   { gmake 
> PROFILE=net_3_5 run-test || ret=false; };   { gmake PROFILE=net_2_1_raw 
> run-test || ret=false; };   { gmake PROFILE=net_2_1_raw run-test || 
> ret=false; };  $ret
> gmake[5]: Entering directory `/export/home/ksmakoto/Mono/mcs'
> ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
> $ok
> gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
> gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
> ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
> $ok
> gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
> gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
> gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
> ok=:; \
>   
> PATH="/export/home/ksmakoto/Mono/BUILD/runtime/_tmpinst/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/ksmakoto/bin"
>  MONO_REGISTRY_PATH="/home/ksmakoto/.mono/registry" 
> MONO_PATH="./../../class/lib/net_2_0::$MONO_PATH" 
> /export/home/ksmakoto/Mono/BUILD/runtime/mono-wrapper --debug  
> ./../../class/lib/net_2_0/nunit-console.exe  corlib_test_net_2_0.dll 
> -noshadow   -exclude=NotWorking,ValueAdd,CAS,InetAccess 
> -output=TestResult-net_2_0.log -xml=TestResult-net_2_0.xml  || ok=false; \
>   (echo ''; cat TestResult-net_2_0.log) | sed '1,/^Tests run: /d'; 
> xsltproc ./../../build/nunit-summary.xsl TestResult-net_2_0.xml >> 
> TestResult-net_2_0.log ; $ok
> NUnit version 2.4.8
> Copyright (C) 2002-2007 Charlie Poole.
> Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
> Copyright (C) 2000-2002 Philip Craig.
> All Rights Reserved.
> 
> Runtime Environment - 
>OS Version: Unix 8.0.2.0
>   CLR Version: 2.0.50727.1433 ( /trunk/mono r147160 Tue Dec  1 11:06:12 JST 
> 2009 )
> 
> Unhandled Exception:
> System.ArgumentOutOfRangeException: Index is less than 0 or more than or 
> equal to the list count.
> Parameter name: index
> 0
>   at System.Collections.ArrayList.ThrowNewArgumentOutOfRangeException 
> (System.String name, System.Object actual, System.String message) [0x0] 
> in 
> /export/home/ksmakoto/Mono/mcs/class/corlib/System.Collections/ArrayList.cs:3249
>  
>   at System.Collections.ArrayList.get_Item (Int32 index) [0x00013] in 
> /export/home/ksmakoto/Mono/mcs/class/corlib/System.Collections/ArrayList.cs:2640
>  
>   at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index) 
> [0x0] in 
> /export/home/ksmakoto/Mono/mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs:63
>  
>   at System.Diagnostics.Process.get_MainModule () [0x0] in 
> /export/home/ksmakoto/Mono/mcs/class/System/System.Diagnostics/Process.cs:232 
>   at (wrapper remoting-invoke-with-check) 
> System.Diagnostics.Process:get_MainModule ()
>   at NUnit.Util.DomainManager.CreateDomain (NUnit.Core.TestPackage package) 
> [0x0019f] in 
> /export/home/ksmakoto/Mono/mcs/nunit24/ClientUtilities/util/Services/DomainManager.cs:105
>  
>   at NUnit.Util.TestDomain.Load (NUnit.Core.TestPackage package) [0x00011] in 
> /export/home/ksmakoto/Mono/mcs/nunit24/ClientUtilities/util/TestDomain.cs:52 
> warning: failed to load external entity "TestResult-net_2_0.xml"
> unable to parse TestResult-net_2_0.xml
> gmake[8]: *** [run-test-lib] Error 1
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] svn trunk, gmake check failed

2009-12-03 Thread KISHIMOTO, Makoto
Hello

On FreeBSD, make check of Mono svn trunk failed.

$ gmake check
(snip)
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/tools'
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/tools'
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/tools'
gmake test-local
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[4]: `profile-do--net_2_1_raw--test' is up to date.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake ONLY_CENTUM_TESTS=yes mcs-do-run-test-profiles
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/runtime'
cd ../../mono/../mcs && gmake NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5  
net_2_1_raw  net_2_1_raw' run-test-profiles
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/mcs'
ret=:;  { gmake PROFILE=net_2_0 run-test || ret=false; };   { gmake 
PROFILE=net_3_5 run-test || ret=false; };   { gmake PROFILE=net_2_1_raw 
run-test || ret=false; };   { gmake PROFILE=net_2_1_raw run-test || ret=false; 
};  $ret
gmake[5]: Entering directory `/export/home/ksmakoto/Mono/mcs'
ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
$ok
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
$ok
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
ok=:; \

PATH="/export/home/ksmakoto/Mono/BUILD/runtime/_tmpinst/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/ksmakoto/bin"
 MONO_REGISTRY_PATH="/home/ksmakoto/.mono/registry" 
MONO_PATH="./../../class/lib/net_2_0::$MONO_PATH" 
/export/home/ksmakoto/Mono/BUILD/runtime/mono-wrapper --debug  
./../../class/lib/net_2_0/nunit-console.exe  corlib_test_net_2_0.dll -noshadow  
 -exclude=NotWorking,ValueAdd,CAS,InetAccess -output=TestResult-net_2_0.log 
-xml=TestResult-net_2_0.xml  || ok=false; \
(echo ''; cat TestResult-net_2_0.log) | sed '1,/^Tests run: /d'; 
xsltproc ./../../build/nunit-summary.xsl TestResult-net_2_0.xml >> 
TestResult-net_2_0.log ; $ok
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment - 
   OS Version: Unix 8.0.2.0
  CLR Version: 2.0.50727.1433 ( /trunk/mono r147160 Tue Dec  1 11:06:12 JST 
2009 )

Unhandled Exception:
System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal 
to the list count.
Parameter name: index
0
  at System.Collections.ArrayList.ThrowNewArgumentOutOfRangeException 
(System.String name, System.Object actual, System.String message) [0x0] in 
/export/home/ksmakoto/Mono/mcs/class/corlib/System.Collections/ArrayList.cs:3249
 
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00013] in 
/export/home/ksmakoto/Mono/mcs/class/corlib/System.Collections/ArrayList.cs:2640
 
  at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index) 
[0x0] in 
/export/home/ksmakoto/Mono/mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs:63
 
  at System.Diagnostics.Process.get_MainModule () [0x0] in 
/export/home/ksmakoto/Mono/mcs/class/System/System.Diagnostics/Process.cs:232 
  at (wrapper remoting-invoke-with-check) 
System.Diagnostics.Process:get_MainModule ()
  at NUnit.Util.DomainManager.CreateDomain (NUnit.Core.TestPackage package) 
[0x0019f] in 
/export/home/ksmakoto/Mono/mcs/nunit24/ClientUtilities/util/Services/DomainManager.cs:105
 
  at NUnit.Util.TestDomain.Load (NUnit.Core.TestPackage package) [0x00011] in 
/export/home/ksmakoto/Mono/mcs/nunit24/ClientUtilities/util/TestDomain.cs:52 
warning: failed to load external entity "TestResult-net_2_0.xml"
unable to parse TestResult-net_2_0.xml
gmake[8]: *** [run-test-lib] Error 1
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: *** [do-run-test] Error 1
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[6]: *** [run-test-recursive] Error 1
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[5]: *** [do-run-test] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[5]: Entering directory `/export/home/ksmakoto/Mono/mcs'
ok=:; gmake run-test-recursive || ok=false; gmake run-test-local || ok=false; 
$ok
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs'
gmake[7]: Entering directory 
`

[Mono-dev] No rule to make target `System.ServiceModel.Security/UsernamePasswordClientCredential.cs'

2009-11-25 Thread KISHIMOTO, Makoto
Hello,

Mono svn trunk cannot build. log is following.

...
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mcs/class/System.Runtime.Serialization'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ServiceModel'
Creating ../../build/deps/net_2_1_raw_System.ServiceModel.dll.makefrag ...
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ServiceModel'
gmake[7]: Entering directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ServiceModel'
gmake all-local
gmake[8]: Entering directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ServiceModel'
gmake[8]: *** No rule to make target 
`System.ServiceModel.Security/UsernamePasswordClientCredential.cs', needed by 
`../../class/lib/net_2_1_raw/System.ServiceModel.dll'.  Stop.
gmake[8]: Leaving directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ServiceModel'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory 
`/export/home/ksmakoto/Mono/mcs/class/System.ServiceModel'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[4]: *** [profile-do--net_2_1_raw--all] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] 'IPPROTO_TCP' undeclared

2009-11-02 Thread KISHIMOTO, Makoto
Hello,

trunk of svn build failed.

../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/mini -I../..   
-DGC_FREEBSD_THREADS -DPLATFORM_BSD  -I../../../mono 
-I../../../mono/libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing 
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings 
-mno-tls-direct-seg-refs -MT debugger-agent.lo -MD -MP -MF 
.deps/debugger-agent.Tpo -c -o debugger-agent.lo 
../../../mono/mono/mini/debugger-agent.c
../../../mono/mono/mini/debugger-agent.c: In function 'transport_connect':
../../../mono/mono/mini/debugger-agent.c:715: error: 'IPPROTO_TCP' undeclared 
(first use in this function)
../../../mono/mono/mini/debugger-agent.c:715: error: (Each undeclared 
identifier is reported only once
../../../mono/mono/mini/debugger-agent.c:715: error: for each function it 
appears in.)
gmake[4]: *** [debugger-agent.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2

For information, in FreeBSD, IPPROTO_TCP defined in
/usr/include/netinet/in.h .
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] HttpContext.cs, The type or namespace name `Assembly' could not be found.

2009-09-29 Thread KISHIMOTO, Makoto
Hello,

Mono SVN trunk build broken, in my FreeBSD RELENG_8.

...(snip)
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/System.Web'
MCS [net_1_1] System.Web.dll
System.Web/HttpContext.cs(59,24): error CS0246: The type or namespace name 
`Assembly' could not be found. Are you missing a using directive or an assembly 
reference?
Compilation failed: 1 error(s), 0 warnings
gmake[8]: *** [../../class/lib/net_1_1/System.Web.dll] Error 1
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/System.Web'
gmake[7]: *** [do-all] Error 2
...(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono SVN trunk cannot build in FreeBSD7

2009-07-31 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD 7 box, trunk cannot build.

$ gmake
(snip)
Making all in mini
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  all-am
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/mini -I../..   
-DGC_FREEBSD_THREADS -DPLATFORM_BSD  -I../../../mono 
-I../../../mono/libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing 
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings 
-mno-tls-direct-seg-refs -MT exceptions-amd64.lo -MD -MP -MF 
.deps/exceptions-amd64.Tpo -c -o exceptions-amd64.lo 
../../../mono/mono/mini/exceptions-amd64.c
../../../mono/mono/mini/exceptions-amd64.c: In function 'gregs_from_ucontext':
../../../mono/mono/mini/exceptions-amd64.c:699: error: cannot convert to a 
pointer type
gmake[4]: *** [exceptions-amd64.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] SVN trunk build failed

2009-07-28 Thread KISHIMOTO, Makoto
Hello

Mono SVN trunk build failed.

$ gmake
(snip)
gmake[6]: Entering directory `/export/home/ksmakoto/Mono/mcs/class'
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake all-local
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
MCS [net_2_0_bootstrap] mscorlib.dll
System/Enum.cs(430,35): warning CS0219: The variable `ic' is assigned but its 
value is never used
System.Reflection/MonoGenericClass.cs(252,36): warning CS0168: The variable 
`accessor' is declared but never used
System.Reflection.Emit/OpCodes.cs(665,107): error CS0117: 
`System.Reflection.Emit.StackBehaviour' does not contain a definition for 
`Popref_popi_pop1'
System.Reflection.Emit/StackBehaviour.cs(39,21): (Location of the symbol 
related to previous error)
System.Reflection.Emit/OpCodes.cs(666,136): error CS1502: The best overloaded 
method match for `System.Reflection.Emit.OpCode.OpCode(int, int)' has some 
invalid arguments
System.Reflection.Emit/OpCode.cs(49,26): (Location of the symbol related to 
previous error)
System.Reflection.Emit/OpCodes.cs(666,136): error CS1503: Argument `#1' cannot 
convert `object' expression to type `int'
Compilation failed: 3 error(s), 2 warnings
Thread 801402560 has exited with leftover thread-specific data after 4 
destructor iterations
gmake[8]: *** [../../class/lib/net_2_0_bootstrap/tmp/mscorlib.dll] Error 1
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[6]: *** [all-recursive] Error 1
(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] SVN trunk build failed

2009-07-25 Thread KISHIMOTO, Makoto
Hello

Mono SVN trunk build failed.

$ gmake
(snip)
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake all-local
gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[8]: *** No rule to make target 
`System.Reflection.Emit/EventOnTypeBuilderInst.cs', needed by 
`../../class/lib/basic/mscorlib.dll'.  Stop.
gmake[8]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/class/corlib'
(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Error "The type or namespace name `var' could not be found."

2009-06-04 Thread KISHIMOTO, Makoto

> Hello,
> 
> In my FreeBSD7, Mono trunk revision 35282 or later, build was failed
> (revision 35281 was succeed).

typo. 135282 / 135281

> Error message is following.
> 
(snip)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Error "The type or namespace name `var' could not be found."

2009-06-04 Thread KISHIMOTO, Makoto
Hello,

In my FreeBSD7, Mono trunk revision 35282 or later, build was failed
(revision 35281 was succeed).
Error message is following.

gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/mcs'
Makefile:88: warning: overriding commands for target `csproj-local'
../build/executable.make:131: warning: ignoring old commands for target 
`csproj-local'
MCS [basic] mcs.exe
complete.cs(136,36): warning CS0219: The variable `original' is assigned but 
its value is never used
delegate.cs(381,32): warning CS0219: The variable `g_args' is assigned but its 
value is never used
delegate.cs(418,32): warning CS0219: The variable `g_args' is assigned but its 
value is never used
parameter.cs(358,25): error CS0246: The type or namespace name `var' could not 
be found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 3 warnings
gmake[7]: *** [../class/lib/basic/mcs.exe] Error 1
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/mcs'
gmake[6]: *** [do-all] Error 2
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/mcs'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] include stdio.h at locking.c [patch]

2009-05-20 Thread KISHIMOTO, Makoto
Hello

At my FreeBSD box, trunk cannot compile.
Error is following.

../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/io-layer -I../.. 
-D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-I../../../mono/libgc/include -DMONO_BINDIR=\""/usr/local/bin"\" 
-I../../../mono   -DGC_FREEBSD_THREADS -DPLATFORM_BSD   -g -O2 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs -MT locking.lo -MD -MP -MF 
.deps/locking.Tpo -c -o locking.lo ../../../mono/mono/io-layer/locking.c
../../../mono/mono/io-layer/locking.c: In function '_wapi_lock_file_region':
../../../mono/mono/io-layer/locking.c:29: error: 'SEEK_SET' undeclared (first 
use in this function)
../../../mono/mono/io-layer/locking.c:29: error: (Each undeclared identifier is 
reported only once
../../../mono/mono/io-layer/locking.c:29: error: for each function it appears 
in.)
../../../mono/mono/io-layer/locking.c: In function '_wapi_unlock_file_region':
../../../mono/mono/io-layer/locking.c:69: error: 'SEEK_SET' undeclared (first 
use in this function)

Patch.

Index: mono/mono/io-layer/locking.c
===
--- mono/mono/io-layer/locking.c(revision 134497)
+++ mono/mono/io-layer/locking.c(working copy)
@@ -9,6 +9,7 @@
  */
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Patch for sys/socket.h include

2009-01-12 Thread KISHIMOTO, Makoto
Hello,

Index: mono/metadata/threadpool.c
===
--- mono/metadata/threadpool.c  (revision 123169)
+++ mono/metadata/threadpool.c  (working copy)
@@ -40,6 +40,9 @@
 #include 
 #endif
 #include 
+#ifdef HAVE_SYS_SOCKET_H
+#include 
+#endif
 
 #include 
 #ifdef HAVE_EPOLL

This patch fix following problem.

In FreeBSD7, mono trunk cannot build. Error message is

> $ gmake
> gmake  all-recursive
> gmake[1]: Entering directory `/export/home/ksmakoto/Mono/mono'
> Making all in po
> gmake[2]: Entering directory `/export/home/ksmakoto/Mono/mono/po'
(snip)
> Making all in cil
> gmake[3]: Entering directory `/export/home/ksmakoto/Mono/mono/mono/cil'
> gmake[3]: Nothing to be done for `all'.
> gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mono/mono/cil'
> Making all in metadata
> gmake[3]: Entering directory `/export/home/ksmakoto/Mono/mono/mono/metadata'
> ../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono 
> -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 
> -I/usr/local/lib/glib-2.0/include   -DMONO_BINDIR=\"/usr/local/bin/\" 
> -DMONO_ASSEMBLIES=\"/usr/local/lib\" -DMONO_CFG_DIR=\"/usr/local/etc\"  
> -DGC_FREEBSD_THREADS -DPLATFORM_BSD   -g -O2 -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 -MT threadpool.lo -MD -MP -MF .deps/threadpool.Tpo 
> -c -o threadpool.lo threadpool.c
> In file included from threadpool.c:49:
> ../../mono/io-layer/socket-wrappers.h:44: error: expected declaration 
> specifiers or '...' > before 'socklen_t'
> ../../mono/io-layer/socket-wrappers.h:44: warning: 'struct sockaddr' declared 
> inside parameter list
> ../../mono/io-layer/socket-wrappers.h:44: warning: its scope is only this 
> definition or declaration, which is probably not what you want
> ../../mono/io-layer/socket-wrappers.h:46: error: expected declaration 
> specifiers or '...' before 'socklen_t'
> ../../mono/io-layer/socket-wrappers.h:46: warning: 'struct sockaddr' declared 
> inside parameter list
(snip)
> gmake[3]: *** [threadpool.lo] Error 1
> gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mono/mono/metadata'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/mono/mono'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/mono'
> gmake: *** [all] Error 2
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Trunk broken, g_slist_append_mempool declaration inconsistency

2008-11-27 Thread KISHIMOTO, Makoto
Hello

Trunk cannot build, like follows

gmake[4]: Entering directory `/local/home/ksmakoto/Mono/mono/mono/mini'
if ../../doltcompile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DGC_FREEBSD_THREADS 
-DPLATFORM_BSD  -I../.. -I../../libgc/include -D_REENTRANT 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -g -O2 
-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 -MT regalloc2.lo -MD -MP 
-MF ".deps/regalloc2.Tpo" -c -o regalloc2.lo regalloc2.c; \
then mv -f ".deps/regalloc2.Tpo" ".deps/regalloc2.Plo"; else rm -f 
".deps/regalloc2.Tpo"; exit 1; fi
regalloc2.c:192: error: static declaration of 'g_slist_append_mempool' follows 
non-static declaration
../../mono/metadata/mempool-internals.h:11: error: previous declaration of 
'g_slist_append_mempool' was here
gmake[4]: *** [regalloc2.lo] Error 1
gmake[4]: Leaving directory `/local/home/ksmakoto/Mono/mono/mono/mini'



Sources are like this.

mono/mini/regalloc2.c
   189  static inline GSList*
   190  g_slist_append_mempool (MonoMemPool *mp, GSList   *list,
   191  gpointer  data)

mono/metadata/mempool-internals.h
10  GSList*
11  g_slist_append_mempool (MonoMemPool *mp, GSList *list, gpointer data) 
MONO_INTERNAL;
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mono 2.0.1 that are failing on FreeBSD

2008-11-26 Thread KISHIMOTO, Makoto
Hello

> > Failed tests:
> > 
> > exception.exe
> > remoting2.exe
> > remoting3.exe
> > generics-sharing.2.exe
> > generic-null-call.2.exe
> > thunks.exe
> > bug-78549.exe
> > gmake: *** [testjit] Error 1
> > *** Error code 2
> > 
> > 
> > I was building a LiveCD for taking the problem closer to any of you, but
> > as i can read some already have a vm with FreeBSD.
> > 
> > If i should provide more info, just tell. 
> 
> You need to provide more info, like run each test individually inside
> gdb and get as much info as possible about the failure.
> 
> lupus

I've tried to get info of some of these tests.



exceptions

[~/Mono/mono/mono/mini]$ ./mono exceptions.exe
Stacktrace:

  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke 
(object,object[],System.Exception&) <0x0006c>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke 
(object,object[],System.Exception&) <0x>
  at System.Reflection.MonoMethod.Invoke 
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
 <0x000d0>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0002a>
  at TestDriver.RunTests (System.Type,string[]) <0x00405>
  at TestDriver.RunTests (System.Type) <0x00016>
  at Tests.Main () <0x00015>
  at (wrapper runtime-invoke) Tests.runtime_invoke_int 
(object,intptr,intptr,intptr) <0x>
Abort trap: 6 (core dumped)



exception

[~/Mono/mono/mono/tests]$ ../mini/mono exception.exe
Stacktrace:

Abort trap: 6 (core dumped)



pinvoke2

[~/Mono/mono/mono/tests]$ ../mini/mono pinvoke2.exe
test_0_marshal_stringbuilder_array failed: got 1, expected 0
Regression tests: 71 ran, 1 failed in Tests



appdomain-unload

[~/Mono/mono/mono/tests]$ ../mini/mono appdomain-unload.exe
FINALIZING IN DOMAIN appdomain-unload.exe: False
FINALIZING IN DOMAIN Test-is-finalizing: True
Thread aborted correctly.
Regression tests: 7 ran, 0 failed in Tests
**
** ERROR:(mini.c:2101):mono_get_lmf_addr: code should not be reached
Abort trap: 6 (core dumped)



remoting2

[~/Mono/mono/mono/tests]$ ../mini/mono remoting2.exe
Invoke nonvirtual_Add
ARGS(a 6, b 7)
INARGS(a 6, b 7)
nonvirtual_Add
RESARGS(a , b )
RESOUTARGS()
Invoke nonvirtual_Add
ARGS(a 2, b 4)
INARGS(a 2, b 4)
nonvirtual_Add
RESARGS(a , b )
RESOUTARGS()
Stacktrace:

  at (wrapper managed-to-native) 
object.__icall_wrapper_mono_delegate_begin_invoke (object,intptr) <0x00060>
  at (wrapper managed-to-native) 
object.__icall_wrapper_mono_delegate_begin_invoke (object,intptr) <0x>
  at (wrapper delegate-begin-invoke) 
Test/RemoteDelegate2.begin_invoke_IAsyncResult__this___int_int_AsyncCallback_object
 (int,int,System.AsyncCallback,object) <0x>
  at Test.Main () <0x0019d>
  at (wrapper runtime-invoke) Test.runtime_invoke_int 
(object,intptr,intptr,intptr) <0x>
Abort trap: 6 (core dumped)



remoting3

[~/Mono/mono/mono/tests]$ ../mini/mono remoting3.exe
Invoke Add
ARGS(a 2, c 0, b 3)
INARGS(a 2, b 3)
ADD
RESARGS(a , c 5, b )
RESOUTARGS(c 5)
Stacktrace:

  at (wrapper managed-to-native) 
object.__icall_wrapper_mono_delegate_begin_invoke (object,intptr) <0x00060>
  at (wrapper managed-to-native) 
object.__icall_wrapper_mono_delegate_begin_invoke (object,intptr) <0x>
  at (wrapper delegate-begin-invoke) 
Test/RemoteDelegate1.begin_invoke_IAsyncResult__this___int_int&_int_AsyncCallback_object
 (int,int&,int,System.AsyncCallback,object) <0x>
  at Test.Main () <0x001c9>
  at (wrapper runtime-invoke) Test.runtime_invoke_int 
(object,intptr,intptr,intptr) <0x>
Abort trap: 6 (core dumped)



generics-sharing.2

[~/Mono/mono/mono/tests]$ ../mini/mono generics-sharing.2.exe
Stacktrace:

Abort trap: 6 (core dumped)



generic-null-call.2

[~/Mono/mono/mono/tests]$ ../mini/mono generic-null-call.2.exe
Stacktrace:

Abort trap: 6 (core dumped)



bug-78549

[~/Mono/mono/mono/tests]$ ../mini/mono bug-78549.exe
Stacktrace:

Abort trap: 6 (core dumped)


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] One more shell script patch

2008-11-25 Thread KISHIMOTO, Makoto
> One more patch for shell script.
> "seq" command doesn't available in non GNU system, and
> modification for bourne shell.

Sorry, this is more safe shell function version.

Index: mono/mono/tests/make_imt_test.sh
===
--- mono/mono/tests/make_imt_test.sh(revision 119943)
+++ mono/mono/tests/make_imt_test.sh(working copy)
@@ -1,12 +1,23 @@
-#! /bin/bash
+#!/bin/sh
 
 LOW=2000
 HIGH=2000
 
-function create_iface () {
+iota() {
+   (
+   i=$1
+   while [ $i -le $2 ]
+   do
+   echo $i
+   i=`expr $i + 1`
+   done
+   )
+}
+
+create_iface() {
COUNT=$1
echo "public interface Iface_$COUNT {"
-   for i in `seq 1 $COUNT`;
+   for i in `iota 1 $COUNT`;
do
echo "  int Method_$i (int a, int b, int c, int d);"
done 
@@ -15,10 +26,10 @@
 }
 
 
-function create_impl () {
+create_impl() {
COUNT=$1
echo "public class Impl_$COUNT : Iface_$COUNT {"
-   for i in `seq 1 $COUNT`;
+   for i in `iota 1 $COUNT`;
do
echo "  public virtual int Method_$i (int a, int b, int c, int 
d) { return a - b - c - d + ${i}; }"
done 
@@ -27,7 +38,7 @@
 }
 
 
-function create_static_part () {
+create_static_part() {
IFACE=$1
echo "  static Iface_$IFACE var_$IFACE = new Impl_$IFACE ();"
echo "  static int Test_$IFACE () {
@@ -35,7 +46,7 @@
int r;
"
 
-   for i in `seq 1 $IFACE`;
+   for i in `iota 1 $IFACE`;
do  
echo "  if ((r = var_${IFACE}.Method_$i (10,5,3,2)) != 
${i}) {
Console.WriteLine(\"iface $IFACE method $i returned 
{0}\", r);
@@ -49,7 +60,7 @@
 }
 
 
-function test_iface () {
+test_iface() {
IFACE=$1
echo "  res |= Test_$IFACE ();"
 }
@@ -61,7 +72,7 @@
 
 "
 
-for i in `seq $LOW $HIGH`;
+for i in `iota $LOW $HIGH`;
 do
create_iface $i
create_impl $i
@@ -75,7 +86,7 @@
 "
 
 
-for i in `seq $LOW $HIGH`;
+for i in `iota $LOW $HIGH`;
 do
create_static_part $i
 done
@@ -87,7 +98,7 @@
int res = 0;"
 
 
-for i in `seq $LOW $HIGH`;
+for i in `iota $LOW $HIGH`;
 do
test_iface  $i
 done
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] One more shell script patch

2008-11-25 Thread KISHIMOTO, Makoto
Hello

One more patch for shell script.
"seq" command doesn't available in non GNU system, and
modification for bourne shell.

Index: mono/mono/tests/make_imt_test.sh
===
--- mono/mono/tests/make_imt_test.sh(revision 119943)
+++ mono/mono/tests/make_imt_test.sh(working copy)
@@ -1,12 +1,21 @@
-#! /bin/bash
+#!/bin/sh
 
 LOW=2000
 HIGH=2000
 
-function create_iface () {
+iota() {
+   i=$1
+   while [ $i -le $2 ]
+   do
+   echo $i
+   i=`expr $i + 1`
+   done
+}
+
+create_iface() {
COUNT=$1
echo "public interface Iface_$COUNT {"
-   for i in `seq 1 $COUNT`;
+   for i in `iota 1 $COUNT`;
do
echo "  int Method_$i (int a, int b, int c, int d);"
done 
@@ -15,10 +24,10 @@
 }
 
 
-function create_impl () {
+create_impl() {
COUNT=$1
echo "public class Impl_$COUNT : Iface_$COUNT {"
-   for i in `seq 1 $COUNT`;
+   for i in `iota 1 $COUNT`;
do
echo "  public virtual int Method_$i (int a, int b, int c, int 
d) { return a - b - c - d + ${i}; }"
done 
@@ -27,7 +36,7 @@
 }
 
 
-function create_static_part () {
+create_static_part() {
IFACE=$1
echo "  static Iface_$IFACE var_$IFACE = new Impl_$IFACE ();"
echo "  static int Test_$IFACE () {
@@ -35,7 +44,7 @@
int r;
"
 
-   for i in `seq 1 $IFACE`;
+   for i in `iota 1 $IFACE`;
do  
echo "  if ((r = var_${IFACE}.Method_$i (10,5,3,2)) != 
${i}) {
Console.WriteLine(\"iface $IFACE method $i returned 
{0}\", r);
@@ -49,7 +58,7 @@
 }
 
 
-function test_iface () {
+test_iface() {
IFACE=$1
echo "  res |= Test_$IFACE ();"
 }
@@ -61,7 +70,7 @@
 
 "
 
-for i in `seq $LOW $HIGH`;
+for i in `iota $LOW $HIGH`;
 do
create_iface $i
create_impl $i
@@ -75,7 +84,7 @@
 "
 
 
-for i in `seq $LOW $HIGH`;
+for i in `iota $LOW $HIGH`;
 do
create_static_part $i
 done
@@ -87,7 +96,7 @@
int res = 0;"
 
 
-for i in `seq $LOW $HIGH`;
+for i in `iota $LOW $HIGH`;
 do
test_iface  $i
 done
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono 2.2 Unix environment portability patch

2008-11-25 Thread KISHIMOTO, Makoto
Hello

I've tested Mono 2.2 Preview 1.

Shebang line of some scripts refer /bin/bash, for portability,
/bin/sh is more better.

diff -ru mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj 
mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj
--- mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj  2008-09-11 
01:22:50.0 +0900
+++ mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj   2008-11-25 
16:58:03.0 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # I got tired of editing the SWF.csproj
 # This script will generate it from our System.Windows.Forms.dll.sources
diff -ru mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj2k5 
mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj2k5
--- mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj2k5   
2008-09-11 01:22:50.0 +0900
+++ mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj2k52008-11-25 
17:00:01.0 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # This script will generate SWF.cs.target from our 
System.Windows.Forms.dll.sources
 #
diff -ru mono-2.2.ORIG/mcs/class/Mono.WebBrowser/build-csproj2k5 
mono-2.2/mcs/class/Mono.WebBrowser/build-csproj2k5
--- mono-2.2.ORIG/mcs/class/Mono.WebBrowser/build-csproj2k5 2008-09-11 
01:23:40.0 +0900
+++ mono-2.2/mcs/class/Mono.WebBrowser/build-csproj2k5  2008-11-25 
16:48:11.0 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # This script will generate SWF.cs.target from our 
System.Windows.Forms.dll.sources
 #
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list