[Haskell-cafe] Why do ghc-built binaries use timer_create?

Bryan O'Sullivan bos at serpentine.com
Mon Jun 8 16:27:07 EDT 2009


On Mon, Jun 8, 2009 at 11:23 AM, Maurí­cio <briqueabraque at yahoo.com> wrote:

> This comes from an issue in haskell-beginner, although
> it have already been touched here. If you use recent
> versions of ghc to build a program and try the resulting
> binary on an old linux distro, you may get a message
> about timer_create receiving the wrong parameters.
>

For better or worse, this is something that people should not be trying in
the first place, and the problem you report is a representative example of
why. Taking code compiled on a new system and trying to run it on an old
system will often fail due to API or ABI incompatibilities. Sometimes those
failures are easy to see, as in your case; other times, they'll result in
more subtle problems. The timer_create issue is a bit of a red herring. If
it wasn't that, something else would probably break instead.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090608/5ed04160/attachment.html


More information about the Haskell-Cafe mailing list