NetBSD Problem Report #45716
From dholland@netbsd.org Fri Dec 16 14:51:34 2011
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0DCA863D9CE
for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 Dec 2011 14:51:34 +0000 (UTC)
Message-Id: <20111216145136.52AA214A1A9@mail.netbsd.org>
Date: Fri, 16 Dec 2011 14:51:36 +0000 (UTC)
From: dholland@NetBSD.org
Reply-To: dholland@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: emacs (various versions) dies on unwind stuff in gcc 4.5
X-Send-Pr-Version: 3.95
>Number: 45716
>Category: pkg
>Synopsis: emacs (various versions) dies on unwind stuff in gcc 4.5
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: dholland
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 16 14:55:00 +0000 2011
>Closed-Date: Mon Sep 02 15:00:39 +0000 2019
>Last-Modified: Sun Oct 04 20:28:14 +0000 2020
>Originator: David A. Holland
>Release: NetBSD current
>Organization:
>Environment:
n/a
>Description:
When built with gcc 4.5, multiple versions of emacs die during build
(temacs receives SIGSEGV) due to something bogus going on in unwind
handling.
Christos committed a workaround to NetBSD HEAD in October so this
problem is not live, but it ought to be investigated to figure out if
emacs or gcc or NetBSD or what is at fault.
I'm not clear at the moment on whether this is an amd64-specific issue
or not.
>How-To-Repeat:
Revert Christos's workaround (Christos should please forward the
necessary info to this PR) and build emacs. emacs20 is smallest and we
believe it's affected; but this hasn't actually been confirmed yet.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Fri, 16 Dec 2011 15:00:52 +0000
Responsible-Changed-Why:
I will look into it (at some point)
From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45716 CVS commit: pkgsrc/editors/mule
Date: Mon, 19 Dec 2011 21:36:08 +0000
Module Name: pkgsrc
Committed By: ryoon
Date: Mon Dec 19 21:36:08 UTC 2011
Modified Files:
pkgsrc/editors/mule: Makefile distinfo
pkgsrc/editors/mule/patches: patch-ad
Log Message:
Try to fix build.
* Merge checks in emacs20's patch-ab. Fix PR pkg/45669 like problem.
* Now I have gotten temacs sagfault, maybe related to PR pkg/45716.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/editors/mule/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/editors/mule/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/editors/mule/patches/patch-ad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45716 CVS commit: src/external/gpl3/gcc/dist/libgcc
Date: Wed, 20 Aug 2014 09:29:08 -0400
Module Name: src
Committed By: christos
Date: Wed Aug 20 13:29:07 UTC 2014
Modified Files:
src/external/gpl3/gcc/dist/libgcc: unwind-dw2-fde.c
Log Message:
PR/45716: Anthony Mallet: emacs (various versions) dies on unwind stuff in gcc 4.8
Apply fix that got missed as this file got moved from dist/gcc to dist/libgcc:
Somehow emacs tries to unregister frame info for a symbol it did not register.
Don't abort for now. This worked before because the previous version of gcc
did not bother unregistering. Adding debugging printfs makes emacs core
dump, where other programs work fine.
XXX: pullup 7
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/libgcc/unwind-dw2-fde.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/45716
Date: Wed, 21 Sep 2016 17:34:19 +0000
Hi
This is still happening in NetBSD-current with gcc 5.4, see pkg/51439
Is a similar fix needed again?
State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 29 Dec 2018 08:00:07 +0000
State-Changed-Why:
What's the status of this?
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/45716 (emacs (various versions) dies on unwind stuff in gcc
4.5)
Date: Tue, 1 Jan 2019 18:35:53 +0000
On Sat, Dec 29, 2018 at 08:00:07AM +0000, maya@NetBSD.org wrote:
> State-Changed-From-To: open->feedback
> State-Changed-By: maya@NetBSD.org
> State-Changed-When: Sat, 29 Dec 2018 08:00:07 +0000
> State-Changed-Why:
> What's the status of this?
I don't know. You were the last to comment...
--
David A. Holland
dholland@netbsd.org
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/45716 (emacs (various versions) dies on unwind stuff in gcc
4.5)
Date: Tue, 1 Jan 2019 18:54:47 +0000
51439 is unrelated.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/45716 (emacs (various versions) dies on unwind stuff in gcc
4.5)
Date: Tue, 1 Jan 2019 20:21:35 +0000
On Tue, Jan 01, 2019 at 07:00:01PM +0000, coypu@sdf.org wrote:
> 51439 is unrelated.
This one remains open because it ought to be fixed in emacs, not in
the base toolchain.
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: feedback->Closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 02 Sep 2019 15:00:39 +0000
State-Changed-Why:
the other bug was another issue. assuming fix, emacs works.
State-Changed-From-To: Closed->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 04 Oct 2020 20:28:14 +0000
State-Changed-Why:
use valid state names :-)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.