[Mono-dev] [Mono-patches] [mono/mono] [6 commits] 67234d21: [utils] Added lock-free queue and allocator.

Vincent Povirk madewokherd at gmail.com
Wed May 4 01:00:28 EDT 2011


This commit broke my cross-compile for Windows:

libtool: compile:  i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I.
-I../../../mono/utils -I../.. -I../../.. -I../../../mono
-I../../../libgc/include -I../../../eglib/src -I../../eglib/src
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE
-DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -D__default_codegen__ -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 lock-free-queue.lo -MD -MP -MF
.deps/lock-free-queue.Tpo -c ../../../mono/utils/lock-free-queue.c
-DDLL_EXPORT -DPIC -o .libs/lock-free-queue.o
../../../mono/utils/lock-free-queue.c:51:22: error: sys/mman.h: No
such file or directory
In file included from ../../../mono/io-layer/wapi.h:16,
                 from ../../../mono/io-layer/atomic.h:25,
                 from ../../../mono/utils/lock-free-queue.c:55:
../../../mono/io-layer/io.h:88:1: warning: "MAX_PATH" redefined
In file included from ../../../mono/utils/lock-free-queue.c:49:
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/stdlib.h:45:1:
warning: this is the location of the previous definition
In file included from ../../../mono/io-layer/wapi.h:20,
                 from ../../../mono/io-layer/atomic.h:25,
                 from ../../../mono/utils/lock-free-queue.c:55:
../../../mono/io-layer/critical-sections.h:14:21: error: pthread.h: No
such file or directory
In file included from ../../../mono/io-layer/critical-sections.h:16,
                 from ../../../mono/io-layer/wapi.h:20,
                 from ../../../mono/io-layer/atomic.h:25,
                 from ../../../mono/utils/lock-free-queue.c:55:
../../../mono/io-layer/mono-mutex.h:165: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘mono_mutex_t’
../../../mono/io-layer/mono-mutex.h:166: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘mono_cond_t’
In file included from ../../../mono/io-layer/wapi.h:20,
                 from ../../../mono/io-layer/atomic.h:25,
                 from ../../../mono/utils/lock-free-queue.c:55:
../../../mono/io-layer/critical-sections.h:25: error: expected
specifier-qualifier-list before ‘mono_mutex_t’
In file included from ../../../mono/io-layer/wapi.h:25,
                 from ../../../mono/io-layer/atomic.h:25,
                 from ../../../mono/utils/lock-free-queue.c:55:
../../../mono/io-layer/processes.h:172: warning: function declaration
isn’t a prototype
../../../mono/io-layer/processes.h:182: warning: function declaration
isn’t a prototype
make[4]: *** [lock-free-queue.lo] Error 1
make[4]: Leaving directory `/home/meh/work/mono/build-cross-wine/mono/utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/meh/work/mono/build-cross-wine/mono/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/meh/work/mono/build-cross-wine/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/meh/work/mono/build-cross-wine'
make: *** [all] Error 2


On Sun, May 1, 2011 at 1:51 PM, Mark Probst (mark.probst at gmail.com)
<mono-patches at lists.ximian.com> wrote:
>
>   Branch: refs/heads/master
>     Home: https://github.com/mono/mono
>
>   Commit: 67234d2111adde8fe647293d6f5b5bf181db3965
>   Author: Mark Probst <mark.probst at gmail.com>
>     Date: 05/01/2011 14:49:07
>      URL: https://github.com/mono/mono/commit/67234d2111adde8fe647293d6f5b5bf181db3965
>
> [utils] Added lock-free queue and allocator.
>
> Changed paths:
>  M mono/utils/Makefile.am
> Added paths:
>  A mono/utils/lock-free-alloc.c
>  A mono/utils/lock-free-alloc.h
>  A mono/utils/lock-free-queue.c
>  A mono/utils/lock-free-queue.h
>
<snip>


More information about the Mono-devel-list mailing list