From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id E8026386F83C for ; Sat, 23 May 2020 16:29:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E8026386F83C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C0C891167F2; Sat, 23 May 2020 12:29:31 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id d1jZRak1uX1N; Sat, 23 May 2020 12:29:31 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 95D33116794; Sat, 23 May 2020 12:29:31 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id D97CE82CC9; Sat, 23 May 2020 09:29:29 -0700 (PDT) Date: Sat, 23 May 2020 09:29:29 -0700 From: Joel Brobecker To: Simon Marchi Cc: Chris Nicol , gdb@sourceware.org Subject: Re: gdb-9.1 Fails to build: "invalid cast to abstract class type" Message-ID: <20200523162929.GA28686@adacore.com> References: <052613da-fdbe-707b-3a52-da7ce437d424@uleth.ca> <1b20f6d8-9736-02d8-73dc-bc4843e36ed3@simark.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b20f6d8-9736-02d8-73dc-bc4843e36ed3@simark.ca> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 16:29:33 -0000 > This has been fixed by this commit: > > https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c6a42d11acf2d485bf70d76eda76fd005fcd6825 > > So if you use the master branch, you shouldn't see this error. > > GDB 9.2 (the bugfix release of 9.1) will be out soon, we could probably > cherry-pick that commit in that branch if that helps you. Thanks for the pointer, Simon. Looking at the patch, it looked obvious to me, so I created a PR for it, and then cherry-picked it in the gdb-9-branch. https://sourceware.org/bugzilla/show_bug.cgi?id=26029 -- Joel