This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: "failed to find valid object file", but which object file? (using static libraries)


Daniel Jacobowitz wrote:
On Tue, Jun 26, 2007 at 10:47:12AM +0200, Bram Kuijper wrote:
Is there any way to find _which_ object file has failed to be read in?

One from memory, not from disk. Usually this will be linux-gate.so.1 or something like that; a virtual DSO provided by the kernel.

I'm not sure why it would fail. What platform and kernel version?


Ubuntu Gutsy Gibbon, 2.6.22-6-generic i686 GNU/Linux.


Since Gutsy Gibbon is still in beta, it might be indeed the cause of all trouble. Should I downgrade to a previous kernel version or is there any other solution?

by the way,
ldd ./program gives:
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7de1000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dba000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7dae000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c6a000)
        /lib/ld-linux.so.2 (0xb7eec000)


thanks, Bram


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