From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id E61C73857C57 for ; Tue, 8 Sep 2020 17:43:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E61C73857C57 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-327-rNbw1Vi6NFuNZZo2hGnlAg-1; Tue, 08 Sep 2020 13:43:11 -0400 X-MC-Unique: rNbw1Vi6NFuNZZo2hGnlAg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 77E71425D4; Tue, 8 Sep 2020 17:43:10 +0000 (UTC) Received: from theo.uglyboxes.com (ovpn-115-46.phx2.redhat.com [10.3.115.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 970A6925BC; Tue, 8 Sep 2020 17:43:08 +0000 (UTC) Subject: Re: gdb 9.2 won't build To: Doug Abbott , gdb@sourceware.org References: <4d177e3a-4a2f-06e4-5b74-5ec982d45eda@intellimetrix.us> From: Keith Seitz Message-ID: Date: Tue, 8 Sep 2020 10:43:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <4d177e3a-4a2f-06e4-5b74-5ec982d45eda@intellimetrix.us> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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: Tue, 08 Sep 2020 17:43:24 -0000 On 9/8/20 9:59 AM, Doug Abbott wrote: > I tried the configure command shown in the wiki under building > natively, adding --disable-tui because that fixed a different > problem. I'm guessing I'm missing a library, but which one? Yes, you are definitely missing build dependencies. Since you're on CentOS 7, try running: # yum-builddep gdb > The reason I'm going through this exercise is that gdb 7.6 that comes > with CentOS 7 won't read the python support functions for KGDB. It > complains about "missing attribute COMPLETE_EXPRESSION". An alternative is to try a DTS (developer toolset) release: # yum install devtoolset-9-gdb DTS9 comes with GDB 8.3. DTS10 (when available) will be based on GDB 9.2. I am not very familiar with how the CentOS 7 software ecosystem works, so if bad comes to worse, you can attempt to manually install a build from the build system: https://cbs.centos.org/koji/packageinfo?packageID=7466 I'm sure there's probably some repo for that, but since I don't use CentOS 7, I don't know exactly what it is. Maybe https://wiki.centos.org/AdditionalResources/Repositories/SCL ? Keith