From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20752 invoked by alias); 3 Sep 2009 14:24:52 -0000 Received: (qmail 20733 invoked by uid 22791); 3 Sep 2009 14:24:51 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_75,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Sep 2009 14:24:46 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n83EOhFU006224 for ; Thu, 3 Sep 2009 10:24:43 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n83EOf1k029926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 Sep 2009 10:24:43 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n83EOfcl032683; Thu, 3 Sep 2009 16:24:41 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n83EOeMR032682; Thu, 3 Sep 2009 16:24:40 +0200 Date: Thu, 03 Sep 2009 14:24:00 -0000 From: Jan Kratochvil To: Alex Bennee Cc: gdb@sourceware.org Subject: Re: Manually checking build id in elf files Message-ID: <20090903142440.GA32443@host0.dyn.jankratochvil.net> References: <20090903131100.GA27450@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) 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: 2009-09/txt/msg00041.txt.bz2 On Thu, 03 Sep 2009 15:45:32 +0200, Alex Bennee wrote: > My version is: > $ eu-readelf --version > readelf (Red Hat elfutils) 0.131 This version should already have the build-id support. > Which makes me wonder why gdb is allowing the load of the symbol file given: Explicit `symbol-file' command will load it as it can load arbitrary file for the symbols. Automatic finding of the associated separate debug info files (find_separate_debug_file) ignores any files with non-matching build-id or CRC32. > 1. There seems to be no build ID Yes, I think your mail has nothing to do with build-id. > 2. The CRC in the library doesn't match the CRC of the library.debug In the Bug it is shown libc has correct CRC32 but libcairo does not. Regards, Jan