This is the mail archive of the
mailing list for the GDB project.
Re: "failed to find valid object file", but which object file? (using static libraries)
- From: Bram Kuijper <a dot l dot w dot kuijper at rug dot nl>
- To: Bram Kuijper <a dot l dot w dot kuijper at rug dot nl>, gdb at sourceware dot org
- Date: Tue, 26 Jun 2007 13:32:23 +0200
- Subject: Re: "failed to find valid object file", but which object file? (using static libraries)
- References: <4680D290.email@example.com> <20070626112126.GA19752@caradoc.them.org>
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
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)