On Fri, Jul 17, 2020 at 11:03:59AM -0400, Carlos O'Donell wrote:
On 7/17/20 10:40 AM, Richard W.M. Jones wrote:
> Here's my proposed patch:
>
> From 3907eae3e14087d741b1b1b10b3c42e9cb9b55a3 Mon Sep 17 00:00:00 2001
> From: "Richard W.M. Jones" <rjones(a)redhat.com>
> Date: Fri, 17 Jul 2020 15:36:24 +0100
> Subject: [PATCH] configure: Use AC_CHECK_DECLS to check for sys_errlist.
>
> On Fedora 33 (glibc 2.31.9000):
> checking for strerrordesc_np... yes
> checking whether sys_errlist is declared... no
>
> On RHEL 8 (glibc-2.28):
> checking for strerrordesc_np... no
> checking whether sys_errlist is declared... yes
>
> On RHEL 7 (glibc-2.17):
> checking for strerrordesc_np... no
> checking whether sys_errlist is declared... yes
>
> Note that we mustn't use #ifdef when testing HAVE_SYS_ERRLIST. This
> is because AC_CHECK_DECLS works differently from the other macros, as
> described here:
Do you mind if I clone some of this into here?
https://sourceware.org/glibc/wiki/Release/2.32#Packaging_Changes
The release notes try to collect packaging changes and suggestions
affect downstream.
Go ahead, no problem.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/