GNU bug report logs - #20614
Segmentation fault when building on Power8 Little Endian

Previous Next

Package: emacs;

Reported by: Petr Hracek <phracek <at> redhat.com>

Date: Wed, 20 May 2015 07:59:01 UTC

Severity: important

Tags: patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Petr Hracek <phracek <at> redhat.com>
Cc: 20614 <at> debbugs.gnu.org
Subject: bug#20614: Segmentation fault when building on Power8 Little Endian
Date: Thu, 01 Oct 2015 15:22:03 +0300
> From: Petr Hracek <phracek <at> 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 <at> x4u2.desy.de (Karsten Kuenne)
>            and oliva <at> 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).




This bug report was last modified 9 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.