bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#20614: Segmentation fault when building on Power8 Little Endian


From: Eli Zaretskii
Subject: bug#20614: Segmentation fault when building on Power8 Little Endian
Date: Thu, 01 Oct 2015 15:22:03 +0300

> From: Petr Hracek <phracek@redhat.com>
> Date: Thu, 1 Oct 2015 13:53:14 +0200
> 
> Some update regarding this bug.
> I have add some defines like:
> $ cat emacs-segment-bss.patch
> diff --git a/src/unexelf.c b/src/unexelf.c
> index d365940..55d7ba6 100644
> --- a/src/unexelf.c
> +++ b/src/unexelf.c
> @@ -846,7 +846,7 @@ unexec (const char *new_name, const char *old_name)
>         if ((OLD_SECTION_H (old_bss_index)).sh_addralign > alignment)
>       alignment = OLD_SECTION_H (old_bss_index).sh_addralign;
> 
> -#ifdef __sgi
> +#if defined __sgi || defined __ppc64le__ || defined __ppc64__
>         /* According to r02kar@x4u2.desy.de (Karsten Kuenne)
>            and oliva@gnu.org (Alexandre Oliva), on IRIX 5.2, we
>            always get "Program segment above .bss" when dumping
> $
> 
> Here is a full backtrace executed on PPC64LE

Thanks.  Can you repeat this in an unoptimized build?  Otherwise the
backtrace cannot be trusted (and makes little sense).





reply via email to

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