Re: [Gc]: Late definition of feature macro in dyn_load.c

Ivan Maidanski ivmai at
Tue Oct 20 14:37:59 PDT 2009

Petter Urkedal <urkedal at> wrote:
> I currently get a compilation error on Linux due to dl_phdr_info being
> used undefined in dyn_load.c.  The reason is that the inclusion of
> private/gc_priv.h, which includes the required system header, is placed
> after the definition of the _GNU_SOURCE feature macro.
> * dyn_load.c: Move inclusion of private/gc_priv.h below definition of
> feature macro.
> diff --git a/dyn_load.c b/dyn_load.c
> ...

Thanks. You are just in time - I was trying to understand why make check failed at that time.


More information about the Gc mailing list