NetBSD Problem Report #51217

From bjjl@rpi.pocketservices.de  Sun Jun  5 08:57:54 2016
Return-Path: <bjjl@rpi.pocketservices.de>
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 2827E7A494
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  5 Jun 2016 08:57:54 +0000 (UTC)
Message-Id: <20160605074237.89F286B0EF@rpi.pocketservices.de>
Date: Sun,  5 Jun 2016 09:42:37 +0200 (CEST)
From: netbsd@benjaminlorenz.email
To: gnats-bugs@NetBSD.org
Subject: lang/nodejs should be configured --without-snapshot for evbarm
X-Send-Pr-Version: 3.95

>Number:         51217
>Category:       pkg
>Synopsis:       lang/nodejs should be configured --without-snapshot for evbarm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 05 09:00:00 +0000 2016
>Last-Modified:  Mon Oct 31 05:15:01 +0000 2016
>Originator:     Benjamin Lorenz
>Release:        NetBSD 7.0.1
>Organization:

>Environment:


System: NetBSD rpi.pocketservices.de 7.0.1 NetBSD 7.0.1 (RPI) #1: Sat Jun 4 10:37:02 CEST 2016 root@rpi.pocketservices.de:/usr/obj/sys/arch/evbarm/compile/RPI evbarm
Architecture: earm
Machine: evbarm
>Description:
Build process of nodejs fails at the point where mksnapshot is called (SIGSEGV).

>How-To-Repeat:
Use an RPI and the latest patched version of nodejs 6.2.0 from pkgsrc
cd pkgsrc/lang/nodejs; make
wait some hours, see the SIGSEGV


>Fix:
adding --without-snapshot seems to help. Looks like a bug in the current
V8 implementation. Maybe we can also find the root problem. Using snapshots
would be greatly beneficial especially on a slow platform like the RPI.


>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/51217: lang/nodejs should be configured --without-snapshot
 for evbarm
Date: Mon, 31 Oct 2016 05:04:55 +0000

 What version ARM processor is this? What version of ARM processor
 does the package think it is?
 I seem to recall something about synchronization primitives in
 ARMv6 and below being problematic.

From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/51217: lang/nodejs should be configured --without-snapshot
 for evbarm
Date: Mon, 31 Oct 2016 05:11:18 +0000

 Is this failing in compilation or at runtime?.. I'm confused
 If at build, is it running out of memory? (should show up in dmesg)

>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.