This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.3 not binary compatible with glibc-2.2.5

On Sat, Oct 05, 2002 at 01:14:13PM -0700, Christoph Lameter wrote:
> On Sat, 5 Oct 2002, Roland McGrath wrote:
> > Are those outputs really from the same run?  The addresses in your
> > disassembly do not fall in the range shown in your
> > /proc/*/maps.  The info shared output does not jibe.
> They are from different runs. Did not know that they had to be the same.
> >
> > If you start the program by running directly, then you can use
> > --library-path instead and not have the environment variable messing up
> > your gdbserver or whatever else might inherit it.  Look at the
> > script created in the libc build directory for how to give all the right
> > args, i.e. try sh -x .../ /bin/tar and then try the command line
> > you see it use.
> Ahh. Thanks for the library-path hint... I was able to produce the
> following error using gdb. Maybe we do not need to go through complex
> remote loopback debugging.:
> k2-400:/home/christoph/t# lib/ --library-path lib /bin/tar
> Segmentation fault
> k2-400:/home/christoph/t# lib/ --library-path lib /usr/bin/gdb
> /bin/tar

Doesn't work.  Then when gdb runs /bin/tar it will actually get

The easiest way to fix this is to just make a chroot with GDB in it...

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]