[Mono-dev] Include pthread.h in mono/utils/gc_wrapper.h and kill bash in web/mono-build.sh

2010-04-04 Thread Robert Nagy
Index: mono/utils/gc_wrapper.h === --- mono/utils/gc_wrapper.h (revision 154762) +++ mono/utils/gc_wrapper.h (working copy) @@ -33,6 +33,14 @@ # endif # endif + /* +* In the case of multithreaded

Re: [Mono-dev] Include pthread.h in mono/utils/gc_wrapper.h and kill bash in web/mono-build.sh

2010-04-04 Thread Andreas Färber
Hi, Am 04.04.2010 um 15:03 schrieb Robert Nagy: Index: mono/utils/gc_wrapper.h === --- mono/utils/gc_wrapper.h (revision 154762) +++ mono/utils/gc_wrapper.h (working copy) @@ -33,6 +33,14 @@ # endif # endif

Re: [Mono-dev] [PATCH 0/2] Cosmetic fixes for configure

2010-04-04 Thread Andreas Färber
Am 04.04.2010 um 02:55 schrieb Andreas Färber: Here are two small patches to clean up configure output. Okay to commit? Thanks, applied to trunk in r154764 and r154765. Typo fix applied to 2.6 in r154766 and to 2.4 in r154767. Andreas Andreas Färber (2): configure: Fix typo

[Mono-dev] fix load_modules() on OpenBSD

2010-04-04 Thread Robert Nagy
Hi Zoltan, can you please commit the following fix because I've fucked the start and end addresses up. It also adds a debug printf. Thanks Index: io-layer/processes.c === --- io-layer/processes.c(revision 154762) +++

Re: [Mono-dev] fix load_modules() on OpenBSD

2010-04-04 Thread Zoltan Varga
Done. Zoltan On Sun, Apr 4, 2010 at 9:03 PM, Robert Nagy rob...@openbsd.org wrote: Hi Zoltan, can you please commit the following fix because I've fucked the start and end addresses up. It also adds a debug printf. Thanks Index: io-layer/processes.c

[Mono-dev] -lgc is needed in ldflags if using boehm-gc

2010-04-04 Thread Robert Nagy
Hey -lgc has to be added to libmono_ldflags for example to get it in the pkg-config file so that mkbundle and others will work. Index: configure.in === --- configure.in(revision 154771) +++ configure.in(working copy)

Re: [Mono-dev] -lgc is needed in ldflags if using boehm-gc

2010-04-04 Thread Zoltan Varga
Commited. Zoltan On Sun, Apr 4, 2010 at 10:08 PM, Robert Nagy rob...@openbsd.org wrote: Hey -lgc has to be added to libmono_ldflags for example to get it in the pkg-config file so that mkbundle and others will work. Index: configure.in

[Mono-dev] [PATCH v5 0/7] Port Mono to Haiku/x86, round #5

2010-04-04 Thread Andreas Färber
Hello, The soft debugger patch has been fixed to enable it on Windows, too. The processes patch has been rebased onto Robert Nagy's OpenBSD changes. The SA_SIGINFO patch has been simplified in terms of the #ifdefs it introduces, by simply defining it - it's a pity no one suggested that earlier.

[Mono-dev] [PATCH v2 1/7] configure: Don't hardcode libm dependency

2010-04-04 Thread Andreas Färber
Haiku has math functions in libroot.so and no libm.so. v1 - v2: * Use autoconf check instead of platform-based switch This commit is licensed under the MIT X11 license. --- configure.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index

[Mono-dev] [PATCH v4 4/7] io-layer: Fix process helper functions for Haiku

2010-04-04 Thread Andreas Färber
Haiku has neither makedev nor /proc. Enumerate processes, process modules and retrieve the process name via Kernel Kit. Fixes build on Haiku. Adjust _WAPI_PROCESS_UNHANDLED_PID_MASK to cope with Haiku's 32-bit pid_t. Fixes exception trying to obtain the ProcessName of pids = 2^15. v3 - v4: *

[Mono-dev] [FYI v2 5/7] serial: Stub implementation for Haiku

2010-04-04 Thread Andreas Färber
Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. v1 - v2: * Provide a separate implementation that might be sourced out as serial-null.c This commit is licensed under the MIT X11 license. --- support/serial.c | 72

[Mono-dev] [RFC 7/7] configure: Fix linking against eglib

2010-04-04 Thread Andreas Färber
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm and need for libiconv. This commit is licensed under the MIT X11 license. --- configure.in |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 5e34fc4..5033bfe

[Mono-dev] [PATCH v2 6/7] eglib: Fix hardcoded library dependencies for Haiku

2010-04-04 Thread Andreas Färber
Haiku neither has libm nor libdl. On Mac OS X, libm.dylib is just a symlink to libSystem.dylib. Introduce autoconf checks for these libraries. v1 - v2: * Add checks for libm and libdl. This commit is licensed under the MIT X11 license. --- eglib/ChangeLog|8

[Mono-dev] [RFC v5 3/7] Handle lack of SA_SIGINFO on Haiku

2010-04-04 Thread Andreas Färber
SA_SIGINFO-style signals were part of the POSIX.1-2006 optional Real Time Signals (XSI RTS) feature. Haiku does not implement it (yet) and goes so far as to not define SA_SIGINFO to indicate lack thereof. In POSIX.1-2008 they're no longer optional. Define SA_SIGINFO for Haiku, to avoid a forest

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Robert Nagy
That will kill softdebug support everywhere where MONO_ARCH_USE_SIGACTION is not defined. That includes OpenBSD and FreeBSD. On (2010-04-05 01:52), Andreas Färber wrote: The x86 soft debugger depends on siginfo_t outside Windows. So if we're neither building for Windows nor using

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Zoltan Varga
Looks ok. Zoltan On Mon, Apr 5, 2010 at 1:52 AM, Andreas Färber andreas.faer...@web.dewrote: The x86 soft debugger depends on siginfo_t outside Windows. So if we're neither building for Windows nor using SA_SIGINFO-style signal handlers, don't enable the soft debugger. Fixes the

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Robert Nagy
Bah nevermind. Ignore my previous mail please, I was on drugs... On (2010-04-05 02:01), Robert Nagy wrote: That will kill softdebug support everywhere where MONO_ARCH_USE_SIGACTION is not defined. That includes OpenBSD and FreeBSD. On (2010-04-05 01:52), Andreas Färber wrote: The x86 soft

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Andreas Färber
Am 05.04.2010 um 02:01 schrieb Robert Nagy: That will kill softdebug support everywhere where MONO_ARCH_USE_SIGACTION is not defined. That includes OpenBSD and FreeBSD. To my understanding, either you have signal handlers with siginfo_t parameter and need to define

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Andreas Färber
Am 05.04.2010 um 02:05 schrieb Zoltan Varga: Looks ok. Thanks, applied to trunk in r154778, with the following poem dedicated to the BSD addicts among us. ;) So soft it might break Be Open for Berkeley But not for poets Andreas On Mon, Apr 5, 2010 at 1:52 AM, Andreas Färber

Re: [Mono-dev] Test Suite Failures, Revision 2

2010-04-04 Thread Atsushi Eno
Hey Jonathan, Thanks for heads up. On 2010/04/02 2:26, Jonathan Pobst wrote: -- test-System_ServiceModel -- 6 sporadic timeouts started in r154243 (Gonzalo) http://build.mono-project.com/GetFile.aspx?id=2257888 Gonzalo, tell me if you got some fixes. I'll stick to r154237 so far (after