This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Problem during compiling glibc after my modification
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: ?? ???? <aretobo12 at hotmail dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 4 Jun 2004 10:37:46 -0400
- Subject: Re: Problem during compiling glibc after my modification
- References: <BAY14-F20Wc4Ct2VREd0001b7b2@hotmail.com>
On Sun, May 30, 2004 at 09:16:13AM +0000, ?? ???? wrote:
> Hello everyone!
> Who can tell me how to add global variables in the glibc source code? I
> have add them
> in the file:../sysdeps/generic/ldsorefs.h and define them in ../elf/rtld.c
> ,use them in the file :../elf/dl-load.c
> But when i compiled the source code i have gotten the following error
> message:
If the loader is doing something incorrect it will usually segfault in
the rpcgen phase because it's the first use of the loader in the build
phase.
Adding global variables is not trivial, and variables cannot in general
be accessed until after the loader has been relocated. I recommend you
purchase "loaders and linkers" http://linker.iecc.com/ as a first phase
to understanding how things work.
Cheers,
c.