pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53180: lang/sbcl does not bootstrap with the default clisp



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

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index