From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 1277B3857C73 for ; Tue, 17 Nov 2020 07:43:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1277B3857C73 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sebastian.huber@embedded-brains.de Received: from sslproxy01.your-server.de ([78.46.139.224]) by dedi548.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kevdz-0004W1-5e; Tue, 17 Nov 2020 08:43:15 +0100 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy01.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1kevdz-000J4z-2M; Tue, 17 Nov 2020 08:43:15 +0100 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 5FD592A1610; Tue, 17 Nov 2020 08:40:08 +0100 (CET) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xSQaumdhp578; Tue, 17 Nov 2020 08:40:08 +0100 (CET) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 07FFB2A165B; Tue, 17 Nov 2020 08:40:08 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5xIKEp_wDqrM; Tue, 17 Nov 2020 08:40:07 +0100 (CET) Received: from shuber-nb-linux.eb.localhost (unknown [10.10.171.18]) by mail.embedded-brains.de (Postfix) with ESMTPSA id D248B2A1610; Tue, 17 Nov 2020 08:40:07 +0100 (CET) Subject: Re: Disable libctf? To: Luis Machado , gdb@sourceware.org References: <7030958c-b67e-4d12-8c1d-938f5cabbebf@embedded-brains.de> From: Sebastian Huber Message-ID: <434d1a06-fa58-72a0-fbc3-f17898a00794@embedded-brains.de> Date: Tue, 17 Nov 2020 08:43:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.102.4/25990/Mon Nov 16 14:19:13 2020) X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, NICE_REPLY_A, 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, 17 Nov 2020 07:43:21 -0000 On 16/11/2020 22:44, Luis Machado wrote: > On 11/16/20 6:37 PM, Sebastian Huber wrote: >> Hello, >> >> a recent change broke the GDB build on my FreeBSD test machine: >> >> gmake[2]: Leaving directory=20 >> '/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gdb-11= 9e99b-x86_64-freebsd12.1-1/build/libctf'=20 >> >> configure: WARNING: libdebuginfod is missing or unusable; some=20 >> features may be unavailable. >> checking libunwind-ia64.h usability... no >> [...] >> checking for library containing dlopen... none required >> checking whether to use expat... yes >> checking for libexpat... yes >> checking how to link with libexpat...=20 >> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aa= rch64/usr/local/rtems/6/lib/libexpat.a=20 >> >> checking for XML_StopParser... yes >> checking for libgmp... no >> configure: error: GMP is missing or unusable >> >> I guess I don't need libctf to debug non-Linux embedded systems? I=20 >> tried to use --disable-libctf, but this didn't work. >> > > Isn't the problem that GMP is missing? Or the pasted log may be=20 > misleading. Sorry, the problem had nothing to do with libctf. It seems GMP is now=20 required to build GDB: commit 1b4ac058f7daeb9bac9ab0e63a7e73535208dfef Author: Joel Brobecker Date:=C2=A0=C2=A0 Sun Nov 15 03:08:40 2020 -0500 =C2=A0=C2=A0=C2=A0 gdb: Make GMP a required dependency for building GDB =C2=A0=C2=A0=C2=A0 This commit modifies gdb's configure script to trigge= r an error =C2=A0=C2=A0=C2=A0 if we cannot find a usable libgmp. =C2=A0=C2=A0=C2=A0 For the record, making this a requirement was discuss= ed in March 2018: https://sourceware.org/pipermail/gdb-patches/2018-March/147373.html =C2=A0=C2=A0=C2=A0 gdb/ChangeLog: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * con= figure.ac: Generate an error if a usable GMP library =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 could= not be found. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * con= figure: Regenerate. --=20 embedded brains GmbH Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.huber@embedded-brains.de Phone: +49-89-18 94 741 - 16 Fax: +49-89-18 94 741 - 08 PGP: Public key available on request. embedded brains GmbH Registergericht: Amtsgericht M=C3=BCnchen Registernummer: HRB 157899 Vertretungsberechtigte Gesch=C3=A4ftsf=C3=BChrer: Peter Rasmussen, Thomas= D=C3=B6rfler Unsere Datenschutzerkl=C3=A4rung finden Sie hier: https://embedded-brains= .de/datenschutzerklaerung/