NetBSD Problem Report #51985

From www@NetBSD.org  Sun Feb 19 11:33:04 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A4ABF7A1FD
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Feb 2017 11:33:04 +0000 (UTC)
Message-Id: <20170219113303.837BF7A291@mollari.NetBSD.org>
Date: Sun, 19 Feb 2017 11:33:03 +0000 (UTC)
From: org.netbsd@pooryorick.com
Reply-To: org.netbsd@pooryorick.com
To: gnats-bugs@NetBSD.org
Subject: xemacs - build hangs at update-elc.el
X-Send-Pr-Version: www-1.0

>Number:         51985
>Category:       pkg
>Synopsis:       xemacs - build hangs at update-elc.el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hauke
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 19 11:35:00 +0000 2017
>Closed-Date:    Mon Jul 17 19:51:44 +0000 2017
>Last-Modified:  Mon Jul 17 19:51:44 +0000 2017
>Originator:     Poor Yorick
>Release:        2016Q4
>Organization:
>Environment:
Linux xxx 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
>Description:
building xemacs with gcc5, build hangs at

    ./xemacs -nd -batch -l /tmp/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/../lisp/update-elc.el

In <https://bugs.gentoo.org/show_bug.cgi?id=75028>, the problem is diagnosed as
being due to a compatibility issue with PIE, and indeed, adding -fno-pie to
CFLAGS resulted in a succesfull build.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->hauke
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 19 Feb 2017 14:13:01 +0000
Responsible-Changed-Why:
Mine, I guess (and make URL clickable).


From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51985: xemacs - build hangs at update-elc.el
Date: Sun, 19 Feb 2017 17:25:53 +0100

 On Sun, 19 Feb 2017 14:40:43 +0000, Sevan Janiyan wrote:
 > I also observed this on my recent bulk builds of pkgsrc-current with
 > Ubuntu on POWER8, [...]

 Here, too: Which gcc? The platform's, or a pkgsrc-built one?

 And there's also the latest editors/xemacs/Makefile commit comment:

 revision 1.117
 date: 2016-12-31 00:27:14 +0100;  author: wiz;  state: Exp;  lines: +6 
 -106;  commitid: K9bU5XocwJYu24Az;
 Fix options framework abuse by xemacs-nox11/xemacs.

 Partially tested, xemacs-nox11 hangs during build with 99% CPU for me.

State-Changed-From-To: open->closed
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Mon, 17 Jul 2017 19:51:44 +0000
State-Changed-Why:
I have seen this, and fixed it by switching from the xemacs packaged 
malloc to the system malloc. Upstream confirmed that the packaged 
malloc has not seen much love in a long time, and should not be used.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.