gdbserver, sysroot, prelink

Felix Lee
2004-10-04T17:37:38Z

if you use gdbserver to debug a program on a remote Fedora Core 2
machine, then you need to set solib-absolute-prefix to a copy of
the shared libraries from that specific machine. you can't use
generic FC2 shared libraries, because 'prelink' in nightly cron
does arbitrary relocation of shared libraries on each machine.

this probably affects any system that uses prelink; I haven't
tried any other than FC2.

I don't think there's anything that needs fixing. just pointing
out that configuring --with-sysroot is basically useless for any
system that uses prelink.
--