[Mono-dev] [PATCH 00/12] Port Mono to Haiku/x86

Andreas Färber andreas.faerber at web.de
Fri Mar 26 09:29:53 EDT 2010


From: Andreas Faerber <andreas.faerber at web.de>

Hello,

With this series of patches I am able to bootstrap Mono on x86 Haiku,
the Open Source successor to the BeOS.

~> uname -a
Haiku haiku2 1 r35945 Mar 20 2010 14:15:39 BePC Haiku

I am configuring --with-gc=none for now and --with-glib=embedded, and
using GCC 4.3.3 and monolite.

Haiku does not support SA_SIGINFO but BeOS' "intermediate" form of signal
handlers, providing register context but no signal info such as the
address of a SIGSEGV.

Simple programs run fine, including p/invokes into Interface Kit (libbe).
`make rcheck` crashes during the exceptions.exe test with an empty stack
trace.

Patches are designed to be mostly independent of each other and their
order. Please review which ones may be applied and whether you have
suggestions for improvements. Thanks!

Regards,
Andreas

Andreas Färber (12):
  configure: Add support for Haiku
  configure: Don't hardcode libm dependency
  config: Add support for Haiku
  mini: Add support for BeOS-style signal handlers
  mini: Fix unguarded uses of siginfo_t
  Handle lack of SA_SIGINFO
  io-layer: Define makedev for Haiku
  serial: Various workarounds for Haiku
  console-unix: Workaround FIONREAD ioctl for Haiku
  eglib: Workaround hardcoded library dependencies for Haiku
  configure: Fix linking against eglib
  null-gc: Fix function name

 ChangeLog                    |    6 ++++++
 configure.in                 |   32 ++++++++++++++++++++++++++++++--
 eglib/src/Makefile.am        |    2 +-
 eglib/test/Makefile.am       |    2 +-
 mono/io-layer/processes.c    |    3 +++
 mono/metadata/ChangeLog      |   12 ++++++++++++
 mono/metadata/console-unix.c |   40 ++++++++++++++++++++++++++++++----------
 mono/metadata/mono-config.c  |    2 ++
 mono/metadata/null-gc.c      |    2 +-
 mono/mini/ChangeLog          |   21 +++++++++++++++++++++
 mono/mini/mini-posix.c       |   15 +++++++++++++--
 mono/mini/mini-x86.c         |    8 ++++++++
 mono/mini/mini-x86.h         |   18 ++++++++++++++++++
 mono/mini/mini.h             |    6 ++++++
 support/serial.c             |   17 +++++++++++++++++
 15 files changed, 169 insertions(+), 17 deletions(-)



More information about the Mono-devel-list mailing list