Re: Disable libctf?

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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 <[email protected]>
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: [email protected]
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.