timer_create

Christian Maeder Christian.Maeder at dfki.de
Thu Mar 6 11:59:50 EST 2008


Hi,

my binary distribution
http://www.haskell.org/ghc/dist/6.8.2/maeder/ghc-6.8.2-i386-unknown-linux.tar.bz2
creates binaries that fail on some i386 linux boxes with:

timer_create: Invalid argument

I've built the distribution with
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
and the file lib/ghc-6.8.2/include/ghcautoconf.h contains:

#define HAVE_TIMER_CREATE 1

The failing machine uses gcc version 3.3.5 and ./configure within the
ghc-6.8.2 sources says:

checking for a working timer_create(CLOCK_REALTIME)... no

Take this as a warning when using my binary-dist above (or when building
your own).

Or is there a work around (apart from creating a new binary-dist using
ghc-6.6.1)?

Cheers Christian


More information about the Glasgow-haskell-users mailing list