bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] sigsegv: fix build on arceb


From: Bruno Haible
Subject: Re: [PATCH] sigsegv: fix build on arceb
Date: Sat, 16 Apr 2022 03:04:22 +0200

Hi,

Fabrice Fontaine wrote:
> Fix the following build failure on arceb with diffutils 3.8:
> sigsegv.c:979:28: error: 'struct vma_struct' has no member named 
> 'is_near_this'
> http://autobuild.buildroot.org/results/8c5b8b37eb3c2667c75666079b056df7e0023e05
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  m4/stack-direction.m4 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
> index 1df823e97..ddf7e80ff 100644
> --- a/m4/stack-direction.m4
> +++ b/m4/stack-direction.m4
> @@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
>        a29k | \
>        aarch64* | \
>        alpha* | \
> -      arc | \
> +      arc* | \
>        arm* | strongarm* | xscale* | \
>        avr | avr32 | \
>        bfin | \
> 

Thanks. Since config.sub and config.guess use 4 explicit variants
of 'arc', not a wildcard, I'm doing the same here:


2022-04-15  Bruno Haible  <bruno@clisp.org>

        sigsegv: Fix compilation error on arceb CPUs.
        Reported by Fabrice Fontaine <fontaine.fabrice@gmail.com> in
        <https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00028.html>.
        * m4/stack-direction.m4 (SV_STACK_DIRECTION): Treat the 'arc' variants
        like 'arc'.

diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
index 1df823e97f..924c5deb4e 100644
--- a/m4/stack-direction.m4
+++ b/m4/stack-direction.m4
@@ -1,4 +1,4 @@
-# stack-direction.m4 serial 10
+# stack-direction.m4 serial 11
 dnl Copyright (C) 2002-2022 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
       a29k | \
       aarch64* | \
       alpha* | \
-      arc | \
+      arc | arceb | arc32 | arc64 | \
       arm* | strongarm* | xscale* | \
       avr | avr32 | \
       bfin | \






reply via email to

[Prev in Thread] Current Thread [Next in Thread]