From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23641 invoked by alias); 26 Jun 2007 11:32:29 -0000 Received: (qmail 23632 invoked by uid 22791); 26 Jun 2007 11:32:28 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.rug.nl (HELO smtp1.rug.nl) (129.125.50.11) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 26 Jun 2007 11:32:26 +0000 Received: from smtp1.rug.nl ([129.125.50.11]) by smtp1.rug.nl (SMSSMTP 4.1.0.19) with SMTP id M2007062613322423237 for ; Tue, 26 Jun 2007 13:32:24 +0200 Received: from [129.125.177.235] (theobio36.biol.rug.nl [129.125.177.235]) by smtp1.rug.nl (8.12.11.20060308/8.12.11) with ESMTP id l5QBWNmG003869; Tue, 26 Jun 2007 13:32:23 +0200 (MEST) Message-ID: <4680F947.9000700@rug.nl> Date: Tue, 26 Jun 2007 11:32:00 -0000 From: Bram Kuijper User-Agent: Thunderbird 2.0.0.4 (X11/20070618) MIME-Version: 1.0 To: Bram Kuijper , gdb@sourceware.org Subject: Re: "failed to find valid object file", but which object file? (using static libraries) References: <4680D290.8020303@rug.nl> <20070626112126.GA19752@caradoc.them.org> In-Reply-To: <20070626112126.GA19752@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Report: Spam detection software on "smtp1.rug.nl". Questions: postmaster@rug.nl Content analysis details: (-4.0 points, 4.0 required) SUBJ_HAS_SPACES=0.973,USER_IN_WHITELIST=-5 ____ X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00296.txt.bz2 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