Thanks Gerd. This fixed the problem.

On Fri, May 4, 2012 at 8:57 AM, Gerd Stolpmann <i...@gerd-stolpmann.de>wrote:

> I fixed the eventfd problem. It should again work with glibc-2.5 (but I
> don't have a system where I can test it).
>
> Gerd
>
>
> > Hi
> >
> >
> > I'm trying to bootstrap GODI in a pretty adverse environment (Red Hat
> > 5.1).
> >
> > It used to work a few months ago but now it seems that "netsys" which is
> > built during bootstrap_stage2, needs header files and libraries from
> GLIBC
> > that are not in GLIBC 2.5.
> > (the first one to make it fail is <sys/eventfd.h>)
> >
> > But we have GLIBC 2.10 installed somewhere else.
> >
> > I have tried to use:
> >   export C_INCLUDE_PATH=$GLIBC_INC
> >   export LIBRARY_PATH=$GLIBC_LIB
> > and a bunch of combinations of LD_LIBRARY_PATH and LD_PRELOAD ...
> >
> > I tried them before, after, and between stage 1 and stage 2. But it never
> > succeeds (always differently: GLIBC version errors, seg-faults, "This
> > architecture seems to be neither 32 bits nor 64 bits").
> >
> >
> > does anyone have an idea of how to go through this?
> >
> >
> > I guess the normal thing to do is to use the 2.10 since the beginning but
> > in that case i don't know how tell godi's bootstrap stage1 to compile
> > ocamlfatrun & co with the right library (they crash looking for the 2.5
> > one).
> > It seems that every call to gcc should have something like  "
> >  -Wl,-rpath=$GLIBC_LIB
> > -Wl,-dynamic-linker=$GLIBC_LIB/ld-linux-x86-64.so.2
> >  " but I don't know how to tell the bootstrap to use that everywhere.
> >
> >
> >
> > Thanks for any help
> > Seb
> > _______________________________________________
> > Godi-list mailing list
> > Godi-list@ocaml-programming.de
> > https://godirepo.camlcity.org/mailman/listinfo/godi-list
>
>
> --
> Gerd Stolpmann, Darmstadt, Germany    g...@gerd-stolpmann.de
> Creator of GODI and camlcity.org.
> Contact details:        http://www.camlcity.org/contact.html
> Company homepage:       http://www.gerd-stolpmann.de
> *** Searching for new projects! Need consulting for system
> *** programming in Ocaml? Gerd Stolpmann can help you.
>
> _______________________________________________
> Godi-list mailing list
> Godi-list@ocaml-programming.de
> https://godirepo.camlcity.org/mailman/listinfo/godi-list
>
_______________________________________________
Godi-list mailing list
Godi-list@ocaml-programming.de
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to