From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5173 invoked by alias); 24 Jan 2013 14:59:32 -0000 Received: (qmail 5110 invoked by uid 22791); 24 Jan 2013 14:59:31 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_DW 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, 24 Jan 2013 14:59:21 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0OExKpU032730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Jan 2013 09:59:20 -0500 Received: from host2.jankratochvil.net (ovpn-116-88.ams2.redhat.com [10.36.116.88]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0OExEEw009373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 24 Jan 2013 09:59:18 -0500 Date: Thu, 24 Jan 2013 14:59:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: gdb-patches@sourceware.org, tromey@redhat.com, ccoutant@google.com, saugustine@google.com Subject: Regressions with dwz [Re: [RFA] Work around binutils/15021] Message-ID: <20130124145914.GA32002@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00592.txt.bz2 On Thu, 17 Jan 2013 00:21:29 +0100, Doug Evans wrote: > Regression tested with gdb-generated .gdb_index version 7 (by hacking the > gdb-under-test to generate version 7), version 8, with dwz, and with gold. ceb4ee95539d6324ca0f307ba729ea660ed5d1bd is the first bad commit commit ceb4ee95539d6324ca0f307ba729ea660ed5d1bd Author: Doug Evans Date: Wed Jan 23 18:47:47 2013 +0000 Work around binutils/15021. * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and type_unit_group out of union s. All uses updated. (read_index_from_section): Watch for index version 8. (follow_die_sig): If using .gdb_index version <= 7, record the TU as an imported symtab. (write_psymtabs_to_index): Increment version number to 8. doc/ * gdb.texinfo (Index Section Format): Document .gdb_index version 8. Running ./gdb.cp/namespace.exp ... FAIL: gdb.cp/namespace.exp: whatis C::cOtherFileType FAIL: gdb.cp/namespace.exp: whatis ::C::cOtherFileType FAIL: gdb.cp/namespace.exp: print AAA::ALPHA Running ./gdb.cp/derivation.exp ... FAIL: gdb.cp/derivation.exp: ptype A::value_type FAIL: gdb.cp/derivation.exp: whatis A::value_type FAIL: gdb.cp/derivation.exp: p (A::value_type) 0 FAIL: gdb.cp/derivation.exp: ptype D::value_type FAIL: gdb.cp/derivation.exp: whatis D::value_type FAIL: gdb.cp/derivation.exp: p (D::value_type) 0 FAIL: gdb.cp/derivation.exp: ptype E::value_type FAIL: gdb.cp/derivation.exp: whatis E::value_type FAIL: gdb.cp/derivation.exp: p (E::value_type) 0 FAIL: gdb.cp/derivation.exp: ptype F::value_type FAIL: gdb.cp/derivation.exp: whatis F::value_type FAIL: gdb.cp/derivation.exp: p (F::value_type) 0 FAIL: gdb.cp/derivation.exp: ptype Z::value_type FAIL: gdb.cp/derivation.exp: whatis Z::value_type FAIL: gdb.cp/derivation.exp: p (Z::value_type) 0 FAIL: gdb.cp/derivation.exp: ptype ZZ::value_type FAIL: gdb.cp/derivation.exp: whatis ZZ::value_type FAIL: gdb.cp/derivation.exp: p (ZZ::value_type) 0 Running ./gdb.base/completion.exp ... FAIL: gdb.base/completion.exp: complete ptype enum some_ Reproducible on Fedora {18,Rawhide} x86_64 runtest-dwz: #! /bin/sh if [ -x ../gdb ];then export GDB="$PWD/../gdb -data-directory $PWD/../data-directory" fi exec runtest CC_FOR_TARGET=/bin/sh\ $PWD/../contrib/cc-with-tweaks.sh\ -m\ gcc CXX_FOR_TARGET=/bin/sh\ $PWD/../contrib/cc-with-tweaks.sh\ -m\ g++ "$@" $ runtest-dwz gdb.base/completion.exp gdb.cp/derivation.exp gdb.cp/namespace.exp Regards, Jan