public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Disable libctf?
@ 2020-11-16 21:37 Sebastian Huber
  2020-11-16 21:44 ` Luis Machado
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Huber @ 2020-11-16 21:37 UTC (permalink / raw)
  To: gdb

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.

-- 
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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disable libctf?
  2020-11-16 21:37 Disable libctf? Sebastian Huber
@ 2020-11-16 21:44 ` Luis Machado
  2020-11-17  7:43   ` Sebastian Huber
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Machado @ 2020-11-16 21:44 UTC (permalink / raw)
  To: Sebastian Huber, gdb

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disable libctf?
  2020-11-16 21:44 ` Luis Machado
@ 2020-11-17  7:43   ` Sebastian Huber
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Huber @ 2020-11-17  7:43 UTC (permalink / raw)
  To: Luis Machado, gdb

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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-17  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 21:37 Disable libctf? Sebastian Huber
2020-11-16 21:44 ` Luis Machado
2020-11-17  7:43   ` Sebastian Huber

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).