public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Luis Machado <luis.machado@linaro.org>, gdb@sourceware.org
Subject: Re: Disable libctf?
Date: Tue, 17 Nov 2020 08:43:13 +0100	[thread overview]
Message-ID: <434d1a06-fa58-72a0-fbc3-f17898a00794@embedded-brains.de> (raw)
In-Reply-To: <fc7fc0ca-0ba0-f023-5db4-39fe6e4387f4@linaro.org>

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 
>> '/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gdb-119e99b-x86_64-freebsd12.1-1/build/libctf' 
>>
>> configure: WARNING: libdebuginfod is missing or unusable; some 
>> 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... 
>> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/lib/libexpat.a 
>>
>> 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 
>> tried to use --disable-libctf, but this didn't work.
>>
>
> Isn't the problem that GMP is missing? Or the pasted log may be 
> misleading.

Sorry, the problem had nothing to do with libctf. It seems GMP is now 
required to build GDB:

commit 1b4ac058f7daeb9bac9ab0e63a7e73535208dfef
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Sun Nov 15 03:08:40 2020 -0500

     gdb: Make GMP a required dependency for building GDB

     This commit modifies gdb's configure script to trigger an error
     if we cannot find a usable libgmp.

     For the record, making this a requirement was discussed in March 2018:
https://sourceware.org/pipermail/gdb-patches/2018-March/147373.html

     gdb/ChangeLog:

             * configure.ac: Generate an error if a usable GMP library
             could not be found.
             * configure: Regenerate.

-- 
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ünchen
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/


      reply	other threads:[~2020-11-17  7:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 21:37 Sebastian Huber
2020-11-16 21:44 ` Luis Machado
2020-11-17  7:43   ` Sebastian Huber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434d1a06-fa58-72a0-fbc3-f17898a00794@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=gdb@sourceware.org \
    --cc=luis.machado@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).