NetBSD Problem Report #53180

From hf@spg.tu-darmstadt.de  Fri Apr 13 11:20:02 2018
Return-Path: <hf@spg.tu-darmstadt.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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 40F4A7A1D0
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Apr 2018 11:20:02 +0000 (UTC)
Message-Id: <201804131117.w3DBHXXP004726@Gstoder.nt.e-technik.tu-darmstadt.de>
Date: Fri, 13 Apr 2018 13:17:33 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: lang/sbcl does not bootstrap with the default clisp
X-Send-Pr-Version: 3.95

>Number:         53180
>Category:       pkg
>Synopsis:       lang/sbcl does not bootstrap with the default clisp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 13 11:25:00 +0000 2018
>Last-Modified:  Mon Jul 13 20:09:08 +0000 2020
>Originator:     Hauke Fath
>Release:        NetBSD 8.0_BETA
>Organization:
Technische Universitaet Darmstadt
>Environment:


System: NetBSD Gstoder 8.0_BETA NetBSD 8.0_BETA (GA-MA770-UD3-$Revision$) #3: Wed Apr 11 12:41:30 CEST 2018 hf@Hochstuhl:/var/obj/netbsd-builds/8/amd64/sys/arch/amd64/compile/GA-MA770-UD3 amd64
Architecture: x86_64
Machine: amd64
>Description:

	lang/sbcl needs to be bootstrapped from a lisp, defaulting to
	lang/clisp. The build keeps chugging along for a while, then
	terminates with

[...]
obj/from-xc/src/code/sxhash.lisp-obj
obj/from-xc/src/pcl/walk.lisp-obj
; SB!Loader: (273+629+11081+163+13999) structs/consts/funs/methods/other
[building initial core file in "output/cold-sbcl.core": 
writing 0 bytes [0 pages] from #<SB!FASL::GSPACE @#x20000000 :READ-ONLY>
writing 32768 bytes [1 page] from #<SB!FASL::GSPACE @#x20100000 :STATIC>
writing 1638400 bytes [50 pages] from #<SB!FASL::GSPACE @#x20300000 :IMMOBILE-FIXEDOBJ>
writing 9895936 bytes [302 pages] from #<SB!FASL::GSPACE @#x21B00000 :IMMOBILE-VARYOBJ>
writing 27492352 bytes [839 pages] from #<SB!FASL::GSPACE @#x1000000000 :DYNAMIC>
/INITIAL-FUN=#X22406D2B
done]
Bye.
//testing for consistency of first and second GENESIS passes
//header files match between first and second GENESIS -- good
     2277.30 real      2261.31 user         2.24 sys
//entering make-target-2.sh
//doing warm init - compilation phase
mmap: Permission denied
ensure_space: failed to allocate 1048576 bytes at 0x20000000
(hint: Try "ulimit -a"; maybe you should increase memory limits.)
        0.00 real         0.00 user         0.00 sys
*** Error code 1

Stop.
make[1]: stopped in /amd/hochstuhl/public/pkgsrc/lang/sbcl
*** Error code 1

Stop.
make: stopped in /misc/pkgsrc/lang/sbcl
%

	The claimed memory exhaustion is not very plausible:

% limit
cputime      unlimited
filesize     unlimited
datasize     8388608 kbytes
stacksize    114688 kbytes
coredumpsize unlimited
memoryuse    6077484 kbytes
vmemoryuse   unlimited
descriptors  1024 
memorylocked 6077484 kbytes
maxproc      256 
maxthread    1024 
sbsize       unlimited
% df -h | grep /var/shm
tmpfs                           13G       4.0K        13G   0% /var/shm
%

	Updating sbcl to the current 1.4.6 did not make a difference.


>How-To-Repeat:

	Build lang/sbcl.


>Fix:
	Yes, please.



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->asau
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 08 Jul 2018 10:54:55 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: asau->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 13 Jul 2020 20:09:08 +0000
Responsible-Changed-Why:
Reset to role account


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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