[Crash-utility] [PATCH] Fix C99 compatibility issues in embedded copy of GDB

HAGIO KAZUHITO(萩尾 一仁) k-hagio-ab at nec.com
Mon Mar 6 07:09:48 UTC 2023


On 2023/03/02 18:08, lijiang wrote:

> This looks good to me with the above modifications. So: Ack.

Thanks, but I found a build failure on a RHEL7 machine:

   CC       malloc/scratch_buffer_grow.o
In file included from ./libc-config.h:159:0,
                  from malloc/scratch_buffer_grow.c:20:
./cdefs.h:562:31: fatal error: bits/long-double.h: No such file or directory
  # include <bits/long-double.h>
                                ^
compilation terminated.
...

and found that the following gnulib patch fixes the above, so
I added the libc-config.h hunk to the attached.

https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=afeeb21058d1

Is this ok too?  It's helpful if you could test again.

Thanks,
Kazu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-C99-compatibility-issues-in-embedded-copy-of-GDB.patch
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20230306/ef682cf4/attachment-0001.ksh>


More information about the Crash-utility mailing list