[erlang-patches] R13A patches for os_mon on dragonfly

Mikael Pettersson <>
Sun Apr 5 17:48:27 CEST 2009

G.Isenmann writes:
 > Hi, would it be possible to include these small patches into R13B? I
 > believe they have no side effect on other platforms and improve the
 > situation on dragonfly.
 > CC dragonfly-users:
 >  - Have ignored other patches from wip/erlang that probably need
 >    modifications for dragonfly but which do not look so simple (e.g.
 >    for erts/emulator/sys/unix/sys_float.c).

I assume the sys_float.c stuff is related to FP exceptions on dragonfly.
You don't need FP exceptions if you ./configure --disable-hipe (which
should be the default since HiPE doesn't support that platform yet).

Enabling FP exceptions on a Unix-like OS involves writing sigaction()
handler code to inspect and modify the faulting mcontext. Unfortunately
that's an area where different OSes differ, so for OSes that we (as in
the Erlang/OTP and HiPE developers) don't have access to, it's up to the
users of those OSes to contribute the required code.

More information about the erlang-patches mailing list