stable test failures
Ian Lynagh
igloo at earth.li
Mon Jun 9 04:43:08 EDT 2008
On Mon, Jun 09, 2008 at 08:08:08AM +0200, Thorkil Naur wrote:
>
> On Monday 09 June 2008 00:18, Ian Lynagh wrote:
> > ...
> > If you send us the your /usr/include/dlfcn.h (which should #define
> > RTLD_DEFAULT), /usr/include/time.h and /usr/include/sys/time.h (one of
> > which should give a prototype for gettimeofday) then hopefully we can
> > see a way around it.
>
> Attached, both for 10.4 and 10.5.
Great, thanks. I've pushed a patch to define _DARWIN_C_SOURCE in Stg.h,
which should fix at least some of the problems for 10.5, which has the
RTLD_NEXT #define inside
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
Unfortunately in 10.4 it's inside just
#ifndef _POSIX_C_SOURCE
so we can't do that. I guess we could not define _POSIX_C_SOURCE on OS
X, and pray that nothing else breaks as a result.
I wonder why Manuel didn't run into this; I'd expect it to be the same
on i386.
Thanks
Ian
More information about the Cvs-ghc
mailing list